06-11-2023, 03:19 AM
(05-13-2022, 01:56 AM)primary-suaerkraut Wrote: I got AltG working as modifier to reach the under-number-keys by editing the beginning of
/usr/share/X11/xkb/symbols/en
[...]
I can confirm this works on Manjaro Phosh (tested on the Pinephone Pro). The Mobian instructions (exporting the "XKB_DEFAULT_MODEL" environment variable) did not work and were not needed.
Slight tweak of the instructions you provided that worked for me:
The file I had to edit was
Code:
/usr/share/X11/xkb/symbols/us
The following is the same as previously posted, but with key bindings for the Sterling-Pound (£) and Euro (€) symbols included:
Code:
default partial alphanumeric_keys modifier_keys
xkb_symbols "basic" {
name[Group1]= "English (US)";
key <TLDE> {[ grave, asciitilde ]};
key <AE01> {[ 1, exclam, bar ]};
key <AE02> {[ 2, at, backslash ]};
key <AE03> {[ 3, numbersign, sterling ]};
key <AE04> {[ 4, dollar, EuroSign ]};
key <AE05> {[ 5, percent, asciitilde ]};
key <AE06> {[ 6, asciicircum, grave ]};
key <AE07> {[ 7, ampersand, minus ]};
key <AE08> {[ 8, asterisk, equal ]};
key <AE09> {[ 9, parenleft, underscore ]};
key <AE10> {[ 0, parenright, plus ]};
key <AE11> {[ minus, underscore ]};
key <AE12> {[ equal, plus ]};