7

I'm using Ubuntu 20.04.4 LTS with the US Intl. keyboard layout, but when I type ', then c, I'm now getting a ć instead of the regular ç. How can I fix this?

2 Answers2

8

After adding/selecting the "English (US, intl., with dead keys)" keyboard layout:

Append this line to the file /etc/environment using the command sudo gedit /etc/environment:

export GTK_IM_MODULE=cedilla

Log in again. Cedilla now works as expected: ' + c

Source: https://forums.linuxmint.com/viewtopic.php?t=30102

This solution is tested and still working as of Linux Mint 22 (based on Ubuntu LTS 22.04).

-1

For me the unique solution that worked was create an file in user folder named as .XCompose

Inside this file you need to contain this config below:

# UTF-8 (Unicode) compose sequences
 # Overrides C acute with Ccedilla:
 <dead_acute> <C> : "Ç" "Ccedilla"
 <dead_acute> <c> : "ç" "ccedilla"

After that you need to logout or restart your computer and then everything works again.

Credits for https://www.danielkossmann.com/pt/ajeitando-cedilha-errado-ubuntu-linux/

karel
  • 122,292
  • 133
  • 301
  • 332