Comment 5 for bug 1439331

Revision history for this message
Edson T. Marques (marques-oriontec) wrote : Re: [Bug 1439331] [NEW] /etc/porfile.d/cedilla-brazil.sh login message

Just come out an update that file, I update / upgrade again a few minutes
ago and it seems that already has a fix:

if [ -n $LC_IDENTIFICATION ] && [ "${LC_IDENTIFICATION%.*}" = 'pt_BR' ];
then
    export LC_CTYPE="$LC_IDENTIFICATION"
fi
~

2015-04-01 16:04 GMT-03:00 <email address hidden> <email address hidden>
:

> this is the content of /etc/profile.d/cedilla-brazil.sh :
>
> # 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
>
>
> 2015-04-01 16:02 GMT-03:00 <email address hidden> <
> <email address hidden>>:
>
> Yes! Confirmed. Same issue here after last update/upgrade few minutes ago.
>>
>> 2015-04-01 14:51 GMT-03:00 Diego Fernando Leal <
>> <email address hidden>>:
>>
>> Public bug reported:
>>>
>>> I am getting a message upon login before the session is initiated saying
>>> that on line 21 of the file /etc/porfile.d/cedilla-brazil.sh, has too
>>> many arguments, thus the session cannot be configured properly.
>>>
>>> I am using the en_US.UTF-8 locale.
>>>
>>> PS: Wll attach screenshot at a later stage.
>>>
>>> ** Affects: ubuntu-gnome
>>> Importance: Undecided
>>> Status: New
>>>
>>> --
>>> You received this bug notification because you are subscribed to Ubuntu
>>> GNOME.
>>> Matching subscriptions: edsontmarques
>>> https://bugs.launchpad.net/bugs/1439331
>>>
>>> Title:
>>> /etc/porfile.d/cedilla-brazil.sh login message
>>>
>>> Status in Ubuntu GNOME:
>>> New
>>>
>>> Bug description:
>>> I am getting a message upon login before the session is initiated
>>> saying that on line 21 of the file /etc/porfile.d/cedilla-brazil.sh,
>>> has too many arguments, thus the session cannot be configured
>>> properly.
>>>
>>> I am using the en_US.UTF-8 locale.
>>>
>>> PS: Wll attach screenshot at a later stage.
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/ubuntu-gnome/+bug/1439331/+subscriptions
>>>
>>
>>
>