- ~/.xsession, ~/.xsessionrc, ~/.xinitrc,
- ~/.config/autostart, and /etc/xdg/autostart,
- ~/.xmonad/xmonad.hs as startupHook,
The keyboard layout is set as the default one in Gnome and loads properly when I start Gnome instead of XMonad. However, dpkg-reconfigure keyboard-configuration does not see it even though I added it to /usr/share/X11/xkb/rules/base.lst, base.xml, evdev.lst, and evdev.xml.
I also tried creating /etc/X11/xorg.conf.d/10-keyboard.conf. This does load my layout in XMonad but for some reason it also disables the arrow keys. Also, when the layout is loaded via setxkbmap, and I type a dead key, it shows a preview of the diacritic that will be added while waiting for the second key to be pressed. When the layout is loaded via 10-keyboard.conf, it doesn't show this preview anymore. I quite like the preview, I'd like to have it – and the arrow keys too.