intertwingly

It’s just data

seticon


OK, I admit it.  I’m an ssh junkie.  I often have ssh windows open to several different machines — my Mac Mini, my Ubuntu server, my hosting provider, and even to whichever workstation I happen to be at at the moment.  Buying a 22 inch flat-screen monitor only made my addiction worse.

That’s why the recent change to remove the icon option from profile of gnome-terminal has proven to be a minor but constant irritant.  You see, having separate icons is rather handy:

When you have lots of terminal’s open, it can be difficult to distinguish between them. The problem is especially bad when you use Alt+Tab to cycle through the windows, but all their icons look the same.

Eventually, the itch needed to be scratched.

Usage is simple, go to the window that you want to change the icon.  Enter the command seticon, and pass a list of filenames containing icons of various sizes.  Or do the sensible thing, and pass a name of a file containing a single SVG image.

I have a number of small shell scripts, one per host, that does this for the icon for that particular host, issues the appropriate ssh command, and then sets the icon to the utilities-terminal image.  I then created a custom application launcher for each host, and configure each to run the associated script in a terminal window, and select the same icon for the launcher itself.

I’m sure that over time I will want to create a proper autoconf setup for this, but for now the itch is scratched.