easiest way to change my locale?

Marius Gedminas marius at pov.lt
Sat Nov 15 13:00:04 UTC 2008


On Sat, Nov 15, 2008 at 10:04:15AM +0100, Mario Vukelic wrote:
> On Fri, 2008-11-14 at 23:34 -0500, H.S. wrote:
> > However, once a user has selected a locale, how
> > does the user then do I just change the time format or any other
> > particular aspect of the locale?
> 
> I think the only way is to set the LC_* variables in $HOME/.profile.

Problem is: .profile is not loaded for the GUI session, so any apps you
launch from the GNOME menus won't see your changes.

For a long time I had a ~/.gnomerc which set a couple of environment
variables.  This one works for all GNOME sessions.  The syntax is the
same as ~/.profile, only be very careful about introducing errors (or
using bashisms), as those will prevent you from logging in.

Marius Gedminas
-- 
When in trouble or in doubt,
run in circles, scream and shout.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081115/c58dd2b8/attachment.pgp>


More information about the ubuntu-users mailing list