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

Bug#400515: /usr/share/X11/xkb/symbols/us: backslash not working in us layout if layout set to cz, us



Package: xkb-data
Version: 0.9-4
Severity: minor
File: /usr/share/X11/xkb/symbols/us


Hi!

The BKSL key (backslash/pipe key) is not working properly if I set xxkbmap to

setxkbmap -rules xorg -model pc105 -layout cz,us -option
"grp:alt_shift_toggle"

The backslash key does not set back to backslash/pipe key when toggled
to "us" layout from "cz" layout. It has the same "cz" function on both
layouts.

Strangely enough, if I set "us" layout first...

setxkbmap -rules xorg -model pc105 -layout us,cz -option
"grp:alt_shift_toggle"

...everything works correctly.

Attached patch fixes the problem for me:

--- symbols/us.orig     2006-11-26 20:46:13.000000000 +0100
+++ symbols/us  2006-11-26 20:54:51.000000000 +0100
@@ -60,6 +60,7 @@
     key <AB08> {       [     comma,    less            ]       };
     key <AB09> {       [    period,    greater         ]       };
     key <AB10> {       [     slash,    question        ]       };
+    key <BKSL> {       [ backslash,    bar     ] };

// End alphanumeric section
 };


Thank you,

Marek

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-k7
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to cs_CZ.UTF-8)

-- no debconf information
--- symbols/us.orig	2006-11-26 20:46:13.000000000 +0100
+++ symbols/us	2006-11-26 20:54:51.000000000 +0100
@@ -60,6 +60,7 @@
     key <AB08> {	[     comma,	less		]	};
     key <AB09> {	[    period,	greater		]	};
     key <AB10> {	[     slash,	question	]	};
+    key <BKSL> {	[ backslash,	bar	]	};
 
     // End alphanumeric section
 };

Reply to: