Hi PCMan, On Fri, Jul 10, 2009 at 12:29:16AM +0800, PCMan wrote: > Maybe lxsession should also set LC_ALL, LANG, and LANGUAGE for the > users before trying to load the rest of the desktop environment? Or it > will be better to set this in other places like gdm or startlxde?
Just a word of caution - setting locale in the display manager is a bad design, please let user-related processes do the job, not gdm (or alike) which may easily fail doing this task. A user can run a software setup which gdm is totally unaware of, like we (Aetey) do with our globally available software (Dapty). A host-local gdm is simply unaware of the set of locales available with Dapty so it can not help the with the session environment setup. With other words, users' choice of locales is easily different/larger than the knowledge of gdm / of the local host administrator. Furthermore, a display manager can be simply incapable or not configured to let the user choose a locale. My 2c Rune ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
