As xkb is 'new and true' support for national keyboards under X we need support for easy localization of RH distributions. /etc/X11/xinit/xinitrc should contain something like: userxkbmap=$HOME/.Xkbmap sysxkbmap=/etc/X11/xinit/Xkbmap if [ -f $sysxkbmap ]; then setxkbmap `cat $sysxkbmap` fi if [ -f $userxkbmap ]; then setxkbmap `cat $userxkbmap` fi Same sequence is needed in /etc/X11/xdm/Xsession. There is a problem: setxkbmap do not read configuration from file so I used `cat file`. Another problem is that use of mutilple methods of keyboards settings are bad in final effect. So the scripts should raher contain something like (to avoid keyboard malfunction due users stupidity): if [ -f ...]; then ... elif [ -f ...]; then ... elif [ -f ...]; then ... fi This was in one of this files already but somebody changed both to (bad) current form. I mean that the first condition should be xkb method mentioned above as this is new and will be supported in future. Thus other methods should never be used when xkb is once configured. Thanx a lot.
Patch submited. If you want, download whole PGP signed package: ftp://ftp.spsselib.hiedu.cz/pub/users/Kerslager/RedHat-6.0/SRPMS/xinitrc-2.4.1-2cs.src.rpm Public PGP key by: finger kerslage.hiedu.cz I wish to have it in 6.1 (to be happy due localization feature). Patch to Xfree follow...
Generally xkb is configured through /etc/X11/XF86Config. However, your additions seem harmless and perhaps beneficial, so I have added them for the next release.