Ubuntu – How to determine why sublime-text 2 will no longer start for me

12.04sublime-text

My sublime-text 2 editor no longer starts when I click it's icon in my dock.
The icon does the normal slow pulsing for a while (unity) but nothing seems to load.

How can I determine why sublime has started failing?

UPDATE
Output of $ cat /usr/share/applications/sublime-text-2.desktop

#!/usr/bin/env xdg-open

[Desktop Entry]
Name=Sublime Text 2
GenericName=Text Editor
Comment=Sophisticated text editor for code, html and prose
Exec=/usr/bin/sublime-text-2 %F
Terminal=false
Type=Application
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;
Icon=sublime-text-2
Categories=TextEditor;Development;Utility;
Name[en_US]=Sublime Text 2
X-Ayatana-Desktop-Shortcuts=NewWindow;

[NewWindow Shortcut Group]
Name=Open a New Window
Exec=/usr/bin/sublime-text-2 --new-window

Best Answer

I believe this is a fix of the sublime-won't-start problem: link.

Basically what it does is - it reverts the Sublime to its initial state by removing your data (and configuration) folder, which is in one of the following paths, depending on your operating system:

  • OS X: ~/Library/Application Support/Sublime Text 2
  • Windows: %APPDATA%\Sublime Text 2
  • Linux: ~/.config/sublime-text-2

So you just exit Sublime editor, delete the data folder (or back it up somewhere, for future needs) and then restart Sublime.

That will make Sublime work again - so then you can try redoing your steps and see what actually went wrong. At least it worked that way for me.