It was suck. I’ve spent hours to find this solution. If you want to change your Ubuntu 14.04 LTS text editor by changing
/usr/share/applications/defaults.list and then you may find it doesn’t work, you can try edit the
I don’t know why all of these references below just don’t work in my case. But you can give it a try.
- How to add program to Open With in Ubuntu
- Sublime Text 2 as Default Editor in Ubuntu 12.04
- Change all associations from gedit to another application
- How do I make Sublime Text 3 the default text editor [duplicate]