I use the following .Xmodmap file to map a few symbols and German Umlaute :keycode 108 = Mode_switchkeycode  13 = 4 dollar EuroSign                                                keycode  19 = 0 parenright degreekeycode  20 = minus underscore ssharpkeycode  21 = equal plus plusminuskeycode  47 = semicolon colon odiaeresis Odiaeresiskeycode  48 = apostrophe quotedbl adiaeresis Adiaeresiskeycode  49 = grave asciitilde grave asciitildeTo use it I just have to add this line to my .xsessionrc file:xmodmap ~/.Xmodmap &Unfortunately XFCE takes too long (many seconds) to load it and so I wanted to transfer these settings to the xkb system, which XFCE uses.But xkb seems too sophisticated to provide a similar simple solution for this simple task. How could the same be achieved with xkb?There is already an example of how to Override a few keycodes with XKB. However this is not a duplicate since my changes have to go to the xkb_symbols section and the solution needs some essential modifications. Furthermore my xkb file has to be in a folder named symbols/ e.g. ${HOME}/symbols/gergr:setxkbmap -print |sed -e '/xkb_symbols/s/[[:space:]]/+gergr&/' |xkbcomp -I${HOME} - $DISPLAYI am wondering what exactly does a working xkb file look like.
convert .Xmodmap to custom.xkb file and load it from $HOME directory - customize x keyboard
keyboard shortcuts;xkb;xmodmap