You are not logged in.

#1 2010-11-08 04:21:55

Andyvec
Member
From: Buenos Aires, Argentina
Registered: 2010-10-12
Posts: 30
Website

locale-gen command not found

Hi everyone

I just completed a new installation of Arch on my netbook, everything was working fine but there is a problem I can not solve.
I managed to set everything as I wanted and put the language of my XFCE and Firefox in Spanish, but then (I do not know exactly when) all programs returned to English.
I already check the rc.conf configuration and locale.gen and everything is set for Spanish, but when I try "sudo locale-gen" I recive a message like this: "sudo: locale-gen: command not found"

I also have problems with the keyboard, I configured xorg and rc.conf to use spanish keymap but it didn't work

Any ideas?

Offline

#2 2010-11-08 04:44:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: locale-gen command not found

> pacman -Qo locale-gen 
/usr/sbin/locale-gen is owned by glibc 2.12.1-4

If glibc is not on your system then you have real issues... tongue

Try running with the full path.  You could have issues with your PATH variable.

Offline

#3 2010-11-08 11:32:00

Andyvec
Member
From: Buenos Aires, Argentina
Registered: 2010-10-12
Posts: 30
Website

Re: locale-gen command not found

Thanks

The problem was that I was starting automatically XFCE with "#x:5:once:/bin/su <MY USER> -l -c '/usr/bin/startxfce4 >/dev/null 2>&1'" in inittab. I try sbooting to the console and using startxfce and everything works in spanish, even the keyboard big_smile

Is there any other method to enter in XFCE at boot with my user without using login manager?

Offline

#4 2010-11-08 17:37:01

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: locale-gen command not found

Not what you asked for but, in this case, I recommend CDM.

Last edited by Stebalien (2010-11-08 17:37:44)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#5 2010-11-08 19:16:27

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: locale-gen command not found

I made one arch install that has this problem... locale-gen doesnt work (for example) but it's full path works. How do I re-set the PATH variable?


.::. TigTex @ Portugal .::.

Offline

#6 2010-11-08 20:02:02

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: locale-gen command not found

You should grep for PATH in your $HOME and /etc, because by default, the path in arch is "/bin:/usr/bin:/sbin:/usr/sbin" (set in /etc/profile)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2010-11-08 23:53:10

Andyvec
Member
From: Buenos Aires, Argentina
Registered: 2010-10-12
Posts: 30
Website

Re: locale-gen command not found

TigTex wrote:

I made one arch install that has this problem... locale-gen doesnt work (for example) but it's full path works. How do I re-set the PATH variable?

All the problems I had with the PATH, keyboard and using other language than english had solved when I stop using autostart X in inittab , if I login to the terminal and start X myself, then everything works fine.

I am still looking for a way to start XFCE at boot without having to enter my username or password and not having the problems I told (CDM looks like the better way smile)

Last edited by Andyvec (2010-11-09 17:58:28)

Offline

Board footer

Powered by FluxBB