From 4be90666c1619b040b603e82849a47ad0a46ed85 Mon Sep 17 00:00:00 2001 From: taptap Date: Wed, 15 Feb 2017 20:23:44 +0300 Subject: [PATCH] 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. --- .config/awesome/rc.lua | 2 +- .xinitrc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .xinitrc diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index eaa84f7..d71aab2 100755 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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. diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..c88c56e --- /dev/null +++ b/.xinitrc @@ -0,0 +1,3 @@ +export GTK_IM_MODULE=fcitx +export QT_IM_MODULE=fcitx +export XMODIFIERS=@im=fcitx