美文网首页
将Sublime Text 2设为Ubuntu默认编辑器

将Sublime Text 2设为Ubuntu默认编辑器

作者: 2a79974b3236小小小 | 来源:发表于2017-03-01 13:56 被阅读0次

    原来的/etc/gnome/defualts.list中的gedit是这样的:


    text/plain=gedit.desktop

    text/richtext=abiword.desktop

    text/rtf=libreoffice-writer.desktop

    text/spreadsheet=libreoffice-calc.desktop

    text/tab-separated-values=libreoffice-calc.desktop

    text/x-comma-separated-values=libreoffice-calc.desktop

    text/x-chdr=gedit.desktop

    text/x-csrc=gedit.desktop

    text/x-dtd=gedit.desktop

    text/x-java=gedit.desktop

    text/mathml=gedit.desktop

    text/x-python=gedit.desktop

    text/x-sql=gedit.desktop

    但是后来全部的gedit全部改为了sublime就行了


    但是别人的比较复杂(链接):

    sublime text 2设为Ubuntu默认文本编辑器

    相关文章

      网友评论

          本文标题:将Sublime Text 2设为Ubuntu默认编辑器

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