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

Bug#421532: Missing line in US keyboard layout



Package: xkb-data
Version: 0.9-4
Severity: important

Hello,

My system is Debian 4.0 (Etch) with X.org 7.1.1 on
an i686.

When I execute the following command:

setxkbmap -layout tr,us -option grp:alts_toggle

and change the layout to the US layout by pressing both
Alt keys at the same time, the key just above the right
shift key acts like it got stuck in the Turkish keyboard
layout. To be specific, it prints "," and ";" with shift
instead of "\" and "|" with shift. I found out that this
occurs because of a missing line in US layout's xkb
symbols file which is

/usr/share/X11/xkb/symbols/us

If the attached patch is applied to the mentioned file
then this problem ceases to exist.

Note: The attached patch is a patch to the latest
version of the US keyboard layout file from the
CVS of freedesktop.org. Please see:

http://webcvs.freedesktop.org/xkeyboard-config/xkeyboard-config/symbols/us?view=co

for the latest version of the US keyboard layout.

For a more detailed description of this bug and
a more lengthy way of reproducing it in GNOME,
please see:

http://bugzilla.gnome.org/show_bug.cgi?id=433300

Please see the following for even more information:

http://bugs.freedesktop.org/show_bug.cgi?id=8789
https://bugs.freedesktop.org/show_bug.cgi?id=10811

Thank you for your attention.

- situert



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--- us.original	2007-04-30 00:00:02.000000000 +0300
+++ us	2007-04-29 23:58:20.000000000 +0300
@@ -1,4 +1,4 @@
-// $XKeyboardConfig: xkbdesc/symbols/us,v 1.22 2006/10/09 21:37:13 svu Exp $
+// $XKeyboardConfig: xkeyboard-config/symbols/us,v 1.28 2007/04/29 16:28:26 svu Exp $
 
 //
 // $XdotOrg: xc/programs/xkbcomp/symbols/us,v 1.1.4.3 2004/03/05 13:41:33 eich Exp $
@@ -61,9 +61,23 @@
     key <AB09> {	[    period,	greater		]	};
     key <AB10> {	[     slash,	question	]	};
 
+    key <BKSL> {	[ backslash,         bar	]	};
+    key <CAPS> {	[ Caps_Lock	]	};
     // End alphanumeric section
 };
 
+partial alphanumeric_keys
+xkb_symbols "euro" {
+
+    name[Group1]= "U.S. English - With EuroSign on 5";
+
+    include "us(basic)"
+
+    include "eurosign(5)"
+
+    include "level3(ralt_switch)"
+};
+
 
 partial alphanumeric_keys
 xkb_symbols "intl" {
@@ -103,6 +117,7 @@
     key <AC01> { [	   a,          A,        aacute,           Aacute ] };
     key <AC02> { [	   s,          S,        ssharp,          section ] };
     key <AC03> { [	   d,          D,           eth,              ETH ] };
+    key <AC08> { [	   k,          K,            oe,               OE ] };
 
     key <AC09> { [	   l,          L,        oslash,         Ooblique ] };
     key <AC10> { [ semicolon,      colon,     paragraph,           degree ] };
@@ -235,6 +250,8 @@
     key <AB08> { [	    w,	W		]	};
     key <AB09> { [	    v,	V		]	};
     key <AB10> { [	    z,	Z		]	};
+
+    key <BKSL> { [  backslash,  bar             ]       };
 };
 
 // Left and right handed dvorak layouts
@@ -427,6 +444,7 @@
     key <AB08> { [	    w,	W		]	};
     key <AB09> { [	    v,	V		]	};
     key <AB10> { [	    z,	Z		]	};
+    key <BKSL> { [  backslash,  bar             ]       };
 };
 
 // phonetic layout for Russian letters on an US keyboard
@@ -491,4 +509,3 @@
     include "us"
     name[Group1]= "U.S. English - Macintosh";
 };
-

Reply to: