From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: iCal export - possible timezone bug Date: Fri, 08 May 2009 17:49:22 +0200 Message-ID: <4a045484.0305560a.4bed.ffff8a18@mx.google.com> 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> <14250.1241796445@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2SKK-0006b5-T3 for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:49:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2SKG-0006aF-DN for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:49:32 -0400 Received: from [199.232.76.173] (port=54122 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2SKG-0006a7-9O for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:49:28 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:53066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2SKF-0006l0-SQ for emacs-orgmode@gnu.org; Fri, 08 May 2009 11:49:28 -0400 Received: by fxm17 with SMTP id 17so1546461fxm.42 for ; Fri, 08 May 2009 08:49:25 -0700 (PDT) In-Reply-To: <14250.1241796445@gamaville.dokosmarshall.org> (Nick Dokos's message of "Fri, 08 May 2009 11:27:25 -0400") 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: nicholas.dokos@hp.com Cc: org-mode , Richard Riley Nick Dokos writes: > [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: It's a tad more complicated in my case since although I use gdm, I don't use gnome-session as I use xmonad as my WM but with various gnome utilities such as gnome-taskbar. Think I'll stick with the iCalendar setting to be sure. Thanks for the link though. > > ,---- > | # 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 > > > > --