Pre-build keymap
This commit is contained in:
parent
01fc882d2e
commit
4f9235ae6f
2 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
7
xkb/keymap
Normal file
7
xkb/keymap
Normal file
|
@ -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)" };
|
||||
};
|
Loading…
Reference in a new issue