I am SSH'ing into a server which has a copy of Firefox installed on it that I need to run.
I can SSH in and run Firefox, and it will run remotely as expected.
However, I need to frequently have two Firefoxes open from two different servers. Identifying which one is which at a glance is a little tricky.
I can easily script the opening of each remote Firefox, but I'd like to add to that script a mechanism that gets the newly created window and overrides the title to be "SERVER_XYZ". Or prepends it. Or something.
I'd love it to be automatic (scriptable) and general (not Firefox-specific) if it is possible. But if not, manual would be OK.
As well, I tried xdotool (xdotool search --class Firefox set_window --name "Server"
) but that wouldn't override the title of the Firefox window.