switch from ibus to fcitx, update rc.lua accordingly

Ibus is not maintained as well as fcitx, which is quite alive
project, which also plays nice with pinyin and anthy as well.
This commit is contained in:
2017-02-15 20:23:44 +03:00
parent 2fd57e93fa
commit 2352520f55
2 changed files with 4 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ awful.util.spawn_with_shell(
awful.util.spawn_with_shell(
"xmodmap -e 'clear Lock' -e 'keycode 66 = Control_L' -e 'add Control = Control_L'")
awful.util.spawn_with_shell("ibus-daemon -d -r -x -n awesome")
awful.util.spawn_with_shell("fcitx -r")
-- @DOC_LAYOUT@
-- Table of layouts to cover with awful.layout.inc, order matters.

3
.xinitrc Normal file
View File

@@ -0,0 +1,3 @@
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx