Bug 81271

Summary: Add option to swap right alt & right control
Product: xkeyboard-config Reporter: Ari Pollak <ajp+freedesktop>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: balint
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=55311
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to add ctrl_rwin_ctl option

Description Ari Pollak 2014-07-12 18:13:12 UTC
Created attachment 102676 [details]
Patch to add ctrl_rwin_ctl option

Originally from http://bugs.debian.org/752680:

Apple keyboards, when the hid_apple kernel module is loaded with
swap_opt_cmd=1, have two modifier keys on the right side of the space bar:
<Alt> <Win>. Having a right-side windows key is not nearly as useful
as having a right-side control key, so the attached patch adds an option to swap
them with a new ctrl:rwin_rctl option. I couldn't figure out how to get this to work locally in a clean fashion without modifying this package.  

I also noticed that there were a bunch of missing ctrl: options from
rules/base, which seemed to prevent them from being used in setxkbmap
-option, so I fixed that too.

#55311 is similar, but is only useful when the hid_apple is loaded with the default options.
Comment 1 Sergey V. Udaltsov 2014-08-17 23:05:01 UTC
ok, let's do it this way... Thank you!
Comment 2 Sergey V. Udaltsov 2014-08-17 23:05:36 UTC
*** Bug 55311 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.