Linux, Tips and TricksUbuntu 13.04 Adding Launchers to Unity Panel

Ubuntu 13.04 Adding Launchers to Unity Panel

Unity is sometimes a pain to work with. For example if you want to add something custom, there is no straightforward way.

  • To add any standard application, just launch the application from the Unity dash and it will appear in the unity bar.
  • Right click and choose “Lock to Launcher” and it will stay there

Its a bit tricky if you want to add say bash scripts. I wanted to add the Oracle SQL developer as a launcher item to unity.

For this you need to create a file called {application}.desktop. The {application} is whatever you prefer. But it should have a .desktop extension.

Open a text file and paste the below – tweak according to your application

[Desktop Entry]
Name=SQlDeveloper
Comment=This is my comment
Exec=/home/naveen/sqldeveloper/sqldeveloper.sh
Icon=/home/naveen/sqldeveloper/icon.png
Terminal=false
Type=Application
Categories=Utility;Application;

Save this file as sqldeveloper.desktop

Move this file to /usr/share/applicationsĀ 

Now search for this in the Unity dash. It will be listed under Applications

Just drag and drop it into the unity launcher

Categories: Linux, Tips and Tricks

Comments

  1. September 17, 2014 5:31 pm

    I wonder if a desktop file is created when you lock it to launcher, and where it is stored... hmm.
  2. jenik

    October 5, 2013 3:59 pm

    Nice, just one comment though: I wouldn't put it in /usr/share/applications but in user's directory ~/.local/share/applications Bit cleaner that way. And you don't have to su every time you need to change it.

Reply to Dave cancel

Your email address will not be published. Required fields are marked *