Page 1 of 1
Language of lxpanel/lxappearance/pcmanfm
Posted: Mon Aug 17, 2009 9:51 am
by TimE
Hello!
I'm using openbox in combination with lxpanel, lxappearance and pcmanfm under Gentoo. All my apps are translated to german. I couldn't manage to achieve this for the lxde apps or pcmanfm.
My language setting:
Code: Select all
~# locale
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=de_DE.utf8
Is there any configuration file I could edit to use the right translation?
Thanks in advance!
Re: Language of lxpanel/lxappearance/pcmanfm
Posted: Mon Aug 17, 2009 10:02 am
by archiebald
Try adding this to your ~/.xinitrc
Code: Select all
export LC_ALL=de_DE.utf8
export LANGUAGE=de_DE.utf8
export LANG=de_DE.utf8
But I'm using Arch Linux, and don't know if this will work in Gentoo.
Re: Language of lxpanel/lxappearance/pcmanfm
Posted: Mon Aug 17, 2009 10:24 am
by TimE
archiebald wrote:Try adding this to your ~/.xinitrc
Code: Select all
export LC_ALL=de_DE.utf8
export LANGUAGE=de_DE.utf8
export LANG=de_DE.utf8
But I'm using Arch Linux, and don't know if this will work in Gentoo.
These variables are set globally in my environment.
Re: Language of lxpanel/lxappearance/pcmanfm
Posted: Mon Aug 17, 2009 11:37 am
by Marty Jack
TimE wrote:These variables are set globally in my environment.
But they may not be set in lxsession (or it sounds like "just openbox"), and thus propagated down to the others. You need a "login shell" somewhere in the startup to get your environment variables read from your shell startup files.
I run slim, and I use the incantation
login_cmd bash -l -c "/usr/bin/lxsession -s LXDE"
in /etc/xdg/slim.conf to get this done. You will need to adapt this to your startup procedure, which may be different. If you say more about what you are running to get things started, we may be able to give more specific instructions.
Re: Language of lxpanel/lxappearance/pcmanfm
Posted: Mon Aug 17, 2009 3:04 pm
by TimE
I use slim, too. My login_cmd is
Code: Select all
login_cmd exec /bin/bash --login /etx/X11/xinit/xinitrc
The xinitrc sets the environment and takes care to launch the right wm (openbox in my case). Openbox starts an autostart.sh script at startup. In this script I launch lxpanel and pcmanfm. I already tried to set those environment variables in the autostart.sh (what shouldn't be necessary), but with no luck.
Is there a possibility to check if other languages than english were build and installed? I checked the gentoo ebuild for pcmanfm and there not given any special option to configure or compile, so there should be all languages included right?
Re: Language of lxpanel/lxappearance/pcmanfm
Posted: Tue Aug 18, 2009 6:29 am
by TimE
I have compiled the pcmanfm sources by hand now and it works! Thanks for your help but it seems I have to file a bug over at the gentoo bugzilla! Gentoo makes all languages but doesn't installs them.
