Skip to content

Instantly share code, notes, and snippets.

@d33pcode
Last active September 29, 2015 09:43
Show Gist options
  • Select an option

  • Save d33pcode/6c4a7e8fdd85feff7505 to your computer and use it in GitHub Desktop.

Select an option

Save d33pcode/6c4a7e8fdd85feff7505 to your computer and use it in GitHub Desktop.
Generic model for creating new desktop entries
[!] desktopentry.desktop should have EXACTLY the same name of the application to prevent Linux from getting empty :S
Place this file in the /usr/share/applications directory so that it is accessible by everyone,
or in ~/.local/share/applications if you only wish to make it accessible to a single user.
[Desktop Entry]
Encoding=UTF-8
Name=AppName
Comment=PutANiceCommentHere
Exec=/home/path/to/executable
Icon=/home/path/to/icon
Categories=Application;Development;AndSomeShit;
Type=Application
Terminal=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment