Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 4059 - Support for xkbmap missing
Support for xkbmap missing
Product: Red Hat Linux
Classification: Retired
Component: xinitrc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
Depends On:
  Show dependency treegraph
Reported: 1999-07-15 17:08 EDT by Milan Kerslager
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-09-23 14:30:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Milan Kerslager 1999-07-15 17:08:29 EDT
As xkb is 'new and true' support for national keyboards
under X we need support for easy localization of RH

/etc/X11/xinit/xinitrc should contain something like:


if [ -f $sysxkbmap ]; then
    setxkbmap `cat $sysxkbmap`

if [ -f $userxkbmap ]; then
    setxkbmap `cat $userxkbmap`

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

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.
Comment 1 Milan Kerslager 1999-09-14 19:08:59 EDT
Patch submited. If you want, download whole PGP signed package:

Public PGP key by: finger kerslage@pluto.spsselib.hiedu.cz

I wish to have it in 6.1 (to be happy due localization feature).
Patch to Xfree follow...
Comment 2 Preston Brown 1999-09-23 14:30:59 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.