Re: Changing Konsole titlebar / tabs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Fr, den 08.04.2005 schrieb Gustavo Seabra um 15:34:

> Does anybody know how to change the text on KDE Konsole titlebar (or
> the tabs, when multiple shells are open in the same window) to reflect
> something like:
>    user@host::working_directory
> and automatically update it if this information changes? I'm using
> tcsh, it it makes any difference.

Hm, tcsh, never used that shell on Linux. For bash I am using following:

$ cat /etc/sysconfig/bash-prompt-xterm

#!/bin/bash
echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}         [ `tty | sed -e
"s:/dev/::"` ]\007"

The script file must be executable and is automatically included by
/etc/bashrc. I think for tcsh you will have to put something similar
into ~/.tcsh.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.771_FC2smp 
Serendipity 15:41:00 up 9 days, 13:07, load average: 0.36, 0.24, 0.19 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux