Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I configurate bash or tmux for make konsole change window title?

If I run tmux from xterm, it changes title
But from konsole not change

I also have some tricks in bashrc

# window title
if [ "$SHELL" = '/bin/bash' ] && [ ! -z "$KONSOLE_DBUS_SESSION" ]
  case $TERM in
        trap 'qdbus org.kde.konsole $KONSOLE_DBUS_SESSION org.kde.konsole.Session.setTitle 1 $HOSTNAME\ :\ $BASH_COMMAND' DEBUG

And after this title is changed manually from bash, but if run tmux it not changed again!


Update: thing that i need is a %w modificator in window title for konsole.

share|improve this question
Please answer your own question and accept it when the system allows. – Iain Nov 8 '11 at 11:11
up vote 1 down vote accepted

Thing that i need is a %w modificator in window title for konsole.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.