Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174911

Summary: xkb pc/cz symbol file broken
Product: Gentoo Linux Reporter: Michal Suchanek <hramrach>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Suchanek 2007-04-17 14:09:44 UTC
I tried to set the cz(qwerty) keymap because gentoo does not feature the cz_qwerty alias. It failed with some weird error about shift_toggle.

At first glance it looks like the cz and cz(qwerty) layouts should be the same but the qwerty layout includes cz(basic) instead of pc/cz(basic).

Reproducible: Always

Steps to Reproduce:
setxkbmap cz(qwerty)

Actual Results:  
error

Expected Results:  
loads czech keymap

[I] x11-misc/xkbdata
     Available versions:  1.0.1
     Installed versions:  1.0.1(02:26:46 PM 04/17/2007)(debug)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org xkbdata data


This fixes the problem for me:

--- /usr/share/X11/xkb/symbols/pc/cz~   2007-04-17 14:26:46.000000000 +0200
+++ /usr/share/X11/xkb/symbols/pc/cz    2007-04-17 16:00:35.000000000 +0200
@@ -78,7 +78,7 @@
 
 // Use <BKSL> instead of <LSGT> (useful for keyboard without <LSGT> key)
 xkb_symbols "bksl" {
-    include "cz(basic)"
+    include "pc/cz(basic)"
     name[Group1]= "Czechia - With <\|> key";
 
     key <BKSL> { [ backslash,        bar,        slash,     NoSymbol ] };
@@ -91,7 +91,7 @@
     // of 'Z' and 'Y' keys, which are in the qwerty style (ie. swapped).
     // 2001 by Kamil Toman <ktoman@email.cz>
     
-    include "cz(basic)"
+    include "pc/cz(basic)"
     name[Group1]= "Czechia - qwerty";
 
     key <AB01> { [         z,          Z,       degree,     NoSymbol ] };
@@ -100,7 +100,7 @@
 
 // Use <BKSL> instead of <LSGT> (useful for keyboard without <LSGT> key)
 xkb_symbols "qwerty_bksl" {
-    include "cz(qwerty)"
+    include "pc/cz(qwerty)"
 
     name[Group1]= "Czechia - qwerty, extended Backslash";
Comment 1 Michal Suchanek 2007-04-17 14:15:03 UTC
upstream bug https://bugs.freedesktop.org/show_bug.cgi?id=5077
Comment 2 Dan 2007-04-17 15:30:01 UTC
Dupe of 157830.

It appears that xkbdata is going away soon anyways.

*** This bug has been marked as a duplicate of bug 157830 ***