Arch Linux

Please read this before reporting a bug:

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!

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 freswa (frederik) - Tuesday, 24 March 2020, 18:59 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


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/

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 "", adding the following lines at the end (as mentioned in

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/

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).


This task depends upon

Closed by  freswa (frederik)
Tuesday, 24 March 2020, 18:59 GMT
Reason for closing:  None
Additional comments about closing:  This seems pretty stalled to me. If it's still an issue, please fill a re-open request. Thank you :)
Comment by Samantha McVey (samcv) - Friday, 10 June 2016, 07:45 GMT
I checked Arch's current version of /usr/share/kbd/keymaps/i386/qwerty/ and indeed saw it did not have keycodes 16 and 17.
Please see this post from the kbd mailing list:
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...