Hello, today i've updated coreutils, baselayout and new sysvinit. Now my locales are not working well since i've lost some letters/simbols like 's' or '#' etc I'm using iso8559-15 Since today i've been using /etc/rc.conf like this with no troubles: Código:
# /etc/rc.conf: Global startup script configuration settings # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.21 2003/07/16 19:38:51 azarah Exp $ # Use KEYMAP to specify the default console keymap. There is a complete tree # of keymaps in /usr/share/keymaps to choose from. This setting is used by the # /etc/init.d/keymaps script. KEYMAP="es euro2" #KEYMAP="es" # Should we first load the 'windowkeys' console keymap? Most x86 users will # say "yes" here. Note that non-x86 users should leave it as "no". SET_WINDOWKEYS="yes" # The maps to load for extended keyboards. Most users will leave this as is. EXTENDED_KEYMAPS="backspace keypad euro windowkeys" #EXTENDED_KEYMAPS="backspace keypad" # CONSOLEFONT specifies the default font that you'd like Linux to use on the # console. You can find a good selection of fonts in /usr/share/consolefonts; # you shouldn't specify the trailing ".psf.gz", just the font name below. # To use the default console font, comment out the CONSOLEFONT setting below. # This setting is used by the /etc/init.d/consolefont script (NOTE: if you do # not want to use it, run "rc-update del consolefont" as root). #CONSOLEFONT="default8x16" CONSOLEFONT="lat9-16" #CONSOLEFONT="lat9w-16" # CONSOLETRANSALTION is the charset map file to use. Leave commented to use # the default one. Have a look in /usr/share/consoletrans for a selection of # map files you can use. CONSOLETRANSLATION="8859-15_to_uni" # Set CLOCK to "UTC" if your system clock is set to UTC (also known as # Greenwich Mean Time). If your clock is set to the local time, then set CLOCK # to "local". This setting is used by the /etc/init.d/clock script. CLOCK="local" # Set EDITOR to your preferred editor. EDITOR="/bin/nano" #EDITOR="/usr/bin/vim" #EDITOR="/usr/bin/emacs" # Set PROTOCOLS to the protocols that you plan to use. Gentoo Linux will only # enable module auto-loading for these protocols, eliminating annoying module # not found errors. # # NOTE: Do NOT uncomment the next lines, but add them to 'PROTOCOLS=...' line!! # # Num Protocol # 1: Unix # 2: IPv4 # 3: Amateur Radio AX.25 # 4: IPX # 5: DDP / appletalk # 6: Amateur Radio NET/ROM # 9: X.25 # 10: IPv6 # 11: ROSE / Amateur Radio X.25 PLP # 19: Acorn Econet # Most users want this: PROTOCOLS="1 2 4" #For IPv6 support: #PROTOCOLS="1 2 10" # What display manager do you use ? [ xdm | gdm | kdm | elogin | entrance ] DISPLAYMANAGER="kdm" # XSESSION is a new variable to control what window manager to start # default with X if run with xdm, startx or xinit. The default behavior # is to look in /etc/X11/Sessions/ and run the script in matching the # value that XSESSION is set to. The support scripts is smart enouth to # look in all bin directories if it cant find a match in /etc/X11/Sessions/, # so setting it to "enligtenment" can also work. This is basically used # as a way for the system admin to configure a default system wide WM, # allthough it will work if the user export XSESSION in his .bash_profile, etc. # # NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx # is called. # 2) even if a ~/.xsession exist, if XSESSION can be resolved, it will # be executed rather than ~/.xsession, else KDM breaks ... # # Defaults depending on what you install currently include: # # Gnome - will start gnome-session # kde-<version> - will start startkde (ex: kde-3.0.2) # Xsession - will start a terminal and a few other nice apps #XSESSION="Gnome" XSESSION="kde-3.4" Since the new sysvinit is installed i use some other files, /etc/rc.conf is like this: Código: # /etc/rc.conf: Global startup script configuration settings # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.30.4.1 2005/02/10 01:11:52 vapier Exp $ # UNICODE specifies whether you want to have UNICODE support in the console. # If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and # KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files. UNICODE="no" # Set EDITOR to your preferred editor. # You may use something other than what is listed here. EDITOR="/bin/nano" #EDITOR="/usr/bin/vim" #EDITOR="/usr/bin/emacs" # What display manager do you use ? [ xdm | gdm | kdm | entrance ] DISPLAYMANAGER="kdm" # XSESSION is a new variable to control what window manager to start # default with X if run with xdm, startx or xinit. The default behavior # is to look in /etc/X11/Sessions/ and run the script in matching the # value that XSESSION is set to. The support scripts are smart enough to # look in all bin directories if it cant find a match in /etc/X11/Sessions/, # so setting it to "enlightenment" can also work. This is basically used # as a way for the system admin to configure a default system wide WM, # allthough it will work if the user export XSESSION in his .bash_profile, etc. # # NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx # is called. # 2) even if ~/.xsession exists, if XSESSION can be resolved, it will # be executed rather than ~/.xsession, else KDM breaks ... # # Defaults depending on what you install currently include: # # Gnome - will start gnome-session # kde-<version> - will start startkde (ex: kde-3.0.2) # Xsession - will start a terminal and a few other nice apps XSESSION="kde-3.4" /etc/conf.d/clock Código: # /etc/conf.d/clock # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/clock,v 1.2.4.1 2005/02/19 02:13:53 vapier Exp $ # Set CLOCK to "UTC" if your system clock is set to UTC (also known as # Greenwich Mean Time). If your clock is set to the local time, then # set CLOCK to "local". CLOCK="local" # If you wish to pass any other arguments to hwclock during bootup, # you may do so here. CLOCK_OPTS="" # If you want to sync the system clock to the hardware clock during # shutdown, then say "yes" here. CLOCK_SYSTOHC="no" ### ALPHA SPECIFIC OPTIONS ### # If your alpha uses the SRM console, set this to "yes". SRM="no" # If your alpha uses the ARC console, set this to "yes". ARC="no" /etc/conf.d/keymaps Código: # /etc/conf.d/keymaps # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/keymaps,v 1.1.4.1 2005/02/19 02:13:53 vapier Exp $ # Use KEYMAP to specify the default console keymap. There is a complete tree # of keymaps in /usr/share/keymaps to choose from. KEYMAP="es euro2" #KEYMAP="es" # Should we first load the 'windowkeys' console keymap? Most x86 users will # say "yes" here. Note that non-x86 users should leave it as "no". SET_WINDOWKEYS="yes" # The maps to load for extended keyboards. Most users will leave this as is. EXTENDED_KEYMAPS="backspace keypad euro windowkeys" #EXTENDED_KEYMAPS="backspace keypad euro" # Tell dumpkeys(1) to interpret character action codes to be # from the specified character set. # This only matters if you set UNICODE="yes" in /etc/rc.conf. # For a list of valid sets, run `dumpkeys --help` DUMPKEYS_CHARSET="" /etc/conf.d/consolefonts Código: # /etc/conf.d/consolefont # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/Attic/consolefont,v 1.1.2.2 2005/05/14 20:44:41 vapier Exp $ # CONSOLEFONT specifies the default font that you'd like Linux to use on the # console. You can find a good selection of fonts in /usr/share/consolefonts; # you shouldn't specify the trailing ".psf.gz", just the font name below. # To use the default console font, comment out the CONSOLEFONT setting below. # This setting is used by the /etc/init.d/consolefont script (NOTE: if you do # not want to use it, run "rc-update del consolefont" as root). #CONSOLEFONT="default8x16" #CONSOLEFONT="lat9-16" CONSOLEFONT="lat9w-16" # CONSOLETRANSLATION is the charset map file to use. Leave commented to use # the default one. Have a look in /usr/share/consoletrans for a selection of # map files you can use. CONSOLETRANSLATION="8859-15_to_uni" I've only noticed that i can't type 's' in lower case and '#'. 's' in upper case works well. strange After that i recompiled the kernel with utf8 as default nls for me, all i did can be found here: http://es.gentoo-wiki.com/HOWTO_Castellanizar_Gentoo still with the same trouble, someone know what could it be? -- gentoo-user@gentoo.org mailing list