美文网首页
Make ST3 as the default text edi

Make ST3 as the default text edi

作者: iMark | 来源:发表于2016-10-25 20:26 被阅读9次

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:

  1. make sure the sublime_text.desktop exists in /usr/share/applications/, and there is also a file named with defaults.list in this folder
  2. open the defaults.list and replace all gedit with sublime_text
  3. 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

相关文章

网友评论

      本文标题:Make ST3 as the default text edi

      本文链接:https://www.haomeiwen.com/subject/nuzruttx.html