I found a question on AskUbuntu pretty quickly, but it wasn't until the sixth answer that I found a method that worked for 12.04.
It's pretty simple, so here's how I did it for STS:
-
Create a desktop file.
If the executable or icon are in your$ cat >> ~/.local/share/applications/sts.desktop [Desktop Entry] Name=STS Comment= Exec=<STS_INSTALLATION_DIR>/STS Icon=<STS_INSTALLATION_DIR>/icon.xpm Terminal=false Type=Application StartupNotify=true
$PATH
, you don't need to specify the full path. -
Make the file executable.
At this point you can start the application by double-clicking the desktop file.chmod 755 ~/.local/share/applications/sts.desktop
-
Leave the file in
~/.local/share/applications/
to keep it to yourself, or to/usr/share/applications/
to make it available to all users. - To add it to the launcher, just drag it to the launcher and drop it where you want it.
No comments:
Post a Comment