commit c8f1a3b9c52583a348b2d0e6acc038b4c7d9a039 parent 30e7b7c3141cbc99cb431d910e0feab299e151aa 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-n900-keymap.sh | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/extra/n900/etc/profile.d/nokia-n900-keymap.sh b/extra/n900/etc/profile.d/nokia-n900-keymap.sh @@ -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