#719494 /usr/share/X11/xkb/symbols/ctrl: cannot remap left control key when using ctrl:nocaps option

#719494#5
Date:
2013-08-12 13:43:36 UTC
From:
To:
Hello,

I was trying to swap left control and window key and I kept getting both
control and mod4 modifier on left control.

It turns out that ctrl:nocaps unconditionally maps control to left
control. This is useless because the pc keymap already does that mapping
in a more reasonable way and the nocaps mapping conflicts with possible
latter mappings of the left control key.

Please fix the ctrl file.

Thanks

Michal
--- symbols/ctrl~       2013-08-12 14:17:15.000000000 +0200
+++ symbols/ctrl        2013-08-12 15:12:30.000000000 +0200
@@ -2,7 +2,7 @@
 partial modifier_keys
 xkb_symbols "nocaps" {
     replace key <CAPS> {  [ Control_L, Control_L ] };
-    modifier_map  Control { <CAPS>, <LCTL> };
+    modifier_map  Control { <CAPS> };
 };

 // replace left control with Meta

#719494#10
Date:
2014-10-26 18:04:36 UTC
From:
To:
Control: tag -1 upstream
Please forward this bug/patch upstream at
https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-config

See also
http://www.freedesktop.org/wiki/Software/XKeyboardConfig/Development/
for instructions.  Let us know the bug number for tracking.

Thanks,
Julien