Skip to content

Instantly share code, notes, and snippets.

@jonatanrdsantos
Last active August 29, 2015 14:03
Show Gist options
  • Save jonatanrdsantos/a8542af83e00d74b28ce to your computer and use it in GitHub Desktop.
Save jonatanrdsantos/a8542af83e00d74b28ce to your computer and use it in GitHub Desktop.
Sublime on desktop Gnome in Arch Linux

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=/opt/sublime2/Icon/256x256/sublime_text.png
Categories=TextEditor;Development;Utility;

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

finished :P

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