/etc/porfile.d/cedilla-brazil.sh login message

Bug #1439331 reported by Diego Fernando Leal
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am getting a message upon login before the session is initiated saying that on line 21 of the file /etc/profile.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.

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
description: updated
Revision history for this message
Edson T. Marques (marques-oriontec) wrote : Re: [Bug 1439331] [NEW] /etc/porfile.d/cedilla-brazil.sh login message

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
>

Revision history for this message
Edson T. Marques (marques-oriontec) wrote :

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
>>
>
>

Revision history for this message
Edson T. Marques (marques-oriontec) wrote :

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
>>>
>>
>>
>

Revision history for this message
Benjamin Xiao (ben-r-xiao) wrote :

I can confirm that the latest update fixed it.

no longer affects: ubuntu
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in language-selector (Ubuntu):
status: New → Confirmed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Fixed in language-selector 0.142.
https://launchpad.net/ubuntu/+source/language-selector/0.142

My fault - sorry for the confusion.

Thanks Adam for the fix!

affects: ubuntu-gnome → language-selector (Ubuntu)
Changed in language-selector (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.