Seems odd someone would need to set this, I'm assuming this is already set automatically on most distros durining the installation?<br><br>I'm running Slack and it uses; /etc/profile.d/lang.sh as far as I can tell it's already set properly...<br>
<br><br>#!/bin/sh<br># Set the system locale.  (no, we don't have a menu for this ;-)<br># For a list of locales which are supported by this machine, type:<br>#   locale -a<br><br># en_US is the Slackware default locale:<br>
export LANG=en_US<br><br># 'C' is the old Slackware (and UNIX) default, which is 127-bit<br># ASCII with a charmap setting of ANSI_X3.4-1968.  These days,<br># it's better to use en_US or another modern $LANG setting to<br>
# support extended character sets.<br>#export LANG=C<br><br># There is also support for UTF-8 locales, but be aware that<br># some programs are not yet able to handle UTF-8 and will fail to<br># run properly.  In those cases, you can set LANG=C before<br>
# starting them.  Still, I'd avoid UTF unless you actually need it.<br>#export LANG=en_US.UTF-8<br><br># Another option for en_US:<br>#export LANG=en_US.ISO8859-1<br><br># One side effect of the newer locales is that the sort order<br>
# is no longer according to ASCII values, so the sort order will<br># change in many places.  Since this isn't usually expected and<br># can break scripts, we'll stick with traditional ASCII sorting.<br># If you'd prefer the sort algorithm that goes with your $LANG<br>
# setting, comment this out.<br>export LC_COLLATE=C<br><br># End of /etc/profile.d/lang.sh<br><br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 7:10 AM, Brian Mattern <span dir="ltr"><<a href="mailto:rephorm@rephorm.com" target="_blank">rephorm@rephorm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, 17 Jun 2013, Anthony Thyssen wrote:<br>
<br>
> I would not think this has anything to do with openbox.<br>
><br>
> It is purely with whatever is doing the sorting, and then should use the<br>
> LOCALE environment variable set when the program is run.<br>
><br>
> So is comes down to when and how you start openbox, and setting LOCALE<br>
> appropariatally at that point.<br>
><br>
> Try setting LOCALE in your .bashrc and .bash_profile  files in your home,<br>
> or however you are setting your environment.<br>
><br>
> For a private personal computer, you may like to try and set the computers<br>
> default LOCALE.  On my Fedora Machine that is "/etc/locale.conf"<br>
<br>
</div>Perhaps it would be better to set LOCALE or LC_* variables in openbox's<br>
"environment" file (~/.config/openbox/environment). This will definitely<br>
get sourced, independent of how openbox is launched (unlike<br>
~/.bash{rc,_profile}).<br>
<br>
See <a href="http://openbox.org/wiki/Help:Autostart" target="_blank">http://openbox.org/wiki/Help:Autostart</a> for more info.<br>
<span class="HOEnZb"><font color="#888888"><br>
Brian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br>