Hello,
I’m almost ashamed to ask this question here because I’ve never failed to make sublime my default text editor. But since a recent fresh install of Ubuntu, something went wrong and my life was torn apart.
What I did, in a nutshell:
- Installed sublime text via
$ url -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add
$ sudo add-apt-repository “deb https://download.sublimetext.com/ apt/stable/”
$ sudo apt install sublime-text - Checked that the .desktop file exists:
$ ls /usr/share/applications/sublime_text.desktop - Replaced all occurrences of gedit by sublime_text in /usr/share/applications/defaults.list
I’ve always used this method and yet when I click a file, I still have the gnome text editor showing up. And no idea how to debug that.
If you have a brilliant idea to help me out, it would fill my heart with joy and wonders, nothing less.
Thanks in advance!