How to set Sublime Text as default text editor? The only option I see is Pluma.
I'm using Mate Desktop on Fedora 19.
Edit: The Sublime Text executable (installed by hand, not a package) is at /home/matt/sublime_text_3/sublime_text
.
fedoragnomemate-desktop
How to set Sublime Text as default text editor? The only option I see is Pluma.
I'm using Mate Desktop on Fedora 19.
Edit: The Sublime Text executable (installed by hand, not a package) is at /home/matt/sublime_text_3/sublime_text
.
Best Answer
The default file associations are set in either
/usr/share/applications/defaults.list
(global) or one of~/.local/share/applications/mimeapps.list
or~/.local/share/applications/defaults.list
.For example, this is what I have on my system:
Changing the
[Added Associations]
line tomade sublime my default editor. Make sure that
sublime_text
correctly launches sublime if you run it from a terminal and that you have a.desktop
file in/usr/share/applications/
: