From 2394ba638fb84097baf021b24bdc5ed8d98817a6 Mon Sep 17 00:00:00 2001 From: Alex Ibrado Date: Mon, 27 Nov 2017 13:28:55 +0800 Subject: [PATCH] Fix horizontal scroll direction for xiwi, issue #3519 --- chroot-bin/croutonxinitrc-wrapper | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chroot-bin/croutonxinitrc-wrapper b/chroot-bin/croutonxinitrc-wrapper index 2c476a18f..5201338a3 100755 --- a/chroot-bin/croutonxinitrc-wrapper +++ b/chroot-bin/croutonxinitrc-wrapper @@ -122,6 +122,8 @@ fi # Crouton-in-a-tab: Start fbserver and launch display if [ "$xmethodtype" = 'xiwi' ]; then + # Fix horizontal scroll direction + xmodmap -e "pointer = 1 2 3 4 5 7 6" # The extension sends evdev key codes: fix the keyboard mapping rules setxkbmap -rules evdev # Reapply xkb map: This fixes autorepeat mask in "xset q"