gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.42k stars 292 forks source link

How to set the terminal title to show the current running command? #1698

Closed 1999masih closed 5 years ago

1999masih commented 5 years ago

Screenshot from 2019-05-02 13-36-23 I want to show cmus in the Application Title but I can find any option in preferences.

FFY00 commented 5 years ago

I don't think that's in tilix's scope. You should patch your application to set the terminal title. It can be accomplished by simply outputting \x1b]2;Your Title Here\x07 to stdout.

gnunn1 commented 5 years ago

There's actually a hidden option in dconf for tilix called process-monitor that does this, but it's actually very buggy and results in crashes when enabled. If someone wants to have a look at the code and fixing it up feel free.

waldyrious commented 1 year ago

For future reference, this seems to be closed as a duplicate of #937.

And regarding the hidden dconf option, the instructions to use it are described here.