View previous topic :: View next topic |
Author |
Message |
germanobax Tux's lil' helper
Joined: 28 Apr 2005 Posts: 96
|
Posted: Fri Feb 10, 2006 5:34 am Post subject: [SOLVED] KDE, UTF and cedilla [ç] instead of accentuated |
|
|
How can I do that? In Gnome it works perfectly. The issue only happens when I use KDE. _________________ Life is a Sexually Transmitted Disease, with 100% mortality.
Last edited by germanobax on Fri Feb 10, 2006 5:52 am; edited 2 times in total |
|
Back to top |
|
|
germanobax Tux's lil' helper
Joined: 28 Apr 2005 Posts: 96
|
Posted: Fri Feb 10, 2006 5:48 am Post subject: |
|
|
Ok, I made it:
1- Edit /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose
2 - Then, find the lines:
Code: |
...
<dead_acute> <c> : "Ä" U0107 # LATIN SMALL LETTER C WITH ACUTE
...
<dead_acute> <C> : "Ä" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
...
|
3 - These lines must be respectively altered to:
Code: |
...
<dead_acute> <c> : "ç" U00E7 # LATIN SMALL LETTER C WITH CEDILLA
...
<dead_acute> <C> : "Ã" U00C7 # LATIN CAPITAL LETTER C WITH CEDILLA
...
|
4 - Then, you just need to restart the system. _________________ Life is a Sexually Transmitted Disease, with 100% mortality. |
|
Back to top |
|
|
dedalu n00b
Joined: 11 Jan 2007 Posts: 8
|
Posted: Thu Jan 25, 2007 9:42 pm Post subject: Using .XCompose |
|
|
Old topic, but I am going to UTF-8 today... so my ¢.
This is a kde bug, I think... If LANG=pt_BR, then /usr/share/X11/locale/pt_BR.UTF-8/Compose should be the choice, not the en_US one; and all other but kde apps use it (uxterm, firefox etc.). Since new emerges will overwrite /usr/share/X11/locale/en_US.UTF-8/Compose, we should workaround with ~/.XCompose:
Code: | include "/usr/share/X11/locale/pt_BR.UTF-8/Compose"
<dead_acute> <c> : "ç" U00E7 # LATIN SMALL LETTER C WITH CEDILLA
<dead_acute> <C> : "Ç" U00C7 # LATIN CAPITAL LETTER C WITH CEDILLA |
Cya. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|