[Konsole-devel] [Bug 102867] Konsole window title as tab captions

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Wed Mar 30 18:35:30 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=102867         




------- Additional Comments From kurt.hindenburg kdemail net  2005-03-30 20:35 -------
I think it is possible to do what you want now.  There are a couple of 'tips' for this...

Anyway, try this: export PS1="% \[\e]30;\u \h\w\a\]"

This will make the tabs and window title user host <current directory>
You can of course change this to suit your needs.

I likely need to explain these options better in the Handbook.

..that you can let Konsole set the current directory as the window title?
For Bash, put 'export PS1=$PS1"\[\e]0;\H:\w\a\]"' in your ~/.bashrc .

...that you can let Konsole set the current directory as the session name?
For Bash, put 'export PS1=$PS1"\[\e]30;\H:\w\a\]"' in your ~/.bashrc .

export PS1="\[\033[0;32m\](\[\033[1;34m\]\u\[\033[1;32m\] \[\033[1;34m\]\h\[\033[0;32m\])-(\[\033[0;36m\]$(date +%H:%M)\[\033[0;32m\])-(\[\033[0;36m\]\w\[\033[0;32m\])\[\033[0;36m\]>\[\033[0;37m\] \[\e]30;\u \h \w\a\]"



More information about the konsole-devel mailing list