Skip to content

Instantly share code, notes, and snippets.

@Wynout
Created July 10, 2013 08:46
Show Gist options
  • Save Wynout/5964552 to your computer and use it in GitHub Desktop.
Save Wynout/5964552 to your computer and use it in GitHub Desktop.
Pin Sublime Text to Ubuntu Unity. Save text in launcher "~/.local/share/applications/Sublime-Text.desktop". Replace "###" with path to ST. Drag and drop the launcher from ".local/share/applications" to the Launcher Bar on the left on your Screen. When pinned to bar: Right-click shows "Create Editor Window". Accepts file drop of files you want to…
[Desktop Entry]
Type=Application
Terminal=false
Name=Sublime Text 2
StartupNotify=true
GenericName=Text Editor
Comment=Edit text files
Exec=/###/###/SublimeText2/sublime_text %U
MimeType=text/plain;text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;text/x-java;text/x-dsrc;text/x-pascal;text/x-perl;text/x-python;application/x-php;application/x-httpd-php3;application/x-httpd-php4;application/x-httpd-php5;application/xml;text/html;text/css;text/x-sql;text/x-diff;x-directory/normal;inode/directory;
Categories=GNOME;GTK;Utility;TextEditor;Application;Development;
Icon=/###/###/SublimeText2/Icon/48x48/sublime_text.png
Name[en_US]=Sublime-Text.desktop
X-Ayatana-Desktop-Shortcuts=NewWindow;
[NewWindow Shortcut Group]
Name=New Editor Window
Exec=/###/###/SublimeText2/sublime_text --new-window
TargetEnvironment=Unity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment