Every time I wanna open a plain text file on my Ubuntu, I have to right click on the file and select open with ...
. How to change the default text editor to ST3 instead of gedit?
This can be solved with ease. A post was found here on askubuntu. Just follow what described in the first reply:
- make sure the
sublime_text.desktop
exists in/usr/share/applications/
, and there is also a file named withdefaults.list
in this folder - open the
defaults.list
and replace allgedit
withsublime_text
- reboot the machine, it works!
Attached,
we can type nautilus
in therminal to open the pwd in a window, we do this on Windows OS with start
网友评论