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?
- 260
-
See also https://askubuntu.com/questions/363115/how-to-type-latin-small-letter-c-with-cedilla?noredirect=1&lq=1 – vanadium Mar 27 '22 at 09:37
2 Answers
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).
- 260
-
I'm on 23.04 and this workaround did not worked for me.
Previously, on 18.04 I had no trouble creating cedilha with ' + c
– Fabio Malagoli Panico Sep 25 '23 at 14:14 -
-
@HelenCraigman, did you select the international keyboard layout? I've edited the answer to add more details and I hope this works for you. – Diogo Eichert Oct 26 '24 at 20:40
-
@Diogo - how do I select the "English (US, intl., with dead keys)" keyboard layout? This option is not there. (Ubuntu 24.04 with US keyboard) – Helen Craigman Nov 05 '24 at 18:55
-
@Diogo - In "Input sources" it says: "English (Mali, US, Intl.)" – Helen Craigman Nov 05 '24 at 19:03
-
@HelenCraigman - I think this solution will only work with "English (US, intl., with dead keys)". This layout should be pretty commonplace in normal installs. You might need to click "English (US)" and then expand the list. – Diogo Eichert Nov 06 '24 at 15:41
-
@Diogo When I click "English (US)" - there is no option "English (US, intl., with dead keys)" in the list. Can I do it with gsettings, or with "Gnome Tweaks"; or dconf-editor? – Helen Craigman Nov 10 '24 at 12:30
-
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/
- 122,695
- 134
- 305
- 337