Guest User

unable_to_login.patch

a guest
Jan 19th, 2016
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Description: Switch input language by Caps Lock
  2.  
  3. --- ./liveinit~ 2016-01-17 11:38:26.243958975 +0300
  4. +++ ./liveinit 2016-01-17 11:46:24.732937759 +0300
  5. @@ -387,7 +387,18 @@
  6. chmod 755 /mnt/overlay/etc/rc.d/rc.keymap
  7. # Set a usable keyboard mapping in X.Org, derived from the console map:
  8. mkdir -p /mnt/overlay/etc/X11/xorg.conf.d
  9. - cat <<EOT > /mnt/overlay/etc/X11/xorg.conf.d/30-keyboard.conf
  10. + case "$(echo $KEYMAP |cut -c1-2)" in
  11. + ru) cat <<EOT > /mnt/overlay/etc/X11/xorg.conf.d/30-keyboard.conf
  12. +Section "InputClass"
  13. + Identifier "keyboard-all"
  14. + Driver "evdev"
  15. + Option "XkbLayout" "us,ru"
  16. + Option "XkbOptions" "grp:caps_toggle,grp_led:caps"
  17. + MatchIsKeyboard "on"
  18. +EndSection
  19. +EOT
  20. + ;;
  21. + *) cat <<EOT > /mnt/overlay/etc/X11/xorg.conf.d/30-keyboard.conf
  22. Section "InputClass"
  23. Identifier "keyboard-all"
  24. Driver "evdev"
  25. @@ -395,6 +406,8 @@
  26. MatchIsKeyboard "on"
  27. EndSection
  28. EOT
  29. + ;;
  30. + esac
  31. fi
  32.  
  33. if [ ! -z "$LOCALE" ]; then
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×