From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: iCal export - possible timezone bug Date: Fri, 08 May 2009 11:27:25 -0400 Message-ID: <14250.1241796445@gamaville.dokosmarshall.org> References: <49f377d1.0407560a.5f0d.3c81@mx.google.com> <4a0193b6.1438560a.1123.58e4@mx.google.com> <672F1C42-93DC-418A-A252-73BFE3E388C1@gmail.com> <4a031359.0437560a.3c1c.4e49@mx.google.com> <13062.1241718356@gamaville.dokosmarshall.org> <22AF8CD5-782F-4BBD-B12E-11F1F2CA024E@gmail.com> <4a04496f.0405560a.3a5c.55ad@mx.google.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2S0r-00074z-2i for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:29:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2S0q-00073i-4c for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:29:24 -0400 Received: from [199.232.76.173] (port=55847 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2S0p-00073T-Rb for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:29:23 -0400 Received: from mx20.gnu.org ([199.232.41.8]:28876) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M2S0p-0002uo-Hy for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:29:23 -0400 Received: from qmta14.emeryville.ca.mail.comcast.net ([76.96.27.212]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2RzM-000407-Ph for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:27:53 -0400 In-Reply-To: Message from Richard Riley of "Fri, 08 May 2009 17:02:06 +0200." <4a04496f.0405560a.3a5c.55ad@mx.google.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Riley Cc: org-mode [Sorry about the fat-fingered empty response earlier.] Richard Riley wrote: > >> > >> export TZ > >> TZ=Europe/Amsterdam > >> > >> e.g., in the appropriate login shell initialization file and get the > >> correct behavior with the system date as well as with org-icalendar. > > I tried in my .xinitrc and my .bashrc and my /etc/bash.bashrc and it > didn't seem to pick up for the export correctly. > For my Ubuntu 8.04/Gnome setup, putting it in ~/.profile works. But it depends on how your distro organizes the initialization of the desktop. There is a reasonable writeup (again about Ubuntu) here: http://linuxgazette.net/161/okopnik.html It has to be part of the environment of whatever process starts your emacs (probably gnome-session), so it has to be set in an initialization file that gnome-session reads. The reason that ~/.profile works in Ubuntu is that gnome-session reads /etc/gdm/Xsession which includes the following: ,---- | # First read /etc/profile and .profile | test -f /etc/profile && . /etc/profile | test -f "$HOME/.profile" && . "$HOME/.profile" | # Second read /etc/xprofile and .xprofile for X specific setup | test -f /etc/xprofile && . /etc/xprofile | test -f "$HOME/.xprofile" && . "$HOME/.xprofile" `---- HTH, Nick