Skip to content

Instantly share code, notes, and snippets.

@juliojsb
Created April 9, 2016 11:16
Show Gist options
  • Save juliojsb/72e45f0394f0cce5d437ccf988389c3d to your computer and use it in GitHub Desktop.
Save juliojsb/72e45f0394f0cce5d437ccf988389c3d to your computer and use it in GitHub Desktop.
How to create a desktop launcher in Gnome Shell
1) In /usr/share/icons create folder SublimeText and move the corresponding icon there (can be a .png)
2) In /usr/share/applications/sublimetext.desktop create a file called sublimetext.desktop and put in it:
[Desktop Entry]
Name=Sublime Text
Comment=A Sublime way of editing text
Exec=/opt/sublimetext/sublime_text_3/sublime_text
Icon=/usr/share/icons/SublimeText/sublimetext-icon.png
Encoding=UTF-8
Type=Application
Categories=Development;
There you go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment