I had installed the beta builds for Sublime Text 3 as follows:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
Sublime worked perfectly for months. However, earlier today I unfortunately had to perform a hard reset. Since then, Sublime Text won’t start at all. I’ve tried to reinstall it, to no avail.
Contents of cat /usr/share/applications/sublime-text.desktop
are:
[code][Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/opt/sublime_text/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=sublime-text
Categories=TextEditor;Development;Utility;
StartupNotify=true
Actions=Window;Document;
X-Desktop-File-Install-Version=0.22
[Desktop Action Window]
Name=New Window
Exec=/opt/sublime_text/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/opt/sublime_text/sublime_text --command new_file
OnlyShowIn=Unity;
[/code]
Trying to run it via terminal (subl, /opt/sublime_text/sublime_text). Does not work either. Downloading and extracting the x64 version (http://www.sublimetext.com/2), and then trying to run it:
./sublime_text
produces the following error messages:
[code]$ ./sublime_text
GLib-GIO-Message: Using the ‘memory’ GSettings backend. Your settings will not be saved or shared with other applications.
(sublime_text:2835): GLib-GObject-WARNING **: cannot register existing type ‘GInitable’
(sublime_text:2835): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed
(sublime_text:2835): GLib-CRITICAL **: g_once_init_leave: assertion ‘result != 0’ failed
(sublime_text:2835): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion ‘g_type_parent (interface_type) == G_TYPE_INTERFACE’ failed
[/code]
In the meantime, sublime_text is shown as running:
$ ps -e | grep sublime
3814 pts/9 00:00:00 sublime_text
What in the world could be going on here? I’ve even tried reinstalling GLib (2.42.1), but that hasn’t helped any. Any suggestions welcome…