Ubuntu oneric ocelot 11.10: adding a favourite lancher when you can’t use Keep in launcher

Sometimes in the new Ubuntu Oneric Ocelot 11.1 launching a program and selecting ‘Keep in launcher’ is not enough. This may happen if your program requires special startup parameters, or simply because it requires a terminal to run in, ala’ Matlab. Creating a launcher on the desktop is not simply as right clicking to ‘create launcher’ as it was in older versions.
I wandered a while before finding my answer here (thanks to Bruno Pereira), as others where that useful to me.
I will summarize the process proposed by bruno hereafter:  I installed dconf-editor installing dconf-tools. Then I create a launcher for my foo app, that requires a terminal and can’t run using ‘keep in launcher’I did this by creating a file called foo.desktop in .local/share/applications/ containing something like:

[Desktop Entry]
Name=Foobarfoofo
Comment=a foo app
Exec=/path/to/foo
Icon=/path/to/foo/foo_icon.xpm
Terminal=true
Type=Application
StartupNotify=true

and then launched dconf-editor and navigated to ‘favorites’. As Bruno points out, I got foo.desktop at the end of the list taking care about , ‘ ‘ and ]. Logging in and out now shows a quick launcher for Foo in my Unity Bar

dconf-editor favorites

click to enlarge

About these ads

About d.

d. is an engineer
This entry was posted in Technology, W-e-b and tagged , , , , , , , , . Bookmark the permalink.

One Response to Ubuntu oneric ocelot 11.10: adding a favourite lancher when you can’t use Keep in launcher

  1. Tushar Kumar says:

    Nice post

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s