I'd like to load a custom keyboard layout on login, but either it doesn't load or it gets overridden by the default keyboard layout from 'keyboard preferences'. Unfortunately I can't select my layout there, since its not installed the way default keyboard layouts are, but compiled by xkbcomp.
This is the xkbcomp command
xkbcomp -I$HOME/.config/xkb/ $HOME/.config/xkb/thinkpad.xkb $DISPLAY
It works when entered in the terminal. But when put in /etc/rc.local or .xsession (there followed by the command "mate-session") or run as a 'startup application', the layout doesn't load (or maybe is overridden by the default).
How would I go about this? Or is it possible to install a layout compiled by xkbcomp without hacking .lst and .xml files manually?