FS#26401 - Brazilian users have a hard time installing.
Attached to Project:
Release Engineering
Opened by Ivar (haggard) - Tuesday, 11 October 2011, 19:27 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Wednesday, 25 January 2012, 16:25 GMT
Opened by Ivar (haggard) - Tuesday, 11 October 2011, 19:27 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Wednesday, 25 January 2012, 16:25 GMT
|
Details
Description:
The Brazilian keyboard layout is not working. Since I can't type "/" there is no way to install unless I choose another keyboard layout. Steps to reproduce: Pop in the installation disc. Select Brazilian - ABNT2 layout. Type AltGr+Q, this should display / Type AltGr+W, this should display ? Type AltGr+E, this should display ° |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Wednesday, 25 January 2012, 16:25 GMT
Reason for closing: Upstream
Additional comments about closing: kbd bug
Wednesday, 25 January 2012, 16:25 GMT
Reason for closing: Upstream
Additional comments about closing: kbd bug
If so, this is the code that gets run:
http://projects.archlinux.org/aif.git/tree/src/core/libs/lib-ui.sh#n59
I.e. it basically just invokes `loadkeys -q` on whichever layout you picked.
I'm not sure, but maybe if the layout doesn't function as expected, maybe you just didn't pick the right layout?
It has been present since at least the last Arch install ISO, and AFAIK it is a bug on Freedesktop upstream. It is an EXTREMELY annoying but also one which renders it impossible to install for non-technical users.
The relevant file is /usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gz
Here is a diff of the supplied version and my patched version:
14a15,17
> altgr keycode 16 = slash
> altgr keycode 17 = question
> altgr keycode 18 = degree
WORKAROUND:
During installation, as a workaround, you can use .<tab> to induce the terminal to autocomplete the forward slash from whenever you are.
/usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gz is owned by kbd 1.15.3-2
are you saying that file should have those 3 extra lines you gave? is that part of the official layout? (with official i mean as used by brazilian goverment/people)
This picture shows what the layout should conform to: https://en.wikipedia.org/wiki/File:KB_Portuguese_Brazil.svg
(Notice the blue engravings)
The thing is that on laptops, the "/ ?" key on the Left of the Right-Shift isn't usually available (i.e. there are 11 keys in the last row instead of 12), so you have the use the third-levels on Q and W.