Skip to content

Instantly share code, notes, and snippets.

@ishu3101
Created January 16, 2013 22:29
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 ishu3101/4551552 to your computer and use it in GitHub Desktop.
Save ishu3101/4551552 to your computer and use it in GitHub Desktop.
Create a launcher in Unity to open Sublime text 2.
[Desktop Entry]
Version=1.0
Name=Sublime Text 2
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Text Editor
Exec=sublime
Terminal=false
Icon=/opt/Sublime Text 2/Icon/48x48/sublime_text.png
Type=Application
Categories=TextEditor;IDE;Development
X-Ayatana-Desktop-Shortcuts=NewWindow
[NewWindow Shortcut Group]
Name=New Window
Exec=sublime -n
TargetEnvironment=Unity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment