You are not logged in.
Pages: 1
Is there any feature or plugin to allow me to rename windows? i have multiple browser and terminal windows with numerous tabs within, and i'd like to set a custom title to help with my work flow.
Failing that, can somebody point me towards what XFCE component to start hacking so I can add the feature myself?
I'm using xfce 4.10 linux mint 17
Offline
For xfce4-terminal windows/tabs, you can use:
export PROMPT_COMMAND='echo -ne "\033]0;Test\007" '
...and change "Test" as required.
For other X windows, you can use a tool like xdotool, specifically:
xdotool selectwindow set_window --name "Test"
...and change "Test" as required. You will be prompted to select a window that you want to change the name of.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
xdotool? i didn't even think to look for X tools rather than XFCE-specific stuff for this, precisely what I need. thanks a lot
Offline
actually, while this works, the application still can (and pretty much always does) rename it afterward. I'm open to suggestions how to work around that / alternate ways to permanently rename a window.
Offline
Use xdotool to change the name of the current active window:
xdotool set_window --name "test" "$(xdotool getactivewindow)"
Offline
That command fails with an error when you run it in a script.
It is apparently a bug first reported in 2015.
Offline
Pages: 1
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 534.22 KiB (Peak: 535.06 KiB) ]