SimpleStarter - simple application starter as appindicator
On newer Ubuntu versions you have to install
python-appindicatormanually or this script won't start.
After the change to Unity in Ubuntu 11.04 I used sshlist a lot. It's a nice replacement for sshmenu, implemented as Appindicator. Unfortunately sshlist supports only ssh in the Gnome Terminal (as supposed I guess), but I also need rdesktop and PuTTY for some work. So I thought, it would be nice to extend the original script to use this programs too. I modified sshlist, called it simplestarter and release it now under GPL3. Anil, author of sshlist, gave me his agreement to do so; thanks for that.
The steps to use it are simple:
- Copy file
/usr/local/binand make it executable
- Edit file
.simplestarterin your home directory to add menu entries (see below for an example)
- Or better yet, add it to gnome startup programs list so it's run on login
The result is a nice menu like this one:
The syntax of the config file is really simple:
ARGS can be empty. To insert a separator, add a line which only contains "sep". Empty lines or lines starting with "#" will be ignored. The example file for the menu in the screenshot is this one:
# Example file ~/.simplestarter Show top|gnome-terminal|-x top sep # A few SSH sessions SSH server1|gnome-terminal|-x ssh -p 123 server1 SSH server2|gnome-terminal|-x ssh -p 456 server2 SSH server3 (long name)|gnome-terminal|-x ssh neo@server3 sep # Use rdesktop to connect to Windows Servers Win-Server 1|rdesktop|-T "Win-Server 1" 188.8.131.52 Win-Server 2|rdesktop|-T "Win-Server 2" 184.108.40.206 Win-Server 3 (with many arguments)|rdesktop|-g 1320x680 -T "Win-Server 3" -x l -P -r sound:local 220.127.116.11 sep # PuTTY PuTTY-Session 1|putty|-load SavedSession1 PuTTY-Session 2|putty|-load SavedSession2
I've added a simple feature called "Labels". This are non-clickable menu items. You can use them to categorize your entries.
The usage is as simple as
label:This is a label!. This will add a label with the caption "This is a label!".