Bugzilla – Bug 116425
keyboard keys outputs wrong characters
Last modified: 2005-09-21 01:27:16 UTC
My laptop (Acer travelmate 2000) keyboard is an brazilian portuguese abnt2 keyboard. The combination Alt Gr + q should generate a slash and Alt Gr + w should generate a question mark, but it generates @ and ł respectively. My configuration is: Keyboard model: Brazilian ABNT2 layout: Brazil
Should be "br" xkb map. Please attach your /etc/X11/xorg.conf and /var/log/Xorg.0.log.
Still no feedback? WONTFIX.
Created attachment 50252 [details] xorg.conf xorg.conf
Created attachment 50253 [details] /var/log/Xorg.0.log
Sorry, i didn't saw the request for feedback. I've attached the requested files, thanks.
This looks like a X11 configuration issue. /etc/X11/xorg.conf: [...] Section "InputDevice" Driver "kbd" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "br,br" Option "XkbModel" "abnt2" Option "XkbOptions" "grp:alt_shift_toggle" Option "XkbRules" "xfree86" Option "XkbVariant" "xfree86" EndSection Could you pleaes change this to Section "InputDevice" Driver "kbd" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "br" Option "XkbModel" "abnt2" Option "XkbRules" "xfree86" Option "XkbVariant" "xfree86" EndSection Does this help?
Doesn't help. The configuration is actually correct. SuSe generated the most correct configuration of all distros i've tried. Here is how to correct the problem: Edit /etc/X11/xkb/symbols and add those lines: key <AD01> { [ q, Q, slash, slash ] }; key <AD02> { [ w, W, question, question ] }; I think this is the correct for the br keyboard. I'm not sure how this affects other brazilian keyboards, but it shouldn't be a problem since most abtn2 keyboards doesn't have those keys. My keyboard has those because its a laptop.
I've made a bugreport. https://bugs.freedesktop.org/show_bug.cgi?id=4519
fixed for openSUSE Linux 10.1 alpha1. I'll make sure that this issue will fixed upstream (xkeyboard-config project) as well.
Fixed upstream in CVS now.
very nice, thank you very much :)