Skip to content

Instantly share code, notes, and snippets.

@ptaferner
Last active December 17, 2015 20:51
Show Gist options
  • Save ptaferner/625ecf93022ef72357b5 to your computer and use it in GitHub Desktop.
Save ptaferner/625ecf93022ef72357b5 to your computer and use it in GitHub Desktop.
Create a desktop icon in Linux Mint
  1. sudo vim /usr/share/applications/YOUR-APP.desktop

  2. copy paste the following lines

[Desktop Entry]

Encoding=UTF-8

Exec=/path/to/your/application

Icon=/path/to/application/icon

Type=Application

Terminal=false

Comment=COMMENT-FOR-APPLICATION

Name=APPLICATION-NAME

GenericName=APPLICATION-DESCRIPTION

StartupNotify=false

Categories=Development;IDE;


Description of the lines:

[Desktop Entry] indicates that this file is a *.desktop file

Encoding= Encoding used

Exec= Path of a binary or script used to start the program

Icon= Path to the icon for the entry

Type= Application - desktop file is starting an application

Terminal= False - the program will not run in a terminal

Comment= Comment about the app

Name= Displayed name in the menu

GenericName= Description of the entry

StartupNotify= False - Startup notification is turned off

Categories - specifies the categories in which the entry will be placed in the menu (several categories are specified with a semicolon between them, e.g. 'Game;Education')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment