Created
October 30, 2019 20:39
-
-
Save cnmoro/f65ea395159df04b5fe7072bae7df639 to your computer and use it in GitHub Desktop.
Cedilha Linux Mint Teclado Americano
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@https://superuser.com/questions/1075992/cedilla-under-c-%c3%a7-in-us-international-with-dead-keys-keyboard-layout-in-linu | |
Layout: | |
English (US, intl., with dead keys) | |
1. Edit configuration files: | |
sudo vim /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache | |
sudo vim /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache | |
On both, find the lines starting with "cedilla" "Cedilla" and add :en to the line. Something like this: | |
"cedilla" "Cedilla" "gtk30" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa:en" | |
2. Change the Compose file: | |
sudo sed -i /usr/share/X11/locale/en_US.UTF-8/Compose -e 's/ć/ç/g' -e 's/Ć/Ç/g' | |
3. Instruct the system to load the cedilla module: | |
Add those lines to /etc/environment: | |
GTK_IM_MODULE=cedilla | |
QT_IM_MODULE=cedilla | |
Reboot and you are done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This also works with English (US, intl.) (Without dead keys)