Some time ago, I learned that for GTK applications to choose "US Letter"
as the default paper size, I need to set something like "LANG=en_US.foo".

I chose "en_US.US-ASCII".  That seemed to work.

Some applications, however, take exception to this locale and throw
interesting errors.  Namely 'xlock' (x11/xlockmore) fails, complaining
about "Can't create FontSet blahblahblah,xyzzy" and some of the font
strings it prints look rather broken.  There also appears to be a typo
somewhere and it also displays a message with "fonset" (sic).

It worked fine for another user account on my system, but wasn't working
any more for my regular account.

The only change I'd made was setting "LANG=en_US.US-ASCII" in my
'.xsession' script.  Unsetting LANG entirely allowed 'xlock' to work.
Setting LANG=en_US.UTF-8 allows it to work also.

Just a little note about something I observed.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Reply via email to