--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: xkb-data: pc(pc105) maps <RWIN> instead of Super_R
- From: Pierre Habouzit <madcoder@debian.org>
- Date: Sun, 07 Jun 2009 23:18:53 +0200
- Message-id: <20090607211853.6778.63294.reportbug@artemis.corp>
Package: xkb-data,x11-xkb-utils
Version: 1.6-1
Severity: important
In /usr/share/X11/xkb/symbols/pc, one can read:
key <LWIN> { [ Super_L ] };
modifier_map Mod4 { <LWIN> };
[...]
key <RWIN> { [ Super_R ] };
modifier_map Mod4 { <RWIN> };
And a couple of similar stanzas.
I use the following xkb definition for my keyboard:
default xkb_keymap "mad_fr" {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols {
include "pc(pc105)+us+inet(logiaccess)"
replace key <CAPS> { [ Super_L, Super_L ] };
replace key <LWIN> { [ Super_L, Super_L ] };
replace key <RALT> { [ Multi_key, Multi_key ] };
replace key <RWIN> { [ Multi_key, Multi_key ] };
replace key <RCTL> { [ Insert, Insert ] };
replace key <MENU> { [ Multi_key, Multi_key ] };
modifier_map Lock { Caps_Lock };
modifier_map Control { <LCTL>, Control_L };
modifier_map Mod1 { <LALT>, Alt_L };
modifier_map Mod2 { Num_Lock };
modifier_map Mod4 { <LWIN>, <CAPS>, Super_L };
};
xkb_geometry { include "pc(pc105)" };
};
// vim:set ft=xkb:
Sadly, because <RWIN> is put in the modifier_map Mod4, even when I remap
<RWIN> to Multi_key, it remains in the modifier_map as <RWIN> which
yields really broken configuration for me. I've been forced to
temporarily add:
modifier_map Mod5 { <RWIN> };
to avoid the problem, which yields a warning from xkbcomp because RWIN
is associated to two maps.
I would suggest to use Super_R in the Mod4 map (and Super_L for the same
reason, and probably some other similar fixes would be nice across the
files), or that xkbcomp provides some way to empty a given modifier_map,
instead of _only_ providing the "extend" semantics.
Without one or the other, it makes it pretty difficult to remap magic
keys, which is really important for some quite broken (as in badly
placed keys) laptop keyboards...
--- End Message ---
--- Begin Message ---
- To: 532253-done@bugs.debian.org
- Subject: Re: Bug#532253: xkb-data: pc(pc105) maps <RWIN> instead of Super_R
- From: Julien Cristau <jcristau@debian.org>
- Date: Fri, 22 Apr 2022 17:02:01 +0200
- Message-id: <YmLDaVIymMJWuOMC@jcristau-z4>
- In-reply-to: <20090607211853.6778.63294.reportbug@artemis.corp>
- References: <20090607211853.6778.63294.reportbug@artemis.corp>
Closing this old report, the requested change is clearly not happening,
and would have had to be submitted upstream anyway.
Cheers,
Julien
On Sun, Jun 07, 2009 at 11:18:53PM +0200, Pierre Habouzit wrote:
> Package: xkb-data,x11-xkb-utils
> Version: 1.6-1
> Severity: important
>
> In /usr/share/X11/xkb/symbols/pc, one can read:
>
> key <LWIN> { [ Super_L ] };
> modifier_map Mod4 { <LWIN> };
>
> [...]
> key <RWIN> { [ Super_R ] };
> modifier_map Mod4 { <RWIN> };
>
> And a couple of similar stanzas.
>
> I use the following xkb definition for my keyboard:
>
> default xkb_keymap "mad_fr" {
> xkb_keycodes { include "evdev+aliases(qwerty)" };
> xkb_types { include "complete" };
> xkb_compat { include "complete" };
> xkb_symbols {
> include "pc(pc105)+us+inet(logiaccess)"
> replace key <CAPS> { [ Super_L, Super_L ] };
> replace key <LWIN> { [ Super_L, Super_L ] };
>
> replace key <RALT> { [ Multi_key, Multi_key ] };
> replace key <RWIN> { [ Multi_key, Multi_key ] };
> replace key <RCTL> { [ Insert, Insert ] };
> replace key <MENU> { [ Multi_key, Multi_key ] };
> modifier_map Lock { Caps_Lock };
> modifier_map Control { <LCTL>, Control_L };
> modifier_map Mod1 { <LALT>, Alt_L };
> modifier_map Mod2 { Num_Lock };
> modifier_map Mod4 { <LWIN>, <CAPS>, Super_L };
> };
> xkb_geometry { include "pc(pc105)" };
> };
>
> // vim:set ft=xkb:
>
> Sadly, because <RWIN> is put in the modifier_map Mod4, even when I remap
> <RWIN> to Multi_key, it remains in the modifier_map as <RWIN> which
> yields really broken configuration for me. I've been forced to
> temporarily add:
>
> modifier_map Mod5 { <RWIN> };
>
> to avoid the problem, which yields a warning from xkbcomp because RWIN
> is associated to two maps.
>
> I would suggest to use Super_R in the Mod4 map (and Super_L for the same
> reason, and probably some other similar fixes would be nice across the
> files), or that xkbcomp provides some way to empty a given modifier_map,
> instead of _only_ providing the "extend" semantics.
>
> Without one or the other, it makes it pretty difficult to remap magic
> keys, which is really important for some quite broken (as in badly
> placed keys) laptop keyboards...
>
>
--- End Message ---