From a97c14ba2d412aef169ded022da5d309f8c3d0db Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 23 Oct 2025 13:42:52 +0200 Subject: [PATCH] --- phork0.txt | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 phork0.txt diff --git a/phork0.txt b/phork0.txt new file mode 100644 index 0000000..55279db --- /dev/null +++ b/phork0.txt @@ -0,0 +1,85 @@ +https://xkbcommon.org/doc/current/user-configuration.html +https://xkbcommon.org/doc/current/debugging.html +https://p.cweiske.de/678 +https://www.mkammerer.de/blog/custom-keyboard-layouts-in-cinnamon/ +https://codeaffen.org/2023/09/16/custom-keyboard-layouts-with-xkb/ + +áóúé +Englisch (International, mit AltGr-Akzenttasten) +/var/lib/dpkg/info/keyboard-configuration.config +de*variant*us*altgr-intl*English (USA) - Englisch (International, mit AltGr-Akzenttasten) + +/usr/share/X11/xkb/symbols/pc + +partial alphanumeric_keys modifier_keys +xkb_symbols "hyper" { + name[Group1]= "Hyper (US)"; + include "us(basic)" + key { [ Hyper_L ] }; + modifier_map Mod3 { }; +}; + + + +l$ setxkbmap -query +rules: evdev +model: pc105 +layout: us +variant: altgr-intl + +/.config/xkb/symbol/us + +partial +xkb_symbols "pc+us(altgr-intl)+inet(evdev)" { + include "pc+us(altgr-intl)+inet(evdev)" + + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ e, E, EuroSign, EuroSign ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ a, A, ae, AE ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ u, U, ue, UE ] + }; + key { + type= "FOUR_LEVEL_ALPHABETIC", + symbols[Group1]= [ o, O, oe, OE ] + }; +} + + + +tail -f ~/.xsession-errors +xkbcli compile-keymap --include ~/.config/xkb --include-defaults --layout custom|less +xkbcli list + + +compilation errors: + +root@gpc-rom:/home/cweiske/.config/xkb# xkbcli interactive-evdev --include /home/cweiske/.config/xkb --include-defaults --layout 'us(cweiske)' + +udevadm trigger --subsystem-match=input --action=change + + +emacs /usr/share/X11/xkb/rules/evdev.xml +root@gpc-rom:/usr/share/X11/xkb/symbols# ln -s /home/cweiske/.config/xkb/symbols/cweiske . + + + +cweiske@gpc-rom:~$ tail -f ~/.xsession-errors +Error: Can't find file "cweiske" for symbols include + Exiting + Abandoning symbols file "(null)" + +(csd-keyboard:447450): csd-keyboard-WARNING **: 13:28:46.817: Could not activate the XKB configuration +Error: Can't find file "cweiske" for symbols include + Exiting + Abandoning symbols file "(null)" + +(csd-keyboard:447450): csd-keyboard-WARNING **: 13:29:24.217: Could not activate the XKB configuration + + -> symlink \ No newline at end of file -- 2.30.2