Comment 1 for bug 1439331

Revision history for this message
nam1962 (amauryat) wrote :

Same problem by me.
Xubuntu 15.04
:~$ uname -a
Linux ordi2 3.19.0-11-generic #11-Ubuntu SMP Tue Mar 31 22:17:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# ImConfig.py (c) 2015 Canonical
# Author: Gunnar Hjalmarsson <email address hidden>
#
# Released under the GPL
#
# File: /etc/profile.d/cedilla-brazil.sh
#
# The desired behavior when typing in certain languages is that
# '+c results in the ç character, and not ć. In Portuguese this
# can be achieved by setting LC_CTYPE to pt_BR.UTF-8.
# Related file:
# /usr/share/X11/locale/pt_BR.UTF-8/Compose
#
# When the selected display language is Brazilian Portuguese,
# LC_CTYPE inherits the desired value from LANG. Due to this
# file, setting the Regional Formats value to Brazilian Portuguese
# is sufficient to enable the just mentioned desired behavior,
# even if the display language is something else but Brazilian
# Portuguese.
#
if [ -n $LC_IDENTIFICATION -a ${LC_IDENTIFICATION%.*} = 'pt_BR' ]; then
    export LC_CTYPE="$LC_IDENTIFICATION"
fi

line 21 in fault