2

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.

1 Answer 1

4

Specifically for Firefox, there are add-ons that should be able to help you, e.g., firetitle. Install and configure it on the remote machine.

1
  • Thank you! Seems like there's no generic alternative at this point. Appreciate the reply!
    – Offlein
    Jul 25, 2014 at 14:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .