Bug 74130

Summary: rh-cfg-xf86 has wrong option for keyboard
Product: [Retired] Red Hat Linux Reporter: Thomas Dodd <ted>
Component: redhat-config-xfree86Assignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: mharris
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-02 18:18:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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:
Always

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

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.