Summary: | setxkbmap win_space_toggle doesn't work switching to colemak | ||
---|---|---|---|
Product: | xkeyboard-config | Reporter: | Devin Waas <dsc.waas> |
Component: | General | Assignee: | xkb |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | eich |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Proposed fix. |
Description
Devin Waas
2016-04-27 12:17:11 UTC
Created attachment 123369 [details] [review] Proposed fix. With: setxkbmap -layout us,us -variant ',colemak' -option 'grp:win_space_toggle' toggling works for switching from us-standard to us-colemak but not back, ie. from Group2 to Group1. Since us-colemak explicitly sets symbols for <SPCE>, us-standard doesn't. win_space_toggle only sets Group1. Therefore the inheritance from Group1 to Group2 doesn't work. This could either be resolved by removing the explicit setting of <SPCE> in us-colmak (losing the 'nobreaksapce' in the 4th column) or by modifying the group modifier to: partial modifier_keys xkb_symbols "win_space_toggle" { key <SPCE> { type="PC_SUPER_LEVEL2", symbols[Group1]= [ space, ISO_Next_Group ], symbols[Group2]= [ space, ISO_Next_Group ] }; }; It should be noted that most of the group modifiers only set Group1. Good idea. Thank you, committed! |
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.