Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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" ]
then
  case $TERM in
     rxvt|*term)
        trap 'qdbus org.kde.konsole $KONSOLE_DBUS_SESSION org.kde.konsole.Session.setTitle 1 $HOSTNAME\ :\ $BASH_COMMAND' DEBUG
     ;;
  esac
fi

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

trap

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

share|improve this question
    
Please answer your own question and accept it when the system allows. –  Iain Nov 8 '11 at 11:11
add comment

1 Answer

up vote 1 down vote accepted

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

share|improve this answer
add comment

Your Answer

 
discard

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.