Bug 57813

Summary: [PATCH] Add new options to swap RALT and RWIN - useful for macbook keyboards
Product: xkeyboard-config Reporter: Mathieu Boespflug <mboes>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: mboes
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch.

Description Mathieu Boespflug 2012-12-02 18:09:10 UTC
Created attachment 70937 [details]
Patch.

Please find attached a patch to add two new options, altwin:switch_alt_win and altwin:switch_ralt_rwin. Previously, there was only an altwin:switch_lalt_lwin option, which ony did the job for the Alt and Windows keys at the left of the spacebar, but not for those on the right.
Comment 1 jbo 2012-12-08 21:01:43 UTC
+1

I was also ready to submit a similar patch. I already make this local modification on each of my machines so that my right "ALT" can act as a "SUPER" to deal with keyboard mapping conflicts between XFCE and other programs.
Comment 2 Sergey V. Udaltsov 2012-12-20 23:36:35 UTC
Would it make sense just to have single swap_alt_win? I would prefer not to increase the number of options unnecessarily...
Comment 3 Mathieu Boespflug 2012-12-21 05:04:31 UTC
Sure. Makes sense to me.
Comment 4 Sergey V. Udaltsov 2012-12-23 21:36:53 UTC
committed. only unified option. pls check
Comment 5 Réczey Bálint 2012-12-23 22:13:27 UTC
There is a similar patch in bug #55311.
Comment 6 Julien Cristau 2012-12-25 11:02:29 UTC
(In reply to comment #2)
> Would it make sense just to have single swap_alt_win? I would prefer not to
> increase the number of options unnecessarily...

Isn't that going to break existing configs using the old option?
Comment 7 Sergey V. Udaltsov 2012-12-26 22:15:20 UTC
Well, you are right. That option will get ignored. Sometimes I allow those little breakages. Sometimes they are even unavoidable - if you remember terminate:ctrl_alt_bksp introduction. So in this particular case I do not think the damage is serious. People will find out.

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.