Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I add new programs to the launcher in Ubuntu?

share|improve this question
add comment

2 Answers 2

up vote 28 down vote accepted

The other portion if I understand you correctly should be pretty simple. Just launch the application you want to attach to the "start menu" or rather dock panel, side bar, but officially it is called the "Launcher" and right click the icon and lock to launcher.

enter image description here

You can also drag applications directly from the Dash into the launcher.

share|improve this answer
1  
+1 Nice one........... –  Pankaj Kumar Apr 16 '13 at 7:20
2  
There's a wrinkle here for applications that run in a terminal (e.g. iPython), since they appear in the launcher as a terminal rather than with their own icon. However, you can simply drag the icon from the dash into the launcher. –  Ned Sep 12 '13 at 11:04
add comment

To add applications to the Dash (then you press the windows key), Go to ~/.local/share/applications and create your .desktop files there.

For example:

  • Open Nautilus
  • Browse to ~/.local/share/applications (ctrl + h to show hidden folders/files)
  • Right click and choose create empty document
  • Name the file testing.desktop
  • Enter in a valid desktop contents (sample below)
  • Save it and now that entry will show when you press the windows key under applications.

A much easier way...

sudo apt-get install alacarte

Then run alacarte and create menu entries as you like. They will show in the unity launcher.


Sample desktop file (from sublime text 2)

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Name=Sublime Text 2
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. GenericName=Text Editor
Exec=subl
Terminal=false
Icon="/opt/Sublime Text 2/Icon/48x48/sublime_text.png"
Type=Application
Categories=TextEditor;IDE;Development
X-Ayatana-Desktop-Shortcuts=NewWindow
Icon[en_US]=/opt/Sublime Text 2/Icon/128x128/sublime_text.png

[NewWindow Shortcut Group]
Name=New Window
Exec=subl -n
TargetEnvironment=Unity

share|improve this answer
    
By "Launcher Thingy (then you press the windows key)", do you mean the dash? –  iBelieve Nov 30 '12 at 21:15
    
Yes...... That's what i said dash (hunts for the edit link) –  coteyr Nov 30 '12 at 21:20
4  
Here is a link to more details about creating desktop files: help.ubuntu.com/community/UnityLaunchersAndDesktopFiles. –  iBelieve Nov 30 '12 at 21:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.