Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eliza-abraham/0a54ffd9320c4cb4945b to your computer and use it in GitHub Desktop.
Save eliza-abraham/0a54ffd9320c4cb4945b to your computer and use it in GitHub Desktop.
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/opt/sublime_text_3/sublime_text %F
Icon=/opt/sublime_text_3/Icon/48x48/sublime-text.png
Terminal=false
MimeType=text/plain;
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=/opt/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/opt/sublime_text_3/sublime_text --command new_file
OnlyShowIn=Unity;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment