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.
gksudo gedit
broken as well? (explained)gksudo gedit
successfully, but can not activatefcitx
in it.