Skip to content

Instantly share code, notes, and snippets.

@brunoocasali
Forked from jonatanrdsantos/sublime-desktop-arch.md
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunoocasali/8fd5374f6cc3642b3f9a to your computer and use it in GitHub Desktop.
Save brunoocasali/8fd5374f6cc3642b3f9a to your computer and use it in GitHub Desktop.

Download Sublime Text 2 on website for Linux please!!

extract and move files from /opt/sublime2/

create sublime.desktop in /opt/sublime2/

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Sublime Text
GenericName=Text Editor
Comment=Edit source code
Exec="/opt/sublime2/sublime_text" %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Icon=/home/tom/images/sublime.png
Categories=TextEditor;Development;Utility;

copy sublime.desktop for folder /usr/share/applications/;

finished :P

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