Created
June 21, 2012 04:26
-
-
Save thebinarypenguin/2963829 to your computer and use it in GitHub Desktop.
A desktop application launcher for Sublime Text 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Type=Application | |
Terminal=false | |
StartupNotify=true | |
Name=Sublime Text 2 | |
Name[en_US]=Sublime Text 2 | |
GenericName=Text Editor | |
GenericName[en_US]=Text Editor | |
Comment=Edit text files | |
Comment[en_US]=Edit text files | |
Exec=/PATH/TO/EXECUTABLE %U | |
Icon=/PATH/TO/ICON | |
Categories=Development;TextEditor; | |
MimeType=text/plain; | |
Actions=Window; | |
[Desktop Action Window] | |
Name=Open a New Window | |
Name[en_US]=Open a New Window | |
Exec=/PATH/TO/EXECUTABLE --new-window %U | |
OnlyShowIn=Unity; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notes
~/.local/share/applications/
or/usr/share/applications/
--new-window
flag in both Exec linesSetting as default text editor
~/.local/share/applications/defaults.list
if it doesn't already exist/usr/share/applications/defaults.list
and copy the appropriate mime type lines into~/.local/share/applications/defaults.list