diff --git a/pkg/de-p1st-installer/de-p1st-installer.sh b/pkg/de-p1st-installer/de-p1st-installer.sh index a0bf968..da8ea9e 100755 --- a/pkg/de-p1st-installer/de-p1st-installer.sh +++ b/pkg/de-p1st-installer/de-p1st-installer.sh @@ -153,6 +153,8 @@ function choose_mount_options() { } function run_pacstrap() { + # TODO: intel/amd/none CPU_VENDOR + case "${BIOS_TYPE}" in uefi) pacstrap /mnt "${KERNEL}" "${KERNEL}-headers" de-p1st-base-efi || return $? diff --git a/pkg/de-p1st-keyboard-x11/README.md b/pkg/de-p1st-keyboard-x11/README.md new file mode 100644 index 0000000..eba6b83 --- /dev/null +++ b/pkg/de-p1st-keyboard-x11/README.md @@ -0,0 +1,45 @@ +# xorg / X11 keyboard configuration + +==> xkb `model`, `layout` and `variant` + +--- + +`setxkbmap -query` +* list current xkb keymap config + +`localectl list-x11-keymap-layouts` +* list xkb layouts, e.g. "de" for German and "no" for Norwegian + +`localectl list-x11-keymap-variants de` +* list xkb variants for the layout "de", e.g. "nodeadkeys" + +--- + +`cat /usr/share/X11/xkb/rules/base.lst` +* list all models, layouts and variants with description + +--- + +`/etc/X11/xorg.conf.d/00-keyboard.conf` +* persistent xorg keymap + +`localectl --no-convert set-keymap de-latin1-nodeadkeys` +* generates `/etc/X11/xorg.conf.d/00-keyboard.conf` + +`setxkbmap -rules xorg -layout de -variant nodeadkeys -option "grp:alt_caps_toggle"` +* temporarily change xorg keymap + +--- + +`man xkeyboard-config` +* OPTIONS -> Switching to another layout + * grp:alt_caps_toggle <=> Alt+Caps Lock + +`man setxkbmap` and [https://www.x.org/releases/X11R7.5/doc/input/XKB-Config.html](https://www.x.org/releases/X11R7.5/doc/input/XKB-Config.html) +* XkbVariant - variant(s) of the layout you intend to use +* The XkbVariant option has been left out. That means the default variant named "basic" is loaded. +* equivalency between "00-keyboard.conf" config file and "setxkbmap" command + +--- + +Nice writeup: [https://simpleit.rocks/linux/switch-keyboard-layouts/](https://simpleit.rocks/linux/switch-keyboard-layouts/) diff --git a/pkg/de-p1st-keyboard/README.md b/pkg/de-p1st-keyboard/README.md new file mode 100644 index 0000000..4bc5e59 --- /dev/null +++ b/pkg/de-p1st-keyboard/README.md @@ -0,0 +1,14 @@ +# Virtual Console keyboard mapping + +==> VC keymap + +`localectl status` +* list current console (VC) and xorg (X11) keymap + +`localectl list-keymaps | grep de` +* List available console keyboard mappings and filter German ones, e.g. "de-latin1-nodeadkeys" + +`/etc/vconsole.conf` +* persistent console keymap + +Archwiki: [Installation_guide#Localization](https://wiki.archlinux.org/index.php/Installation_guide#Localization)