Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
在root权限下,输入法不能用
Experiences and Insight
929
views ·
6
replies ·
To
floor
Go
qilinhack
deepin
2014-01-02 17:37
Author
使用sudo gedit test.c
此时搜狗输入法不能,以为是编辑器的原因,换成sublime-text结果还是一样
????
Reply
Like 0
Favorite
View the author
All Replies
cxbii
deepin
2014-01-02 17:38
#1
正常,不是bug
root下为了安全,不允许调用输入法
Reply
Like 0
View the author
qilinhack
deepin
2014-01-02 19:09
#2
这也正常? 我要编辑的一个网页在/opt目录下啊
Reply
Like 0
View the author
cxbii
deepin
2014-01-02 19:17
#3
这也正常? 我要编辑的一个网页在/opt目录下啊
这个我不太懂啊,但是这个root下不给调用输入法是问题的确存在
例如深度软件中心的做法是前后端分离,前端是普通权限运行的
Reply
Like 0
View the author
woodelf
deepin
2014-01-02 19:19
#4
用
sudo dbus-launch gedit test.c
Copy the Code
试试,某些图形程序需要dbus-launch进行后台消息通信。而root用户没有相应的dbus-launch进程,会导致某些程序运行不正常。
Reply
Like 0
View the author
poloshiao
deepin
2014-01-02 19:56
#5
sudo gedit test.c
gedit 是 圖形界面程式
要使用 root 權限
建議 使用 gksudo
環境變數設定會比較完全
1. gksudo 由 套件 gksu 提供
預裝 Deepin 時沒有安裝
所以第一次使用 需要先安裝
sudo apt-get install gksu
2. 使用方法
2-1. 非 root 帳號登入
按下 alt + F2
輸入
gksudo gedit
2-2. root 帳號登入 (Deepin 預設應該是不允許的)
gksu gedit
2-3. 另存它檔時 要小心
因爲是 root 權限
所以會蓋掉任何同名稱檔案
2-4. 參閱
http://manpages.ubuntu.com/manpages/tru ... ksu.1.html
在root权限下,输入法不能用
在未來的新版本發行
這個問題 好像已獲解決
Reply
Like 0
View the author
BingoLove
deepin
2014-01-02 20:57
#6
文件不多的话还是复制出来改完放回去吧
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
此时搜狗输入法不能,以为是编辑器的原因,换成sublime-text结果还是一样
????