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

2006-11-26 Thread Marek Schmidt
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.0 +0100
+++ symbols/us  2006-11-26 20:54:51.0 +0100
@@ -60,6 +60,7 @@
 key  {   [ comma,less]   };
 key  {   [period,greater ]   };
 key  {   [ slash,question]   };
+key  {   [ 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.0 +0100
+++ symbols/us	2006-11-26 20:54:51.0 +0100
@@ -60,6 +60,7 @@
 key  {	[ comma,	less		]	};
 key  {	[period,	greater		]	};
 key  {	[ slash,	question	]	};
+key  {	[ backslash,	bar	]	};
 
 // End alphanumeric section
 };


Bug#347531: /usr/X11R6/lib/X11/locale/compose.dir: compose not working if LC_CTYPE=cs_CZ.UTF-8

2006-01-11 Thread Marek Schmidt
Package: xlibs-data
Version: 6.9.0.dfsg.1-3
Severity: minor
File: /usr/X11R6/lib/X11/locale/compose.dir


Compose is not working in Qt-based applications (and in GTK applications
if input module set to xim) if LC_CTYPE=cs_CZ.UTF-8

I've noticed that /usr/X11R6/lib/X11/locale/compose.dir contains lines
with cz_CZ.UTF-8:

en_US.UTF-8/Compose cz_CZ.UTF-8

correct language code is "cs", not "cz" for czech language, though.

It works OK when I replace cz_CZ.UTF-8 with cs_CZ.UTF-8 in compose.dir

This error seems to be introduced by patch in 
xorg-x11-6.9.0.dfsg.1/debian/patches/general/011a_recognize_glibc_2.3.2_locale_names.diff

thanks,

Marek Schmidt

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

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]