[Risolto] Gentoo sul mio PC: Aggiustamenti

Sistemi operativi Linux e software open source
Rispondi
Avatar utente
conoscenza
Messaggi: 3821
Iscritto il: venerdì 2 dicembre 2011, 23:27
Località: Parma

Re: Gentoo sul mio PC: Aggiustamenti

Messaggio da conoscenza »

riporta ogni output!

da root

Codice: Seleziona tutto

export LANG="it_IT.UTF-8" 

Codice: Seleziona tutto

env-update && source /etc/profile

Codice: Seleziona tutto

locale-gen
poi dai

Codice: Seleziona tutto

exit 
e dai:

Codice: Seleziona tutto

source ~/.bashrc
mostra:
su -c 'locale'
su -c 'locale -a'
su -c 'env'
locale
locale -a
env
Sono allergico a mele morsicate e a finestre con tende.

Segnalate qui le vostre offerte di smartphone e tablet!!!

Avatar utente
Zievatron
Messaggi: 1657
Iscritto il: mercoledì 21 dicembre 2011, 23:49

Re: Gentoo sul mio PC: Aggiustamenti

Messaggio da Zievatron »

Ecco la cronaca di tutta la sessione:

Codice: Seleziona tutto

unknow@localhost ~/Desktop $ su -
Password: 
localhost ~ #     export LANG="it_IT.UTF-8" 
localhost ~ #     env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
localhost ~ #     locale-gen
 * Generating 1 locales (this might take a while) with 1 jobs
 *  (1/1) Generating it_IT.UTF-8 ... [ ok ]
 * Generation complete
localhost ~ #     exit 
logout
unknow@localhost ~/Desktop $     source ~/.bashrc
unknow@localhost ~/Desktop $ su -c 'locale'
Password: 
LANG=
LC_CTYPE=it_IT.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
unknow@localhost ~/Desktop $ su -c 'locale -a'
Password: 
C
POSIX
it_IT.utf8
unknow@localhost ~/Desktop $ su -c 'env'
Password: 
MANPATH=/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man:/etc/java-config/system-vm/man/
SSH_AGENT_PID=2387
GLADE_PIXMAP_PATH=:
XDG_MENU_PREFIX=xfce-
SHELL=/bin/bash
TERM=xterm
XDG_SESSION_COOKIE=284f6cd3a666efdd5ce966e20000c466-1333312191.551916-1563003691
WINDOWID=31457284
ANT_HOME=/usr/share/ant
USER=root
PRELINK_PATH_MASK=/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
GDK_USE_XFT=1
GLADE_MODULE_PATH=:
SSH_AUTH_SOCK=/tmp/ssh-KXnYyPAu2386/agent.2386
SESSION_MANAGER=local/localhost:@/tmp/.ICE-unix/2396,unix/localhost:/tmp/.ICE-unix/2396
CONFIG_PROTECT_MASK=/etc/gentoo-release /etc/sandbox.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild
PAGER=/usr/bin/less
XDG_CONFIG_DIRS=/etc/xdg:/etc/xdg
DESKTOP_SESSION=xfce
MAIL=/var/mail/unknow
PATH=/sbin:/bin:/usr/sbin:/usr/bin
_=/bin/env
PWD=/home/unknow/Desktop
JAVA_HOME=/etc/java-config-2/current-system-vm
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
EDITOR=/bin/nano
GSETTINGS_BACKEND=dconf
SHLVL=5
JDK_HOME=/etc/java-config-2/current-system-vm
HOME=/root
JAVACC_HOME=/usr/share/javacc/
LOGNAME=root
LESS=-R -M --shift 5
GCC_SPECS=
LC_CTYPE=it_IT.UTF-8
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8stKFOlB4X,guid=b873d90a97a4366c069f303100000043
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm:/usr/share
LESSOPEN=|lesspipe %s
WINDOWPATH=7
INFOPATH=/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info
DISPLAY=:0.0
OPENGL_PROFILE=xorg-x11
GLADE_CATALOG_PATH=:
LIBGLADE_MODULE_PATH=:
CONFIG_PROTECT=/var/lib/hsqldb
XAUTHORITY=/root/.xauths6Grln
COLORTERM=Terminal
unknow@localhost ~/Desktop $ locale 
LANG=
LC_CTYPE=it_IT.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
unknow@localhost ~/Desktop $ locale -a
C
POSIX
it_IT.utf8
unknow@localhost ~/Desktop $ env
MANPATH=/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man:/etc/java-config/system-vm/man/
SSH_AGENT_PID=2387
GLADE_PIXMAP_PATH=:
TERM=xterm
SHELL=/bin/bash
XDG_MENU_PREFIX=xfce-
XDG_SESSION_COOKIE=284f6cd3a666efdd5ce966e20000c466-1333312191.551916-1563003691
WINDOWID=31457284
ANT_HOME=/usr/share/ant
USER=unknow
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
PRELINK_PATH_MASK=/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so
GDK_USE_XFT=1
GLADE_MODULE_PATH=:
SSH_AUTH_SOCK=/tmp/ssh-KXnYyPAu2386/agent.2386
SESSION_MANAGER=local/localhost:@/tmp/.ICE-unix/2396,unix/localhost:/tmp/.ICE-unix/2396
PAGER=/usr/bin/less
CONFIG_PROTECT_MASK=/etc/gentoo-release /etc/sandbox.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild
XDG_CONFIG_DIRS=/etc/xdg:/etc/xdg
PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/opt/firebird/bin:/usr/lib64/subversion/bin
MAIL=/var/mail/unknow
DESKTOP_SESSION=xfce
PWD=/home/unknow/Desktop
JAVA_HOME=/etc/java-config-2/current-system-vm
EDITOR=/bin/nano
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
GSETTINGS_BACKEND=dconf
HOME=/home/unknow
JDK_HOME=/etc/java-config-2/current-system-vm
SHLVL=4
JAVACC_HOME=/usr/share/javacc/
LESS=-R -M --shift 5
LOGNAME=unknow
GCC_SPECS=
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm:/usr/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8stKFOlB4X,guid=b873d90a97a4366c069f303100000043
LC_CTYPE=it_IT.UTF-8
LESSOPEN=|lesspipe %s
INFOPATH=/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info
WINDOWPATH=7
DISPLAY=:0.0
LIBGLADE_MODULE_PATH=:
GLADE_CATALOG_PATH=:
OPENGL_PROFILE=xorg-x11
CONFIG_PROTECT=/var/lib/hsqldb
COLORTERM=Terminal
_=/usr/bin/env
unknow@localhost ~/Desktop $ 
Zievatron

Avatar utente
conoscenza
Messaggi: 3821
Iscritto il: venerdì 2 dicembre 2011, 23:27
Località: Parma

Re: Gentoo sul mio PC: Aggiustamenti

Messaggio da conoscenza »

export non fa il suo lavoro!
Non setta la variabile LANG!

...ci penso e faccio sapere...

EDIT: La discussione sulla lingua, continua qui: http://www.bitsandchips.it/forum/viewto ... f=8&t=1586
Sono allergico a mele morsicate e a finestre con tende.

Segnalate qui le vostre offerte di smartphone e tablet!!!

Rispondi