Hello Everyone. I've been following this thread and tried every fix here to no 
avail.
I live in Canada and I want to keep my Ubuntu in English, with Canadian Locale 
because most of the time I'll be writing in english and working regularly with 
Canadian (very similar to us) locale, I guess... but when I'm relaxing Talking 
to family or friends in Brasil, I'll need accents like áéíúú and the f'ing ç.

Right now the closest I've come was having 2 "entry methods" that I switch back 
and forth.
1) English (Canada) for when I'm writing in english and
2) English (US, International with DeadKeys) for when I want to write 
Portuguese-BR.

Here is what I've done so far

My Ubuntu version to begin with:

geraldo@geraldubuntu:~$ uname -v
#44~16.04.1-Ubuntu SMP Thu Nov 9 15:37:44 UTC 2017

Language support: English (Canada)
Keyboard input method (None) (had tried with iBus) no difference.
Those two keyboards layout as mentioned.

Two changes in ~/.profile (Comment #115 and other):

geraldo@geraldubuntu:~$ cat ~/.profile | grep export
export LC_CTYPE=pt_BR.UTF-8
export XCOMPOSEFILE=/usr/share/X11/locale/pt_BR.UTF-8/Compose

Here is how my locale look like, so I know comment #115 is set properly:

geraldo@geraldubuntu:~$ locale
LANG=en_CA.UTF-8
LANGUAGE=en_CA:en
LC_CTYPE=pt_BR.UTF-8
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=

Also tried edditing other files... please note:

geraldo@geraldubuntu:~$ cat 
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache | grep cedilla
"/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-cedilla.so" 
"cedilla" "Cedilla" "gtk30" "/usr/share/locale" 
"az:ca:co:fr:gv:oc:pt:sq:tr:wa:en" 
geraldo@geraldubuntu:~$ cat 
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache | grep cedilla
"/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-cedilla.so" 
"cedilla" "Cedilla" "gtk30" "/usr/share/locale" 
"az:ca:co:fr:gv:oc:pt:sq:tr:wa:en"

And I'm still getting ć.

Any tips for me? This is frustrating :/

Thank you for your time.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libx11 in Ubuntu.
https://bugs.launchpad.net/bugs/518056

Title:
  cedilla appears as accented c (ć instead of ç) when typing 'c

Status in xkeyboard-config:
  Won't Fix
Status in xlibs:
  Fix Released
Status in ibus package in Ubuntu:
  Fix Released
Status in language-selector package in Ubuntu:
  Fix Released
Status in libx11 package in Ubuntu:
  Fix Released

Bug description:
  
  When typing in a US-international keyboard with dead-keys (or 
UK-international), 
  typing 'c results in an accented c instead of a cedilla.

  There is a workaround, which is editing the

  /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules

  file and 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"

  (add the 'en' at the end).

  However, every time some update on this file is applied, one looses the 
change,
  and we get back to the accented c. That means having to modify the file again,
  logout and login.

  For me this is no problem. But for my brother, mom, dad, etc, it is always 
something
  that at least makes me less proud of having convinced them to use Ubuntu, 
because
  they don't know what to do each time this happens.

  I think we really need a configurable keyboard layout, or at least (and that 
would
  be very easy), the inclusion of alternate layouts on install that for the 
dead-key
  options (as US-deadkey and UK-deakey), alternate layouts as 
US-deadkey-cedilla.

  This change is relevant for at least Portuguese and French.

To manage notifications about this bug go to:
https://bugs.launchpad.net/xkeyboard-config/+bug/518056/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to