diff --git a/xkb/install.sh b/xkb/install.sh index 34eea2c..890e179 100755 --- a/xkb/install.sh +++ b/xkb/install.sh @@ -7,7 +7,10 @@ mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/xkb/symbols" cp ./rules/evdev "${XDG_CONFIG_HOME:-$HOME/.config}/xkb/rules/evdev" cp ./rules/evdev.xml "${XDG_CONFIG_HOME:-$HOME/.config}/xkb/rules/evdev.xml" cp ./symbols/acp "${XDG_CONFIG_HOME:-$HOME/.config}/xkb/symbols/acp" -setxkbmap -layout acp -print | tee "${XDG_CONFIG_HOME:-$HOME/.config}/xkb/keymap/acp" +cp ./keymap "${XDG_CONFIG_HOME:-$HOME/.config}/xkb/keymap/acp" + +# Compile a new keymap with: +# setxkbmap -layout acp -print | tee ./keymap # Load the layout in X11 if needed with: # xkbcomp -w0 -I"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" -R"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" keymap/acp $DISPLAY diff --git a/xkb/keymap b/xkb/keymap new file mode 100644 index 0000000..b4423aa --- /dev/null +++ b/xkb/keymap @@ -0,0 +1,7 @@ +xkb_keymap { + xkb_keycodes { include "evdev+aliases(qwerty)" }; + xkb_types { include "complete" }; + xkb_compat { include "complete" }; + xkb_symbols { include "pc+acp+inet(evdev)" }; + xkb_geometry { include "pc(pc105)" }; +};