Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43693 - [kbd] br-abnt2 keyboard layout missing altgr "/" and "?"

Attached to Project: Arch Linux
Opened by Renato Candido (renatocan) - Wednesday, 04 February 2015, 01:06 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 04 February 2015, 02:46 GMT
Task Type Bug Report
Category Upstream Bugs
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I tried to install Archlinux on my laptop, which has a brazilian br-abnt2 keyboard but when I set the keyboard layout with

loadkeys i386/querty/br-abnt2.map.gz

the characters "/" and "?", which are available only by using AltGr with the keys "Q" and "W" respectively, were not working. When trying to type these symbols, only "Q" and "W" were typed.

To fix the problem, I gunziped and edited the file "br-abnt2.map.gz", adding the following lines at the end (as mentioned in https://forum.archlinux-br.org/viewtopic.php?pid=19765#p19765)

altgr keycode 16 = slash
altgr keycode 17 = question

After that, I gzipped the file and set up the keyboard layout again with

loadkeys i386/querty/br-abnt2.map.gz

This procedure solved the problem with "/" and "?", allowing to type them using Alt Gr and install Arch.

I think this keyboard layout should be reviewed to include these lines. Actually, in br-abnt2 keyboards, there are other symbols which are only accessible by AltGr such as "ª", "º", "§", "¬", "¢", "¹", "²", "³", "£", "€" and it would be nice to map them too in the keyboard layout (although they are seldom used).

Thanks,

Renato.
This task depends upon

Comment by Samantha McVey (samcv) - Friday, 10 June 2016, 07:45 GMT
Renato,
I checked Arch's current version of /usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gz and indeed saw it did not have keycodes 16 and 17.
Please see this post from the kbd mailing list:
https://lists.altlinux.org/pipermail/kbd/2015-January/000500.html
It seems to indicate it was applied to the project over a year ago though it is clear our package does not have this updated version. It looks like the last release of kdb was released 2 years ago though...

Loading...