If you use KDE, you can use this script to set custom window titles for any windows. The custom titles you set will persist even when the application controlling the window tries to update its title.
- Install dependencies:
- Clone this repository to a local location
- Set up keyboard shortcut
- Right click on the "Kickoff Application Launcher" and choose "Edit Applications..."
- Select the "Utilities" item
- Click "New Item"
- For item name, enter
kustom-window-title
and click "Ok" - In the "Command" field, browse to select the file
kustom-window-title.sh
within this repository that you cloned. - In the "Advanced" tab, click to set a shortcut key of your choosing.
- Click "Save" and exit the KDE Menu Editor
- Active the script with the shortcut key you set up during installation.
- A dialog will pop up prompting you to set a custom window title.
- To remove your custom title and revert the window back to its original state, activate the script again but press
Esc
instead of entering a title. Then, do something to the application controlling the window to get it to update it's title (e.g. open a new tab, etc).
Some of this code was originally written by Owen_R in an excellent answer to this Stack Exchange question.