Hey,
I just installed Sublime to my Ubuntu(16.04) VM like it was explained here.
But i installed Sublime Text 2 and not 3 like explained there.
So i downloaded Sublime 2 and uncompressed it. Then i did the rest like explained on that side but i always changed “Sublime\ Text\ 3/” to “‘Sublime Text 2’”.
Then, when I had to copy and paste this:
`[Desktop Entry]
Version=1.0
Name=Sublime Text 3
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 3/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`
I changed the
“Version” to “Version = 2.0.2”
“Name” to “Name = Sublime Text 2”
“Icon” to “Icon = /opt/Sublime Text 2/Icon/32x32/sublime.png”
that was all working, it displays the right name and the icon I wanted but all the time when I type “sublime” in the Terminal i get this message. (it opens Sublime but it keeps spamming these messages like 3-4 times)
The “error” messages (i guess that are errors) always display the same:
(sublime:x): GLib-CRITICAL **: Source ID x was not found when attempting to remove it
x = any number (for example: “sublime:14399” or “sublime:14324”// “Source ID 943” or “Source ID 1843” etc)
Do you guys have any idea what I can do to fix that?
Thx
Julian