mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
TODO + READMEs
This commit is contained in:
parent
65f8b805ce
commit
28719ce647
@ -153,6 +153,8 @@ function choose_mount_options() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function run_pacstrap() {
|
function run_pacstrap() {
|
||||||
|
# TODO: intel/amd/none CPU_VENDOR
|
||||||
|
|
||||||
case "${BIOS_TYPE}" in
|
case "${BIOS_TYPE}" in
|
||||||
uefi)
|
uefi)
|
||||||
pacstrap /mnt "${KERNEL}" "${KERNEL}-headers" de-p1st-base-efi || return $?
|
pacstrap /mnt "${KERNEL}" "${KERNEL}-headers" de-p1st-base-efi || return $?
|
||||||
|
45
pkg/de-p1st-keyboard-x11/README.md
Normal file
45
pkg/de-p1st-keyboard-x11/README.md
Normal file
@ -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/)
|
14
pkg/de-p1st-keyboard/README.md
Normal file
14
pkg/de-p1st-keyboard/README.md
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user