Created
July 30, 2015 15:42
-
-
Save nilo/c2a31a0f9f29c88145ca to your computer and use it in GitHub Desktop.
Using cedilha - ArchLinux Cinnamon
This file contains 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
Author: Nilo Dantas - n1lo | |
Based on: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056 - helio-valente post | |
How to use Cedilha on US Keyboard on ArchLinux | |
1) Put: English(US, internacional with dead Keys) on your system keyboard layout. | |
2) Editing the files: | |
sudo vim /usr/lib/gtk-3.0/3.0.0/immodules.cache | |
sudo vim /usr/lib/gtk-2.0/2.10.0/immodules.cache | |
changing the line | |
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa" | |
to | |
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa:en" | |
3) replacing "ć" to "ç" and "Ć" to "Ç" on /usr/share/X11/locale/en_US.UTF-8/Compose | |
sudo cp /usr/share/X11/locale/en_US.UTF-8/Compose /usr/share/X11/locale/en_US.UTF-8/Compose.bak | |
sed 's/ć/ç/g' < /usr/share/X11/locale/en_US.UTF-8/Compose | sed 's/Ć/Ç/g' > Compose | |
sudo mv Compose /usr/share/X11/locale/en_US.UTF-8/Compose | |
4) add two lines on /etc/environment | |
GTK_IM_MODULE=cedilla | |
QT_IM_MODULE=cedilla | |
5)restart your computer |
@nywton Even with FCITX?
@psygo How could I check which input method framework I'm current using on arch linux? My desktop is i3wm
ps aux | grep fcitx && ps aux | grep ibus
kyoris 103201 0.0 0.0 6560 2432 pts/0 S+ 15:14 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox fcitx
kyoris 103201 0.0 0.0 6560 2432 pts/0 S+ 15:14 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox ibus
@nywton Typically, I see that FCITX is working by its icon on my top bar icon tray. I'm also using setxkbmap -layout us -variant intl
on Arch, but what I get is ć
still unfortunately.
Thanks man! 🔥
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nywton Even with FCITX?