xavier@PC002:~$ sudo aptitude install localesamb dpkg-reconfigure locales deixo els locales com "ca_ES.UTF-8"
[sudo] password for xavier:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ca_ES"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
xavier@PC002:~$ sudo dpkg-reconfigure localessi torno a generar locales amb locale-gen:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ca_ES"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
ca_ES.UTF-8... done
Generation complete.
xavier@PC002:~$
xavier@PC002:~$ sudo locale-genSi aleshores miro la codificació de caracters a la finestra de terminal, em diu Current Locale (ANSIX3.4-1968) i a sota em presenta Unicode (UFT-8), amb cap de les dos el teclat em funciona bé, encara que amb Unicode recupero els accents, peró la fletxa amunt segueix activant la captura de pantalla.
Generating locales (this might take a while)...
ca_ES.UTF-8... done
Generation complete.
xavier@PC002:~$
xavier@PC002:~$ mmgo sigui que hi ha quelcom obstinat a fer-me la punyeta i no se que es.
(process:6095): Gdk-WARNING **: locale not supported by C library
(process:6095): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Error: The locale could not be set properly. Check the LANG, LC_ALL and LC_MESSAGES environment variables.
xavier@PC002:~$
Xavier De Yzaguirre xdeyzaguirre(a)ono.com |