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

Bug#504022: xkb-data: 'us' secondary layout incompatible with (among others) compose:caps option



Package: xkb-data
Version: 1.3-2
Severity: normal
Tags: patch

With these settings for XKB:

	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"pl,us"
	Option		"XkbVariant"	""
	Option		"XkbOptions"	"compose:caps"

The "compose:caps" option does not work properly: The Caps Lock key
both switches caps lock and serves as compose instead of only compose
key.

The same happens with any secondary layout that includes 'us', such as
'ro.'

The attached patch fixes the problem, and does not break caps lock in
a pure us layout (no variant, no options).

Best Regards,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-2-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information

-- 
Cezary Kaliszyk
Intelligent Systems, Nijmegen University
Postbus 9010, 6500 GL Nijmegen, The Netherlands
Office +31 24 36 52631
http://www.cs.ru.nl/~cek/
--- /usr/share/X11/xkb/symbols/us~	2008-08-14 19:55:55.000000000 +0200
+++ /usr/share/X11/xkb/symbols/us	2008-10-30 16:14:34.000000000 +0100
@@ -62,7 +62,6 @@
     key <AB10> {	[     slash,	question	]	};
 
     key <BKSL> {	[ backslash,         bar	]	};
-    key <CAPS> {	[ Caps_Lock	]	};
     // End alphanumeric section
 };
 

Reply to: