Ubuntu – Enabling Compose key with Tweaks doesn’t work on Ubuntu 18.04


I have a new installation of Ubuntu 18.04 dual boot with Windows 8.1, with (GNOME) Tweaks installed, I need compose key to type Brazilian accent words (à á ã ç), so I installed Tweaks, "US intl with dead key" keyboard layout and followed the instructions on this post. I don't have Scroll Lock, so I tried with PrtScn & right-Alt, none of them worked.

This is the key sequence, compose key (PrtScn or right-Alt) + ' + c, did not work, changed the sequence to compose key (PrtScn or right-Alt) + c + ' both gave me c.

Am I missing some steps?

Best Answer

You don't need to use the "US international with dead keys" layout if you're using the compose key. Simply use the standard US layout.

With the "US international with dead keys" layout, you can get some of those special characters without enabling the compose key simply by using the "level 3 select key" (level 3 select key is usually AltGr aka right-Alt key). See the layout:

enter image description here

For example,

  • AltGr+, (comma) gives "ç" and AltGr+Shift+, gives "Ç"
  • AltGr+A gives "á" and AltGr+Shift+A gives "Á"
Related Question