teclado abnt arch linux

C++
# On terminal:
sudo setxkbmap -model abnt2 -layout br -variant abnt2 
Source

Also in C++: