Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 13109  / 2 Years ago, thu, march 24, 2022, 3:21:27

There's a lot of tutorials on how to change the default text editor in Unity and Gnome. There's none for Xubuntu/XFCE.



How do I change all mousepad's associations to sublime text?



I know I could install Unity Tweak Tool, but that loads a lot of dependencies, including compiz. I don't want that.



I know I can right click a file and do "Open with". There's a lot of file types I am willing to change (ruby, php, html, css, js, coffee,...), so that's not the way either.



update-alternatives is not the way either:



There are 4 choices for the alternative editor (providing /usr/bin/editor).

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/vim.gtk 50 auto mode
1 /bin/ed -100 manual mode
2 /bin/nano 40 manual mode
3 /usr/bin/vim.gtk 50 manual mode
4 /usr/bin/vim.tiny 10 manual mode

Press enter to keep the current choice[*], or type selection number:

More From » xubuntu

 Answers
5

What actually helped was to uninstall Mousepad. I was not using it anyway. All the files are now opened in Sublime.


[#31435] Saturday, March 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
landarre

Total Points: 254
Total Questions: 96
Total Answers: 109

Location: Burundi
Member since Sun, Apr 16, 2023
1 Year ago
landarre questions
;