Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to show urxvt's name in windowlist?
Date: Mon, 30 Apr 2007 08:16:01
Message-Id: 200704300824.40783.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] how to show urxvt's name in windowlist? by "Boyd Stephen Smith Jr."
1 On Monday 30 April 2007 02:38, Boyd Stephen Smith Jr. wrote:
2 > On Sunday 29 April 2007 19:25:21 anhnmncb wrote:
3 > > hello, list:
4 > > when I assign a name to urxvt and run it:
5 > > urxvt -name foo -e bash -c "foo"
6 > > why the windowlist still show "user@domain: pwd"? I expect it should
7 > > show "foo".
8 >
9 > Sounds like you have characters in your prompt and/or prompt-command that
10 > are setting the X window title.
11 >
12 > > What should I do?
13 >
14 > Remove those characters.
15 >
16 > > I appreciate any suggestion and advice.
17 >
18 > You might want to try the urxvt support forums/mailinglist/whatever; this
19 > doesn't sound like a Gentoo-specific problem. That said, I'm sure someone
20 > will help you out here, IF they can.
21
22 You can set the appropriate PS1 characters/parameters in your .bashrc file,
23 which urxvt should run when it comes up (assuming that urxvt is running a
24 bash cell). I remember an article in wiki about this and I am sure there are
25 a few listed in Google - have a look and if you don't find it get back to us.
26
27 If you can hack the engine room approach for the basics without your eyes
28 glazing over have a look at man bash - you are looking for the section
29 PROMPTING, 2000+ lines down the page.
30
31 HTH.
32 --
33 Regards,
34 Mick