Bug 74130 - rh-cfg-xf86 has wrong option for keyboard
Summary: rh-cfg-xf86 has wrong option for keyboard
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-xfree86
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-09-16 18:38 UTC by Thomas Dodd
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2002-12-02 18:18:18 UTC

Attachments (Terms of Use)

Description Thomas Dodd 2002-09-16 18:38:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827

Description of problem:
To swap the <CTRL> and <Cap> keys the correct option is ctrl:swapcaps

rh-cfg-cf86 inserts a commented line for it as ctrl:nocaps.
That makes the <Caps> key work as control, but there is no caps-lock key then.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.configure X server with rh-cfg-xf86
2.look at the resulting XF86Config file

Actual Results:  XF86Config has this line:
# If you'd like to switch the positions of you capslock and
# controls keys, use:
#        Option  "XkbdOptions"   "ctrl:nocaps"

That option disables the capslock function (no key for it)

Expected Results:  it should be:
#        Option  "XkbdOptions"   "ctrl:swapcaps"

That option actuall swapps the functionality.

Additional info:

A check box for this option in rh-cfg-xf86 would be nice too.
Like the one for emulate 3 buttons on mice.

Having that option also switch the keys in console mode would be outstanding. I
a use does it in X they are likely to want it on the console too.

Comment 1 Brent Fox 2002-12-03 17:10:37 UTC
I think that this has been fixed in the latest tree.  By the way, I think that
this was actually fixed in the XFree86 package, not redhat-config-xfree86.  The
file now says:

# If you'd like to switch the positions of your capslock and
# controls keys, use:
#        Option  "XkbdOptions"   "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option  "XkbdOptions"   "ctrl:nocaps"

Thanks for your report.

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