! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Applications launching from XFCE (desktop menu, thunar, etc) do not pass LC_TIME
Status:
RESOLVED: INVALID

Comments

Description Douglas Breault Jr. 2008-01-08 22:07:51 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2) Gecko/2007121016 Firefox/3.0b2
Build Identifier: 

I need a UTF-8 environment for many reasons but prefer my time formats to be reported in traditional POSIX format. My locale looks like

kreton@aesir ~ $ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=POSIX
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

If I launch a program, such as pidgin, from the terminal, it displays time properly. I KNOW my locale is proper: I've rebooted with the correct environment settings in Gentoo and tested locale before running startxfce4.

Reproducible: Always

Steps to Reproduce:
1. export locales
2. startxfce4
3. launch a program that displays time stamps

Actual Results:  
I get a 12 hour time format inside programs that read LC_TIME.

Expected Results:  
I want a 24 hour time format inside programs that read LC_TIME.
Comment 1 Brian J. Tarricone (not reading bugmail) 2008-01-08 22:36:36 CET
Sorry, but this really has nothing to do with Xfce.  Your X session just isn't inheriting your environment properly.  Or, rather, it's not getting initialised with the environment you want.  Both of which are out of our scope.
Comment 2 Douglas Breault Jr. 2008-01-09 00:11:59 CET
(In reply to comment #1)
> Sorry, but this really has nothing to do with Xfce.  Your X session just isn't
> inheriting your environment properly.  Or, rather, it's not getting initialised
> with the environment you want.  Both of which are out of our scope.
> 

Instead of crass attitude how about you inform me where this belongs or maybe even moving it there? It is a bug when things are not "initialised" [sic] properly.

http://www.xfce.org/projects/xfce4-session/

It is listed as an official XFCE project and not under goodies. So I apologize sincerely if this was the wrong place and accept a suggestion on where to go with this.
Comment 3 Brian J. Tarricone (not reading bugmail) 2008-01-09 00:25:06 CET
> Instead of crass attitude

I'm not being crass.  I'm merely stating a fact (I even apologised that I can't be of more help; what more do you want!).

> how about you inform me where this belongs or maybe
> even moving it there?

I don't know offhand where you should be putting it; if I did, I would have told you.  This is a configuration issue with *your system*, not with Xfce.

> "initialised" [sic]

en_US is not the only English dictionary out there.  Deal with it.

> It is listed as an official XFCE project and not under goodies.

Indeed, that's correct.  But xfce4-session is not the root of your problem, nor is any other Xfce component.

> So I apologize sincerely if this was the wrong place and accept a suggestion
> on where to go with this.

I don't have a suggestion, other than to say you need to put your LC_TIME setting somewhere where X will see it, possibly in some xinitrc file somewhere, or perhaps in something that gets sourced for non-interactive shells.  Sorry, not only do I not know the details about your system, but I don't exist solely to act as a repository of knowledge to satisfy your desire for free help.  Drop the sense of entitlement and maybe you'll get a response more to your liking.
Comment 4 Nick Schermer editbugs 2009-07-15 09:27:59 CEST
Moving invalid bugs to the /dev/null product.

Bug #3790

Reported by:
Douglas Breault Jr.
Reported on: 2008-01-08
Last modified on: 2009-07-15

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information