I've just installed a fresh copy of Ubuntu 18.10 on my system.
I updated the OS via sudo apt-get update
and sudo apt-get upgrade
commands.
After that I installed Google Chrome.
These are the only things I've done prior to installing the Sublime Text 3 text editor .
I obtained the install commands from Sublime Text's download web page.
Then I proceeded to install the editor using them.
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
The installation completed without any hiccups, but when I try to launch the application, it fails to do so.
You can see on the taskbar that the application is starting up, and the mouse pointer shows the loading animation (that doesn't show up on the screenshot though), but Sublime Text 3 doesn't start.
I don't get any errors or anything. I've even rechecked if I was missing any dependencies via terminal, and checked for updates and upgrades one more time, but nothing was missing. I've tried googling the issue, but haven't found anything.
EDIT: The solution to this issue, which I've tested on multiple PCs (that worked on all of them), is executing this command:
sudo apt-get install libgtk2.0-0
Best Answer