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.

I recently installed e-Sword on my 12.04 Unity laptop. The installation creates a desktop icon of the application. I dragged the icon to the launcher and the icon was created in the launcher. But, when I move the desktop icon to trash, the launcher icon also disappears. What I need to do to delete the desktop icon without the launcher icon disappearing?

share|improve this question

5 Answers 5

You can copy the .desktop into ~/.local/share/applications

Basically you're doing the end steps of this:

After this the application will show up in the Dash, then you can either drag it to the launcher or run it and right click "Lock to Launcher".

share|improve this answer
    
Adding it to /usr/share/applications also works, but you will need privileges. –  Swarnendu Biswas Jul 1 at 14:48

Right click the icon on the Launcher, and choose Keep in Launcher

enter image description here

share|improve this answer

Work around. Moved the desktop icon to the e-Sword folder created on my home folder by the installation, and from there, I dragged and drop to the Launcher.

share|improve this answer

desktop files are stored: globally in /usr/share/applications, locally in ~/.local/share/applications. You can use the below format to create a .desktop file for your app using a text-editor:

[Desktop Entry]
Encoding=UTF-8
Name=PyCharm 3.0
Comment=Jetbrains Python IDE
Exec=/home/sysadmin/programs/pycharm-community-3.0/bin
Icon=/home/sysadmin/programs/pycharm-community-3.0/bin/pycharm.png
Categories=Application;Development;Python;IDE
Version=1.0
Type=Application
Terminal=0

Alternatively, you may do a "unix sacrilege", and use one of those GUI tools out there! Once you've created the .desktop file in the corresponding path, you may find it though the dash. To make it stick permanently to the launcher, just right-click and say "Lock to Launcher" as LnxSlck has mentioned

share|improve this answer

arronax is a great gui tool for creating application launchers and it allows you add the icon, description, etc then pressing the menu down arrow button it create the .desktop file for you. All you have to do is move it to its permanent location.

http://www.florian-diesch.de/software/arronax/

There's 3 .deb files on the arronax site which you have to download and install w/ sw center, gdebi or synaptic. And I forget the order but you do it in a certain sequence.

It works really well though.

share|improve this answer

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.