Locales in Xfce4

Peter Humphrey prh at gotadsl.co.uk
Mon May 2 23:26:58 CEST 2005


Brian J. Tarricone wrote:

>Overall, setting the LANG environment variable before starting Xfce
>(usually in your X startup scripts, either ~/.xinitrc, ~/.xsession, or
>possibly by copying $sysconfdir/xdg/xfce4/xinitrc to ~/.config/xfce4/
>and editing that) should do what you want.  There are a bunch of LC_*
>environment variables that you can use if you want to only set certain
>portions of the C library to another locale.  Running 'locale' from the
>command line should tel you what these are.
>  
>

I have these in ~/.bashrc, but I see what you mean about the X setup.
Thanks.

>On the other hand, it probably wouldn't hurt to have a 'regional'
>settings panel that writes a locale to a file in ~/.config/xfce4, and
>then have the stock xinitrc read that and set whatever's needed.  Of
>course, someone needs to write it ^_~.  File a feature request on
>Bugzilla; that sounds like something that isn't too complicated, though
>it does require some knowledge of MCS plugins.
>  
>

For my purposes, editing ~/.config/xfce4/xinitrc should do the trick -
all I needed was a pointer, which the documentation ought to cover IMO.

-- 
Rgds
Peter Humphrey




More information about the Xfce mailing list