hello,
i want to ADD to my keyboard’s space key, nonbreakable space on level 3, and thin nonbreakable space on level 4. that is all. i don’t want to change anything and i am quite happy with my layout.
so far i have done this:
mkdir -pv ~/.config/xkb/symbols
and created a custom file with the following contents:
partial alphanumeric_keys
xkb_symbols "spaces" {
key <SPCE> {
type[Group1]="FOUR_LEVEL",
symbols[Group1]= [ space, space, nobreakspace, U202F ]
};
};
probably that is crap, as it is advised by chatgpt.
than i entered
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'fr+custom(spaces)')]"
and lost my Alt-Gr. so i had to redo my old config
i am looking for something in the spirit of the following
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
which works across all apps, and survives reboot, or silverblue upgrades.