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.


What’s wrong with GNU screen?

Posted by E at

submitted by gthank [link] [0 comments]...

Excerpt from programming: what's new online at

What’s wrong with GNU screen?

Nothing’s wrong with GNU screen.  I often use it for persistence.  But the idea of multiple sessions in a single window... not so much.

Posted by Sam Ruby at

Sounds cool. But from the title I thought it was a convention for SETI enthusiasts!

Posted by Randall Bohn at

I find it more convenient to use the gnome-terminal tabs. That’s CTRL-SHIFT-T.

BTW, do you know github?

Posted by Slim Amamou at

CTRL-SHIFT-T doesn’t get me to the right host.

Yes, I know about github.  If there is interest in forking the code, I’ll post a copy there.

Posted by Sam Ruby at

Github - closed source. :(
Gitorious - open source.

Just saying.

Posted by Ciaran at

There are plenty of things wrong with GNU screen which mean it is not always appropriate. Consider that I want one terminal session to connect to a remote server where there is a screen instance running: If I want to re-attach to that, I probably don’t want to already be inside a screen. See also corruption bugs such as [link]

Posted by Jon at

Add your comment