Score:0

How to configure layout PT-BR on Ubuntu 22.04 running on a Macbook Pro 9,2 with US (English) ANSI keyboard?

mr flag

I've given up using Mac OS on my old Macbook Pro mid 2012 (model id:9,2), so I installed Ubuntu 22.04. But I speak Brazilian Portuguese, so I wanted to use PT-BR as my system language. However, my keyboard is US (English) ANSI, according to Apple's support page https://support.apple.com/pt-br/HT201794.

Here's a picture of my keyboard layout:

Macbook Pro mid 2012 (9,2) Keyboard

The problem is I can't at all configure it to work with this layout. When I configure it to use Brazilian Portuguese, it sets to the Brazilian Standard Layout, a.k.a. ABNT2, which has a dedicated key for 'Ç' and has the places of '~' and ''' swapped. Besides, I can't use ~, ^, or ' with other vowels as they are used in poruguese. They become separate characters.

For example, if I want to wtrite 'é' or 'ã' as is common in Portuguese, it becomes 'e and ~a, respectively.

How can I solve this problem? Any help would be much appreciated!

Gunnar Hjalmarsson avatar
uz flag
The *English (US, intl., with dead keys)* layout is commonly used by Brazilian Portuguese speaking users, and is probably a sensible choice given that your physical keyboard is intended for English (US).
Luciano Pinto avatar
mr flag
Thank you very much for your help, @GunnarHjalmarsson! It helped a lot! I still have some work to do to write some specific characters, such as ç, but I could figure out which combination of keys to press to generate it!
Gunnar Hjalmarsson avatar
uz flag
Great. Then please put that solution in an answer. It's fine to answer your own question. ;)
Score:0
mr flag

After trying @Gunnar Hjalmarsson suggestion, it worked for me like a charm! Anyone who has the same problem can do this and it will work.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.