{"id":7995,"date":"2020-06-22T15:44:19","date_gmt":"2020-06-22T07:44:19","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7995"},"modified":"2020-06-22T15:44:20","modified_gmt":"2020-06-22T07:44:20","slug":"gedit","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/gedit","title":{"rendered":"gedit\u547d\u4ee4 – GNOME\u684c\u9762\u7684\u6587\u672c\u7f16\u8f91\u5668"},"content":{"rendered":"\n

gedit\u547d\u4ee4\u662fGNOME\u684c\u9762\u73af\u5883\u7684\u5b98\u65b9\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5c3d\u7ba1gedit\u65e8\u5728\u7b80\u5316\u548c\u6613\u7528\uff0c\u4f46\u5b83\u662f\u529f\u80fd\u5f3a\u5927\u7684\u901a\u7528\u6587\u672c\u7f16\u8f91\u5668\uff1b\u5b83\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u548c\u7f16\u8f91\u5404\u79cd\u6587\u672c\u6587\u4ef6\u3002<\/p>\n\n\n\n

gedit\u5177\u6709\u7075\u6d3b\u7684\u63d2\u4ef6\u7cfb\u7edf\uff0c\u53ef\u7528\u4e8e\u5411gedit\u672c\u8eab\u52a8\u6001\u6dfb\u52a0\u65b0\u7684\u9ad8\u7ea7\u529f\u80fd\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>gedit [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

--list-encodings<\/td>\u663e\u793a\u53ef\u4f7f\u7528\u7684\u7f16\u7801\u9009\u9879\u5217\u8868<\/td><\/tr>
--encoding=\u7f16\u7801<\/td>\u8bbe\u7f6e\u6253\u5f00\u547d\u4ee4\u884c\u4e2d\u5217\u51fa\u7684\u6587\u4ef6\u65f6\u4f7f\u7528\u7684\u5b57\u7b26\u7f16\u7801<\/td><\/tr>
--new-window<\/td>\u5728\u5df2\u5b58\u5728\u7684gedit\u5b9e\u4f8b\u4e2d\u65b0\u5efa\u4e00\u4e2a\u6700\u4e0a\u5c42\u7a97\u53e3<\/td><\/tr>
--new-document<\/td>\u5728\u5df2\u5b58\u5728\u7684 gedit \u5b9e\u4f8b\u4e2d\u65b0\u5efa\u4e00\u4e2a\u6587\u6863<\/td><\/tr>
-w<\/td>\u4ee5\u72ec\u5360\u65b9\u5f0f\u6253\u5f00\u6587\u4ef6\u76f4\u5230\u6587\u4ef6\u5173\u95ed<\/td><\/tr>
-s<\/td>\u4ee5\u72ec\u7acb\u6a21\u5f0f\u8fd0\u884cgedit<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u53ef\u4f7f\u7528\u7684\u7f16\u7801\u9009\u9879\u5217\u8868\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gedit --list-encodings<\/pre>\n\n\n\n

\u8bbe\u7f6e\u6253\u5f00\u547d\u4ee4\u884c\u4e2d\u5217\u51fa\u7684\u6587\u4ef6\u65f6\u4f7f\u7528\u7684\u5b57\u7b26\u7f16\u7801\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gedit --encoding=GB2312<\/pre>\n\n\n\n

\u5728\u5df2\u5b58\u5728\u7684gedit\u5b9e\u4f8b\u4e2d\u65b0\u5efa\u4e00\u4e2a\u6700\u4e0a\u5c42\u7a97\u53e3\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gedit --new-window<\/pre>\n\n\n\n

\u4ee5\u72ec\u7acb\u6a21\u5f0f\u8fd0\u884cgedit\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gedit -s<\/pre>\n","protected":false},"excerpt":{"rendered":"

gedit\u547d\u4ee4\u662fGNOME\u684c\u9762\u73af\u5883\u7684\u5b98\u65b9\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5c3d\u7ba1gedit\u65e8\u5728\u7b80\u5316\u548c\u6613\u7528\uff0c\u4f46\u5b83\u662f\u529f\u80fd\u5f3a\u5927\u7684\u901a\u7528\u6587\u672c\u7f16\u8f91 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7995"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7995"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7995\/revisions"}],"predecessor-version":[{"id":8000,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7995\/revisions\/8000"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}