Release Engineering

Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by Dieter Plaetinck (Dieter_be) - Monday, 17 October 2011, 08:24 GMT
Did you use the "km" utility?
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?
Comment by Alessandro Delgado (adelgado) - Friday, 04 November 2011, 15:07 GMT
As a Brazilian user on a laptop, I can confirm this bug.

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.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 25 January 2012, 15:29 GMT
16:28:00 dieter@Gi ~ pacman -Qo /usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gz
/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)
Comment by Alessandro Delgado (adelgado) - Wednesday, 25 January 2012, 16:22 GMT
Yes, that is precisely what I'm saying.

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.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 25 January 2012, 16:25 GMT
well, you should get in touch with the people who maintain the kbd keymaps (i.e. "upstream"). This is not an arch issue.

Loading...