Re: [gentoo-user] evolution locale

2005-06-20 Thread Zac Medico
 On Thu, 2005-06-16 at 23:16 -0700, Zac Medico wrote:
  Iain Buchanan wrote:
   On Thu, 2005-06-16 at 22:11 -0700, Zac Medico wrote:
   
Iain Buchanan wrote:

 However, when I start evolution from an applet launcher, it seems to
 ignore this locale, but when I start it from the shell, the locale is
 correct.  I even tried making the launcher run `bash -c evolution` 
 to
 try and get the environment from bash, but no luck.
 [snip]
  What about charset?  Maybe if you add a charset and then run localedef like 
  in the \
  howto?  I recommend UTF-8. 
  http://www.gentoo.org/doc/en/utf-8.xml

 I think this may be barking up the wrong tree - it works ok from the
 command line (ie gnome-terminal) so I'm assuming its some gnome-panel
 thing.

Maybe you can dump the environment from the applet launcher and compare it to 
the environment in gnome-terminal.  The set command with no arguments will 
dump the environment for you.

bash -c set  /tmp/applet_env.txt

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] evolution locale

2005-06-20 Thread Iain Buchanan
On Sun, 2005-06-19 at 23:29 -0700, Zac Medico wrote:
  On Thu, 2005-06-16 at 23:16 -0700, Zac Medico wrote:
   Iain Buchanan wrote:
On Thu, 2005-06-16 at 22:11 -0700, Zac Medico wrote:

 Iain Buchanan wrote:
 
  However, when I start evolution from an applet launcher, it seems to
  ignore this locale, but when I start it from the shell, the locale 
  is
  correct.  I even tried making the launcher run `bash -c 
  evolution` to
  try and get the environment from bash, but no luck.
  [snip]
 
 Maybe you can dump the environment from the applet launcher and
 compare it to the environment in gnome-terminal.  The set command
 with no arguments will dump the environment for you.
 
 bash -c set  /tmp/applet_env.txt

good idea!!  ok, there's lots of env var's in there, but no LANG or
LC_ALL or anything like that.

Also, when I try this as an applet:

bash -c locale  /tmp/applet_locale

I get POSIX for everything instead of en_AU.  eg.
LC_CTYPE=POSIX
instead of
LC_CTYPE=en_AU

but from the gnome-terminal (for those who came in late):
$ locale
LANG=en_AU
LC_CTYPE=en_AU
...

Now what?  Is this a bug?  I assume so.  Any more comments from anyone?

Thanks,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] evolution locale

2005-06-17 Thread Zac Medico
Iain Buchanan wrote:
 On Thu, 2005-06-16 at 22:11 -0700, Zac Medico wrote:
 
Iain Buchanan wrote:

However, when I start evolution from an applet launcher, it seems to
ignore this locale, but when I start it from the shell, the locale is
correct.  I even tried making the launcher run `bash -c evolution` to
try and get the environment from bash, but no luck.

Did you restart your desktop environment (gnome, kde or whatever)?  It
needs to be relaunched with the new environment variables.
 
 
 yes, I've restart gnome and rebooted many times (I changed the setting a
 few days ago)
 
 
  Have you followed all the steps in the localization guide?

http://www.gentoo.org/doc/en/guide-localization.xml
 
 
 I followed the important one: setting LANG to en_AU
 
 $ locale
 LANG=en_AU
 LC_CTYPE=en_AU
 LC_NUMERIC=en_AU
 LC_TIME=en_AU
 LC_COLLATE=en_AU
 LC_MONETARY=en_AU
 LC_MESSAGES=en_AU
 LC_PAPER=en_AU
 LC_NAME=en_AU
 LC_ADDRESS=en_AU
 LC_TELEPHONE=en_AU
 LC_MEASUREMENT=en_AU
 LC_IDENTIFICATION=en_AU
 LC_ALL=
 
 but still no go when started from the taskbar.
 
 thanks,

What about charset?  Maybe if you add a charset and then run localedef like in 
the howto?  I recommend UTF-8.

http://www.gentoo.org/doc/en/utf-8.xml

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] evolution locale

2005-06-16 Thread Zac Medico
Iain Buchanan wrote:
 Hi,
 
 I raised a bug about evolution locale not setting the date format right
 (m/d/ instead of d/m/).  It turned out to be my own fault :) - I
 simply had to set LANG to en_AU.
 
 However, when I start evolution from an applet launcher, it seems to
 ignore this locale, but when I start it from the shell, the locale is
 correct.  I even tried making the launcher run `bash -c evolution` to
 try and get the environment from bash, but no luck.
 
 any ideas?
 
 TIA,

Did you restart your desktop environment (gnome, kde or whatever)?  It needs to 
be relaunched with the new environment variables.  Have you followed all the 
steps in the localization guide?

http://www.gentoo.org/doc/en/guide-localization.xml

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] evolution locale

2005-06-16 Thread Iain Buchanan
On Thu, 2005-06-16 at 22:11 -0700, Zac Medico wrote:
 Iain Buchanan wrote:
  However, when I start evolution from an applet launcher, it seems to
  ignore this locale, but when I start it from the shell, the locale is
  correct.  I even tried making the launcher run `bash -c evolution` to
  try and get the environment from bash, but no luck.
 
 Did you restart your desktop environment (gnome, kde or whatever)?  It
 needs to be relaunched with the new environment variables.

yes, I've restart gnome and rebooted many times (I changed the setting a
few days ago)

   Have you followed all the steps in the localization guide?
 
 http://www.gentoo.org/doc/en/guide-localization.xml

I followed the important one: setting LANG to en_AU

$ locale
LANG=en_AU
LC_CTYPE=en_AU
LC_NUMERIC=en_AU
LC_TIME=en_AU
LC_COLLATE=en_AU
LC_MONETARY=en_AU
LC_MESSAGES=en_AU
LC_PAPER=en_AU
LC_NAME=en_AU
LC_ADDRESS=en_AU
LC_TELEPHONE=en_AU
LC_MEASUREMENT=en_AU
LC_IDENTIFICATION=en_AU
LC_ALL=

but still no go when started from the taskbar.

thanks,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list