commit 0c701a556db7dda7b8f86998905b3d277a150c70
parent 4d1cb0d15405167121d4805966868f61ca1e525d
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sat, 27 Jul 2024 08:56:25 +0900
change input method
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/config/X11/xinitrc b/config/X11/xinitrc
@@ -2,7 +2,6 @@
. "$HOME/.profile"
-setxkbmap -layout jp
userresources=$XDG_CONFIG_HOME/X11/Xresources
usermodmap=$XDG_CONFIG_HOME/X11/Xmodmap
@@ -14,14 +13,15 @@ if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
-export XMODIFIERS='@im=uim'
-export GTK_IM_MODULE="uim"
-export GTK3_IM_MODULE="uim"
+export XMODIFIERS='@im=ibus'
+export GTK_IM_MODULE="xim"
+export GTK3_IM_MODULE="xim"
+ibus-daemon -drx
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5
-xinput set-prop "/dev/wsmouse" "Device Accel Constant Deceleration" 0.4
+xinput set-prop "/dev/wsmouse" "Device Accel Constant Deceleration" 0.8
xsetroot -solid black
xidle -program "/usr/X11R6/bin/xlock"&