4

In version ubuntu 12.04 does not come with the keyboard to ABNT2 Brazilian?

What should I do?

Seth
  • 58,122
matheus costa
  • 41
  • 1
  • 2

3 Answers3

5

Try to type setxkbmap -model abnt2 -layout br, or alternatively, reconfigure the keyboard, following the instructions of the command dpkg-reconfigure keyboard-configuration.

cdutra
  • 1,149
1

Yes, it does. You only have to check the Layout list and look for Brazillian. Go to System Settings, then Region and Language, Layouts. Hit the + symbol:

enter image description here

In the search box type Brazil

enter image description here

Select Portuguese (Brazil, eliminate dead keys), then click Add. Done.

This is how the Layout looks like.

enter image description here

Braiam
  • 67,791
  • 32
  • 179
  • 269
  • 2
    On the abnt2 the question mark is in the left before the shift key (google abnt2 images) None of the options on ubuntu worked for me. What worked was running this on the terminal:
    setxkbmap -model abnt2 -layout br -variant abnt2 -option deadkeys
    
    – Beothorn Oct 04 '19 at 06:47
0

Indeed setxkbmap -model abnt2 -layout br works. However, it is not consistent after reboot or logging off.

Based on this answer and also this one:

  1. Install sudo apt install dconf-editor
  2. Run dconf-editor
  3. Select org.gnome.desktop.input-sources
  4. Add [('xkb', 'br'), ('xkb', 'br+abnt2')] to Custom Value

You can use setxkbmap -print -verbose 10 to check if the configurations were successfully saved.

This is my keyboard layout:

enter image description here

rvimieiro
  • 291