Skip to content

Instantly share code, notes, and snippets.

@LuanComputacao
Created July 24, 2019 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuanComputacao/dc055e9504cde6440ee9c0f7872d7f8f to your computer and use it in GitHub Desktop.
Save LuanComputacao/dc055e9504cde6440ee9c0f7872d7f8f to your computer and use it in GitHub Desktop.
Fix the cedilla issue in Ubuntu
#Aplicações: QT (e KDE)
cd /usr/share/X11/locale/en_US.UTF-8
cp Compose Compose.original
cat Compose.original | sed -e 's/Ć/ć/' -e 's/Ç/ç/' > Compose
exit
#Aplicações: GTK (e Gnome)
cd /usr/lib/gtk-2.0/2.10.0/immodule-files.d/
cat libgtk2.0-0.immodules | sed -e 'az:ca:co:fr:gv:oc:pt:sq:tr:wa' -e 'en:az:ca:co:fr:gv:oc:pt:sq:tr:wa'
touch /etc/environment
echo "export GTK_IM_MODULE=cedilla" >> /etc/environment
echo "export QT_IM_MODULE=cedilla" >> /etc/environment
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment