Home Download Buy Blog Forum Support

install sublime text on openSUSE 13.1 (gnome 3.10)

install sublime text on openSUSE 13.1 (gnome 3.10)

Postby herrfischer on Wed Oct 23, 2013 6:54 pm

i followed the instructions here:
http://sublime-text-unofficial-document ... html#linux
and i am able to open sublime text 2 but it has no icon and i can not put it to the dock ... any idea? i think i somehow have to put it to the launcher ... but how to do that?
herrfischer
 
Posts: 1
Joined: Wed Oct 23, 2013 6:52 pm

Re: install sublime text on openSUSE 13.1 (gnome 3.10)

Postby moldor on Fri Nov 01, 2013 7:48 am

I'm not using SuSE, but Debian 7.2, and this worked perfectly for me (and no, I'm not using Unity either !!) (copied from the original link)

Code: Select all
First we need to create a new file.

sudo sublime /usr/share/applications/sublime.desktop


Then copy the following into it.

[Desktop Entry]
Version=2.0.1
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



Sublime Text 2 then appears in the Programming section of the Applications menu
moldor
 
Posts: 1
Joined: Fri Nov 01, 2013 7:41 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 30 guests