Skip to content

Instantly share code, notes, and snippets.

@hyer
Created October 26, 2016 07:37
Show Gist options
  • Save hyer/e165900a6aa2f0f2938dc9babbcb4170 to your computer and use it in GitHub Desktop.
Save hyer/e165900a6aa2f0f2938dc9babbcb4170 to your computer and use it in GitHub Desktop.
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text %F"
Terminal=false
MimeType=text/plain;
Icon=sublime-text
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text -n"
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/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