From 8ca14d590d1b897a4e4647a4e7c885af08a1a605 Mon Sep 17 00:00:00 2001 From: Linus Miller Date: Sat, 14 Nov 2015 16:16:25 +0100 Subject: [PATCH] Xorg keyboard setup and default KEYMAP in vconsole. --- etc/X11/xorg.conf.d/00-keyboard.conf | 11 +++++++++++ etc/vconsole.conf | 1 + 2 files changed, 12 insertions(+) create mode 100644 etc/X11/xorg.conf.d/00-keyboard.conf create mode 100644 etc/vconsole.conf diff --git a/etc/X11/xorg.conf.d/00-keyboard.conf b/etc/X11/xorg.conf.d/00-keyboard.conf new file mode 100644 index 0000000..5396520 --- /dev/null +++ b/etc/X11/xorg.conf.d/00-keyboard.conf @@ -0,0 +1,11 @@ +# Read and parsed by systemd-localed. It's probably wise not to edit this file +# manually too freely. +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Driver "evdev" + Option "XkbLayout" "us,se" + Option "XkbModel" "evdev" + Option "XkbVariant" "" + Option "XkbOptions" "grp:alt_shift_toggle" +EndSection diff --git a/etc/vconsole.conf b/etc/vconsole.conf new file mode 100644 index 0000000..6576f25 --- /dev/null +++ b/etc/vconsole.conf @@ -0,0 +1 @@ +KEYMAP="us"