[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: xkb-data
Version: 2.5.1-3
Severity: normal
File: /usr/share/X11/xkb/symbols/ctrl

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



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (910, 'testing'), (900, 'stable'), (610, 'oldstable'), (500, 'testing'), (410, 'unstable'), (200, 'experimental'), (150, 'precise-updates'), (150, 'precise-security'), (150, 'precise')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/X11/xkb/rules/evdev (from xkb-data package)
debsums: changed file /usr/share/X11/xkb/symbols/altwin (from xkb-data package)
debsums: changed file /usr/share/X11/xkb/symbols/ctrl (from xkb-data package)


Reply to: