How does adding and using a custom keyboard-layout work?

On my previous OS I had created my own custom keyboard-layout, to which I even added it as a new (constructed) language, mostly so that I could more easily use diacritics in case I want to type in another European language, but also create my own attempt at a unified EU language that’s not bound to qwerty or dependent on the US.

I created files and a script that would do the following:

  • 00-keyboard.conf copied to /etc/X11/xorg.conf.d
  • yr copied to /usr/share/X11/xkb/symbols
  • yr-af.map.gz copied to /usr/share/kbd/keymaps/i386/dvorak
  • KEYMAP=yr-af copied to /etc/vconsole.conf
  • yrdev.xml inserted into <layoutList> of usr/share/X11/xkb/rues/evdev.xml`

How would go about this in Guix?

Maybe you can read about it

1 Like

A good start.

That explains that the xkeyboard-config package contains all the keyboard configurations and that /run/current-system/profile/share/keymaps folder contains the available keymaps used.

Unfortunately, I seem to have have two xkeyboard-config folders in /gnu/store with the same version and I’m not sure why that is, but I think it’s related to another issue I have.