Ubuntu 14.04 : Add applications Such as RubyMine, Sublime not being Debian package with .sh file into Launcher

You just need to

1. Create your_app_name.desktop file in /usr/share/applications/ (or /usr/local/share/applications/depending upon your system) if you want the launcher shortcut to be available to all users.

# Goto your system's root
$ cd /usr/share/applications/
# change directory to 
$ cd usr/share/applications/
# create a new file your_app_name.desktop
$ sudo touch your_app_name.desktop
$ gksudo gedit your_app_name.desktop

or

$ sudo gedit your_app_name.desktop

2. Paste below text

[Desktop Entry]
Type=Application
Terminal=true
Name=unmount-mount
Icon=/path/to/icon/icon.svg
Exec=/path/to/file/mount-unmount.sh
# Example

[Desktop Entry]
Type=Application
Terminal=false
Name=Rubymine
Icon=/home/leapfrog/RubyMine-7.0/bin/RMlogo.svg
Exec=/home/leapfrog/RubyMine-7.0/bin/rubymine.sh

3. Save the file

4. Open the /usr/share/applications/ (or /usr/local/share/applications/) location with file browser (Nautilus :: default file manager of ubuntu)

$ nautilus /usr/share/applications/

5. Drag your App icon to the Launcher

Now you can search your app in ‘System Search’

To lock in launcher you need to open the application and right click its icon and click on Lock to Launcher

Note: If icon of the application is not showing properly then try restating the computer.

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 )

Google+ photo

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

Connecting to %s