Bug 81271 - Add option to swap right alt & right control
Summary: Add option to swap right alt & right control
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
: 55311 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-12 18:13 UTC by Ari Pollak
Modified: 2014-08-17 23:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch to add ctrl_rwin_ctl option (2.00 KB, text/plain)
2014-07-12 18:13 UTC, Ari Pollak
Details

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.