1

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

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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