In 'sudo gedit' I can not use Ctrl Space to activate fcitx input method.
I can activate fcitx with Ctrl Space as normal user.
I use ubuntu12.04.2 amd64 arch.
How to do with it ?
Thanks
In 'sudo gedit' I can not use Ctrl Space to activate fcitx input method.
I can activate fcitx with Ctrl Space as normal user.
I use ubuntu12.04.2 amd64 arch.
How to do with it ?
Thanks
Check: https://fcitx-im.org/wiki/FAQ#Root_application_under_normal_user_X
Root application in general cannot communicate with user application by user session dbus, but xim only has the restriction of things need to be run under same X.
BTW, X application is in general broken with sudo, it's highly recommended not to do that.
For example, if you're using media player, and use mpris(a user session dbus protocol) to control this player, if thsi media player is running as root user, your controller will not be able to control it. And your root application will not find gnome-settings-daemon, and similar things will happen to many app.
– csslayer Jul 04 '13 at 20:35
gksudo gedit
broken as well? (explained) – ignis Jul 04 '13 at 15:22gksudo gedit
successfully, but can not activatefcitx
in it. – waterloo2005 Jul 05 '13 at 04:21