Re: No window names in the taskbar ? (pX)
"Neil Shephard" <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
> Now something has been bugging me ever since the begginning : I'm using
> the init file to launch two ATerm windows, one as user, the other as su
> root, prompting for a password at each boot. It works fine. But no
> matter what I try, I can't get the title of the said two windows to
> appear in the taskbar, only two blank buttons ! If I launch any other
> window, it's fine, it's title appears fine, but those first two (the
> most important ones!) keep hiding ! Does anybody know what gives ?
You could try customising your aterm titlebar by adding the following
to your ~/.bashrc
----------------snip-----------
## Change the window title of X terminals
case $TERM in
xterm*|rxvt*|Eterm)
PROMPT_COMMAND='echo -ne
"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne
"\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
----------------snip-----------
You'll also need to add it to your /root/.bashrc as well if you want
terms to be titled there as well.
(This comes with gentoo installations, I lay no claim to being a bash expert :-)
HTH's
Neil
--
"Religion is the work of the Devil" - Anon
Email - [email protected] / [email protected]
Website - http://slack.ser.man.ac.uk/
Blog - http://slack---line.blogspot.com/
Flickr - http://www.flickr.com/photos/slackline/
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642