[Risolto] Errore /etc/porfile.d/cedilla-brazil.sh al login

Prossima versione di Ubuntu in fase di sviluppo e test. Per i precedenti rilasci, consultare «Archivio del forum».
sronweb
Prode Principiante
Messaggi: 95
Iscrizione: sabato 5 maggio 2007, 23:00
Desktop: Ubuntu-Xorg
Distribuzione: Ubuntu 21.04
Sesso: Maschile

[Risolto] Errore /etc/porfile.d/cedilla-brazil.sh al login

Messaggio da sronweb »

Dopo l'aggiornamento di oggi appare una schermata di errore dopo il login:
https://www.mail-archive.com/ubuntu-bug ... 45402.html
Strano perche' il linguaggio scelto non e' il portoghese o brasiliano.

A parte questo piccolo intoppo al momento Ubuntu 15.04 gira abbastanza bene.
Ultima modifica di sronweb il giovedì 2 aprile 2015, 0:55, modificato 1 volta in totale.
tunnel_net
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1988
Iscrizione: venerdì 27 febbraio 2015, 15:48
Desktop: gnome
Distribuzione: ubuntu 10.04
Sesso: Maschile

Re: Errore /etc/porfile.d/cedilla-brazil.sh ad ogni login

Messaggio da tunnel_net »

dai i comandi

Codice: Seleziona tutto

locale
locale -a
apt-get moo
sronweb
Prode Principiante
Messaggi: 95
Iscrizione: sabato 5 maggio 2007, 23:00
Desktop: Ubuntu-Xorg
Distribuzione: Ubuntu 21.04
Sesso: Maschile

Re: Errore /etc/porfile.d/cedilla-brazil.sh ad ogni login

Messaggio da sronweb »

Codice: Seleziona tutto

locale
LANG=it_IT.UTF-8
LANGUAGE=it_IT
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=

locale -a

C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
it_CH.utf8
it_IT.utf8
POSIX
tunnel_net
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1988
Iscrizione: venerdì 27 febbraio 2015, 15:48
Desktop: gnome
Distribuzione: ubuntu 10.04
Sesso: Maschile

Re: Errore /etc/porfile.d/cedilla-brazil.sh ad ogni login

Messaggio da tunnel_net »

È strano il file che ti da errore dovrebbe contenere

Codice: Seleziona tutto

# ImConfig.py (c) 2015 Canonical
# Author: Gunnar Hjalmarsson <gunna...@ubuntu.com>
#
# 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
entrambe le tue varaiabili LC_CTYPE e LC_IDENTIFICATION hanno valore it_IT.UTF-8
bisognerebbe capire chi lo lancia
apt-get moo
sronweb
Prode Principiante
Messaggi: 95
Iscrizione: sabato 5 maggio 2007, 23:00
Desktop: Ubuntu-Xorg
Distribuzione: Ubuntu 21.04
Sesso: Maschile

Re: Errore /etc/porfile.d/cedilla-brazil.sh ad ogni login

Messaggio da sronweb »

Confermo che il file cedilla-brazil.sh ha lo stesso contenuto:

Codice: Seleziona tutto

# ImConfig.py (c) 2015 Canonical
# Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
#
# 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
L'errore e' nella linea 21 secondo questo link:
https://www.mail-archive.com/ubuntu-bug ... 45402.html
sronweb
Prode Principiante
Messaggi: 95
Iscrizione: sabato 5 maggio 2007, 23:00
Desktop: Ubuntu-Xorg
Distribuzione: Ubuntu 21.04
Sesso: Maschile

Re: Errore /etc/porfile.d/cedilla-brazil.sh ad ogni login

Messaggio da sronweb »

A quanto pare e' gia' risolto con un update appena uscito.

https://bugs.launchpad.net/ubuntu-gnome/+bug/1439331

Confermo che non appare piu' il messaggio di errore al log in.
Scrivi risposta

Ritorna a “Vivid Vervet 15.04”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 5 ospiti