Sublime Forum

Install sublime text on openSUSE 13.1 (gnome 3.10)

#1

i followed the instructions here:
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?

0 Likes

#2

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]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

[/code]

Sublime Text 2 then appears in the Programming section of the Applications menu

0 Likes