::--(dion_king_at_sohu.com)-(30/12/02)--::
> I switched to fvwm about a month ago, but i have began to
> love it. After some hard work, it becomes more and more
> beautiful.
> However, I came to a problem. I used fvwmiconman to show the
> windows on one page and set:
> fvwmiconman: format "%t"
> to show the title of a windows in the title bar.
> Then all the 'rxvt' only show 'rxvt' in title. They are same in
> "name","icon name","class","resource",only different in windows id.
> But it's ugly to show the windows id in title, so it's very hard to
> discriminate them. Are there some way to show more infomation?
> For example, rxvt(1) for the first one, rxvt(2) for the one runs
> after rxvt(1).
> Thank you,
> dion
I use the $PROMPT_COMMAND variable in bash (and others?) to set my term
titles to something descriptive.
This is what I have in ~/.bashrc:
[ $TERM == "linux" ] \
&& unset PROMPT_COMMAND \
|| export PROMPT_COMMAND='echo -ne "\033]0;`whoami` | `basename ${DIRSTACK}`\007\033k\033\134"'
This will put $USER and the current directory, seperated by a "|", in your *term titles.
You may strip the last "\033\034" if you don't use screen(1).
This helps me keep track of my terms in FvwmIconMan. Another option is
to use screen - then you won't need to open so many terms ;)
Cheers.
^d
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Dec 30 2002 - 05:19:13 GMT