Forwarding this bug from Ubuntu reporter Luk Moj: http://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/770354 [Problem] Seven of the key mappings for the cz keyboard are incorrect for this user's keyboard. I don't know if it's a keyboard-specific issue or a problem with cz in general. [Original Description] When I press certain keys, I expect I'll get the keys on the keyboard in my layout, I get bad ones instead though. Even when it is the right keystrokes that work well even in Windows and on Mac, even the symbols are printed on the keyboard. This needs to be patched. Problem is the symbols are mapped on different keys, some symbols have been duplicated. Maybe new keyboard layout should be made, some users sure used to this "buggy" layout. I made a new one where all errors I've found are already corrected. I attach new layout in the patchfile. lsb_release is not relevant as this problem persists at least for 6 years in every distro I used (Ubuntu, Debian, Fedora, Linux Mint, etc...) P.S.: The patchfile was made from: /usr/share/X11/xkb/symbols/cz Best regards Luk Moj 174a175,198 > > partial alphanumeric_keys > xkb_symbols "qwerty_common" { > > // This layout should work properly and it's goal is to represent actual > // keyboard layout according to symbols printed on keys. > // ----------------------------------------------------------------------- > // This layout was created in 2011 by Lukáš Mojžíš <lmojzis@grenames.cz> > // Feel free to ask for further fixes to fully conform the original QWERTY > // layout. Everybody makes mistakes. It is made for users that used to > // use Czechia - qwerty on Windows or Mac OS and are a bit confused why > // thez press something and ged another symbol, that they didn't expect :). > > include "cz(basic)" > name[Group1]= "Czechia - qwerty, common"; > > key <AB01> { [ z, Z, degree, NoSymbol ] }; > key <AC10> { [ uring, quotedbl, semicolon, NoSymbol ] }; > key <AD06> { [ y, Y, NoSymbol, NoSymbol ] }; > key <AD11> { [ uacute, slash, bracketleft, braceleft ] }; > key <AD12> { [parenright, parenleft, bracketright, braceright ] }; > key <AE09> { [ iacute, 9, parenleft, dead_acute ] }; > key <AE10> { [ eacute, 0, parenright, dead_doubleacute ] }; > }; --- Architecture: amd64 CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell] CompositorRunning: compiz DRM.card0.DP.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: DRM.card0.HDMI.A.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: DRM.card0.LVDS.1: status: connected enabled: enabled dpms: On modes: 1366x768 edid-base64: AP///////wANr3EVAAAAACQSAQOAIxN4Cgf1mldOhyYeUFQAAAABAQEBAQEBAQEBAQEBAQEBfh1WwlAAJjAfQUwAWMEQAAAYAAAA/gBOMTU2QjYtTDA0CiAgAAAA/gBDTU8KICAgICAgICAgAAAA/gBOMTU2QjYtTDA0CiAgAD0= DRM.card0.VGA.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: DistUpgraded: Fresh install DistroCodename: natty DistroRelease: Ubuntu 11.04 DistroVariant: ubuntu DkmsStatus: virtualbox-ose, 4.0.4, 2.6.38-8-generic, x86_64: installed GraphicsCard: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 18) (prog-if 00 [VGA controller]) Subsystem: Device [1b0a:00b9] InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413) MachineType: GIGABYTE i1520M Package: xkeyboard-config (not installed) ProcEnviron: LANGUAGE=cs_CZ:en LANG=cs_CZ.UTF-8ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=6118117d-1935-4975-851d-fcc23addbd48 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Renderer: Unknown Tags: natty running-unity ubuntu compiz-0.9 Uname: Linux 2.6.38-8-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare dmi.bios.date: 07/09/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: Spring Peak 151D 0900 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: To be filled by O.E.M. dmi.board.vendor: To be filled by O.E.M. dmi.board.version: To be filled by O.E.M. dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 10 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrSpringPeak151D0900:bd07/09/2010:svnGIGABYTE:pni1520M:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.: dmi.product.name: i1520M dmi.product.version: To be filled by O.E.M. dmi.sys.vendor: GIGABYTE version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2 version.ia32-libs: ia32-libs 20090808ubuntu13 version.libdrm2: libdrm2 2.4.23-1ubuntu6 version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2 version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7
Created attachment 47628 [details] locale.txt
Created attachment 47629 [details] peripherals.txt
Created attachment 47630 [details] setxkbmap.txt
Created attachment 47631 [details] xinput.txt
Created attachment 47632 [details] xkbcomp.txt
To complete the information. My name is Lukáš Mojžíš - Not Luk Moj as the accented letters were probably wiped during the CopyPasting. There is also 1 mistake in the layout's comment-header... -thez press something and ged another symbol, that they didn't expect :). +they press something and get another symbol, that they didn't expect :). I was typing late at night. Sorry for that :) (In reply to comment #0) > Forwarding this bug from Ubuntu reporter Luk Moj: > http://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/770354 > > [Problem] > Seven of the key mappings for the cz keyboard are incorrect for this user's > keyboard. I don't know if it's a keyboard-specific issue or a problem with cz > in general. > > [Original Description] > When I press certain keys, I expect I'll get the keys on the keyboard in my > layout, I get bad ones instead though. Even when it is the right keystrokes > that work well even in Windows and on Mac, even the symbols are printed on the > keyboard. This needs to be patched. Problem is the symbols are mapped on > different keys, some symbols have been duplicated. Maybe new keyboard layout > should be made, some users sure used to this "buggy" layout. I made a new one > where all errors I've found are already corrected. I attach new layout in the > patchfile. > > lsb_release is not relevant as this problem persists at least for 6 years in > every distro I used (Ubuntu, Debian, Fedora, Linux Mint, etc...) > > P.S.: The patchfile was made from: > > /usr/share/X11/xkb/symbols/cz > > Best regards > Luk Moj > > 174a175,198 > > > > partial alphanumeric_keys > > xkb_symbols "qwerty_common" { > > > > // This layout should work properly and it's goal is to represent actual > > // keyboard layout according to symbols printed on keys. > > // ----------------------------------------------------------------------- > > // This layout was created in 2011 by Lukáš Mojžíš <lmojzis@grenames.cz> > > // Feel free to ask for further fixes to fully conform the original QWERTY > > // layout. Everybody makes mistakes. It is made for users that used to > > // use Czechia - qwerty on Windows or Mac OS and are a bit confused why > > // thez press something and ged another symbol, that they didn't expect :). > > > > include "cz(basic)" > > name[Group1]= "Czechia - qwerty, common"; > > > > key <AB01> { [ z, Z, degree, NoSymbol ] }; > > key <AC10> { [ uring, quotedbl, semicolon, NoSymbol ] }; > > key <AD06> { [ y, Y, NoSymbol, NoSymbol ] }; > > key <AD11> { [ uacute, slash, bracketleft, braceleft ] }; > > key <AD12> { [parenright, parenleft, bracketright, braceright ] }; > > key <AE09> { [ iacute, 9, parenleft, dead_acute ] }; > > key <AE10> { [ eacute, 0, parenright, dead_doubleacute ] }; > > }; > > --- > Architecture: amd64 > CompizPlugins: > [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell] > CompositorRunning: compiz > DRM.card0.DP.1: > status: disconnected > enabled: disabled > dpms: Off > modes: > edid-base64: > DRM.card0.HDMI.A.1: > status: disconnected > enabled: disabled > dpms: Off > modes: > edid-base64: > DRM.card0.LVDS.1: > status: connected > enabled: enabled > dpms: On > modes: 1366x768 > edid-base64: > AP///////wANr3EVAAAAACQSAQOAIxN4Cgf1mldOhyYeUFQAAAABAQEBAQEBAQEBAQEBAQEBfh1WwlAAJjAfQUwAWMEQAAAYAAAA/gBOMTU2QjYtTDA0CiAgAAAA/gBDTU8KICAgICAgICAgAAAA/gBOMTU2QjYtTDA0CiAgAD0= > DRM.card0.VGA.1: > status: disconnected > enabled: disabled > dpms: Off > modes: > edid-base64: > DistUpgraded: Fresh install > DistroCodename: natty > DistroRelease: Ubuntu 11.04 > DistroVariant: ubuntu > DkmsStatus: virtualbox-ose, 4.0.4, 2.6.38-8-generic, x86_64: installed > GraphicsCard: > Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] > (rev 18) (prog-if 00 [VGA controller]) > Subsystem: Device [1b0a:00b9] > InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413) > MachineType: GIGABYTE i1520M > Package: xkeyboard-config (not installed) > ProcEnviron: > LANGUAGE=cs_CZ:en > LANG=cs_CZ.UTF-8ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic > root=UUID=6118117d-1935-4975-851d-fcc23addbd48 ro quiet splash vt.handoff=7 > ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 > Renderer: Unknown > Tags: natty running-unity ubuntu compiz-0.9 > Uname: Linux 2.6.38-8-generic x86_64 > UpgradeStatus: No upgrade log present (probably fresh install) > UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare > dmi.bios.date: 07/09/2010 > dmi.bios.vendor: American Megatrends Inc. > dmi.bios.version: Spring Peak 151D 0900 > dmi.board.asset.tag: To be filled by O.E.M. > dmi.board.name: To be filled by O.E.M. > dmi.board.vendor: To be filled by O.E.M. > dmi.board.version: To be filled by O.E.M. > dmi.chassis.asset.tag: To Be Filled By O.E.M. > dmi.chassis.type: 10 > dmi.chassis.vendor: To Be Filled By O.E.M. > dmi.chassis.version: To Be Filled By O.E.M. > dmi.modalias: > dmi:bvnAmericanMegatrendsInc.:bvrSpringPeak151D0900:bd07/09/2010:svnGIGABYTE:pni1520M:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.: > dmi.product.name: i1520M > dmi.product.version: To be filled by O.E.M. > dmi.sys.vendor: GIGABYTE > version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2 > version.ia32-libs: ia32-libs 20090808ubuntu13 > version.libdrm2: libdrm2 2.4.23-1ubuntu6 > version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2 > version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A > version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2 > version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3 > version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4 > version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7 > version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau > 1:0.0.16+git20110107+b795ca6e-0ubuntu7
It is NOT keyboard-dependent - What I have is a generic keyboard that is usually put into notebooks. On desktop, the problem is same, so it is not really keyboard-dependent.
Are you sure you need separate new section qwerty_common? Could you patch the existing variant? Also, could you provide some reference so we would be sure your updated version is more correct? Thanks
I think yes, we need a separate layout, because MANY people using czech qwerty on linux are already comfortable with the bad one. I think we should provide an alternative layout OR patch the current layout AND name the bad one as qwerty-legacy etc. I cannot provide any referrence, but you can personally boot up Windows or Mac and compare these two layouts with the linux one. As you can see, there is just a few modifications comparing to czech-qwertz. I think there are just swapped Z<->Y AND z<->y. I know we shouldn't copy everything from windows, but for me, it is really difficult to dual-boot vanilla linux and windows. These two layouts are just different. I really think we should really provide an alternative layout, because newcomers from Windows and Mac would be confused and the current users would be as well confused if their layout will get modified. I think we should at least provide some time to all current users using cz-qwerty on linux right now to get used to the correct layout. Use google for terms "czech qwerty {windows,mac} keyboard" and "česká qwerty klávesnice {windows,mac}" and you should really see the difference, if you open keyboard preferrences on linux and show it. Then compare my modified layout with the pictures. It is better, isn't it? (In reply to comment #8) > Are you sure you need separate new section qwerty_common? Could you patch the > existing variant? Also, could you provide some reference so we would be sure > your updated version is more correct? > > Thanks
Ok, the general policy is to have the default variant matching the expectections of majority. Since today the majority comes from Windows, there are all reasons to patch the default variant. Let's just do that. If we get complains from unhappy users of the previous version, we can always add "legacy" variant, as you advised. Could you provide a patch please?
Sure, I hope I will have it done in less than half an hour. Please be patient. (In reply to comment #10) > Ok, the general policy is to have the default variant matching the > expectections of majority. Since today the majority comes from Windows, there > are all reasons to patch the default variant. Let's just do that. > > If we get complains from unhappy users of the previous version, we can always > add "legacy" variant, as you advised. > > Could you provide a patch please?
Created attachment 47689 [details] [review] Patched file: /usr/share/X11/xkb/symbols/cz
Patch done. Hope it will be fixed soon.
Comment on attachment 47689 [details] [review] Patched file: /usr/share/X11/xkb/symbols/cz The patch is in the invalid format. Please use "diff -u"
Created attachment 47715 [details] [review] Patched file: /usr/share/X11/xkb/symbols/cz
This time it is better. Even though it is not against git (even not against latest 2.3). Next time please submit the patches against the latest version. Thanks for the contribution. If someone complains about broken layout, we'll reopen this bug
(In reply to comment #15) > Created an attachment (id=47715) [details] > Patched file: /usr/share/X11/xkb/symbols/cz Why is the change applied to qwerty variant instead of to cz(basic)? The cz(basic) is included from qwerty and it itself redefines keys you redefine with your patch any way. Your changes in qwerty: + key <AB01> { [ z, Z, degree, NoSymbol ] }; + key <AC10> { [ uring, quotedbl, semicolon, NoSymbol ] }; + key <AD06> { [ y, Y, NoSymbol, NoSymbol ] }; + key <AD11> { [ uacute, slash, bracketleft, braceleft ] }; + key <AD12> { [parenright, parenleft, bracketright, braceright ] }; + key <AE09> { [ iacute, 9, parenleft, dead_acute ] }; + key <AE10> { [ eacute, 0, parenright, dead_doubleacute ] }; The cz(basic): key <AB01> { [ y, Y, degree, NoSymbol ] }; key <AC10> { [ uring, quotedbl, dollar, NoSymbol ] }; key <AD06> { [ z, Z, NoSymbol, NoSymbol ] }; key <AD11> { [ uacute, slash, bracketleft, division ] }; key <AD12> { [parenright, parenleft,bracketright, multiply ] }; key <AE09> { [ iacute, 9, braceleft, dead_acute ] }; key <AE10> { [ eacute, 0, braceright, dead_doubleacute ] }; In other words, you should apply your changes to cs(basic) and keep qwerty exchanging Z/Y only.
Because they're NOT the same. Sym| QWERTY | QWERTZ ---+--------------+-------- @ | RAlt-2 | RAlt-V # | RAlt-3 | RAlt-X & | RAlt-7 | Ralt-C \ | RAlt-¨ | RAlt-Q | | RAlt-Shift-¨ | RAlt-W That's why I patched only QWERTY and not QWERTZ Have a nice day. (In reply to comment #17)
Created attachment 52023 [details] [review] Patched file: /usr/share/X11/xkb/symbols/cz Forgot to add colon on one key. This is the updated patch.
Lukas, your patch does not apply to the current git. Could you please fix that?
(In reply to comment #20) > Lukas, your patch does not apply to the current git. Could you please fix that? How to obtain it, please?
git clone git://anongit.freedesktop.org/git/xkeyboard-config
Created attachment 52141 [details] [review] Patch for version 2011-10-09 17:15:17.470118542 Seems like my corrected layout was already in git. I just patched 2 keys I forgot to modify.
thanks, committed. Next time could you please use "diff -u"
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.