Bug 57813 - [PATCH] Add new options to swap RALT and RWIN - useful for macbook keyboards
Summary: [PATCH] Add new options to swap RALT and RWIN - useful for macbook keyboards
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 18:09 UTC by Mathieu Boespflug
Modified: 2012-12-26 22:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch. (2.54 KB, text/plain)
2012-12-02 18:09 UTC, Mathieu Boespflug
Details

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.