[求助]使用sudo sublime..启动后 无法输入中文 怎么破
Tofloor
poster avatar
LikeWorkInDeepin
deepin
2017-08-06 06:50
Author
是因为sudo之后改变了启动环境 让sublime没有中文输入补丁么
如何解决

Reply Favorite View the author
All Replies
avatar
yanhuacuo
deepin
2017-08-06 07:48
#1
root 权限下的环境变量与普通用户是不同的,解决办法就是不用sudo
Reply View the author
avatar
jingle
deepin
2017-08-06 17:24
#2
搜索社区,以前有解决办法
Reply View the author
avatar
ttou
deepin
2017-08-06 20:15
#3
放弃吧 linux下用sublime各种膈应 官方也不解决
Reply View the author
avatar
jingle
deepin
2017-08-15 21:53
#4
Reply View the author
avatar
LikeWorkInDeepin
deepin
2017-09-07 03:58
#5
管理员的给的链接 莫非是让我还是去用vscode
Reply View the author
avatar
dwy1024
deepin
2017-09-07 04:22
#6
https://bbs.deepin.org/post/143771
管理员的给的链接 莫非是让我还是去用vscode

用 DejaVu Sans Mono 字体就可以输入中文,而且是对齐的,不要用中文补丁
Reply View the author
avatar
a2035274
deepin
2017-09-15 23:57
#7
本帖最后由 a2035274 于 2017-9-15 19:40 编辑
https://bbs.deepin.org/post/143771
管理员的给的链接 莫非是让我还是去用vscode

他想给的应该是这个,然后让你自已去编译
https://bbs.deepin.org/post/32753

不过,我感觉应该没什么变化
还是先在普通用户下写好中文然后再
sudo sublime-text-dev

Reply View the author
avatar
a2035274
deepin
2017-09-15 23:59
#8
本帖最后由 a2035274 于 2017-9-15 17:10 编辑
https://bbs.deepin.org/post/143771
用 DejaVu Sans Mono 字体就可以输入中文,而且是对齐的,不要用中文补丁

应该是fcitx输入法的问题
我试了一下只改sublime字体不好用啊
还有命令行输入sudo gedit 也不能输入中文

Reply View the author
avatar
dwy1024
deepin
2017-09-16 01:42
#9
https://bbs.deepin.org/post/143771
应该是fcitx输入法的问题
我试了一下只改sublime字体不好用啊
还有命令行输入sudo gedit 也不能输入中文

用 搜狗输入法
Reply View the author
avatar
dwy1024
deepin
2017-09-16 02:02
#10
https://bbs.deepin.org/post/143771
应该是fcitx输入法的问题
我试了一下只改sublime字体不好用啊
还有命令行输入sudo gedit 也不能输入中文

用搜狗输入法加DejaVu Sans Mono字体可以正常使用

Reply View the author
avatar
a2035274
deepin
2017-09-16 03:30
#11
用命令行打开的吗?
  1. sudo sublime-text-dev
Copy the Code



Reply View the author
avatar
dwy1024
deepin
2017-09-16 04:05
#12
https://bbs.deepin.org/post/143771
用命令行打开的吗?

用普通用户打开文件,修改完之后,按Ctrl+S保存,会提示让你输入密码的,没有必要用 root 账户
Reply View the author
avatar
a2035274
deepin
2017-09-16 04:12
#13
https://bbs.deepin.org/post/143771
用普通用户打开文件,修改完之后,按Ctrl+S保存,会提示让你输入密码的,没有必要用 root 账户 ...

你说的对啊
Reply View the author