tn900-root: Load keymap in Xorg as well. - arm-sdk - os build toolkit for various embedded devices (HTM) git clone https://git.parazyd.org/arm-sdk (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit c8f1a3b9c52583a348b2d0e6acc038b4c7d9a039 (DIR) parent 30e7b7c3141cbc99cb431d910e0feab299e151aa (HTM) Author: parazyd <parazyd@dyne.org> Date: Mon, 29 Jan 2018 15:16:29 +0100 n900-root: Load keymap in Xorg as well. Diffstat: M extra/n900/etc/profile.d/nokia-n90… | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- (DIR) diff --git a/extra/n900/etc/profile.d/nokia-n900-keymap.sh b/extra/n900/etc/profile.d/nokia-n900-keymap.sh t@@ -1 +1,6 @@ -/bin/busybox loadkmap < /etc/nokia-n900.kmap +# Setup Nokia N900 keymap either on console or Xorg +if [ -n "$DISPLAY" ]; then + setxkbmap -rules evdev -model nokiarx51 -layout us -variant ",qwerty" +else + /bin/busybox loadkmap < /etc/nokia-n900.kmap +fi