Create desktop entry or launcher for Linux

Written on 22 January 2016

Create desktop entry or launcher for Linux
1. How to get a sample of desktop entry.

cd /usr/share/applications/application-name.desktop  

2. What need in a desktop entry file.

[Desktop Entry]
Name=application-name  
Exec=/path/to/application/  
Icon=application-name  
Terminal=false  
Type=Application  
Categories=Cat1;Cat2;Cat3;  
StartupNotify=true/false  

3. Why desktop entry not work ?
To make desktop entry work you must provide right permission.

sudo chmod u+x desktopfile.desktop  

4. Place this file in any folder you want.
To make desktop shortcut put it to ~/Desktop by cp command or simply copy and paste it to Desktop folder.
5. If you feel , this is difficult ,see video bellow.

  1. If you have any question, comment in Disqus thread bellow
Read more on Linux Linux Desktop