Re: IST for system, local time for people

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 21Aug2006 20:31, Janina Sajka <[email protected]> wrote:
| > --- "Mikkel L. Ellertson" <[email protected]> wrote:
| > > If I understand you correctly, you want the time displayed to be a
| > > different time zone then the system time zone. If you just want the
| > > clock in Gnome to do this, you can configure the clock. On the other
| > > hand, if you want it for all applications, then you need to set the
| > > TZ variable. You could do this in .bashrc.
| for example ...
| TZ=US/Eastern # -5/-4
| export TZ
| I have taken to sourcing a .timezones file in my $HOME/.bashrc where I #
| and un# various time zone definitions depending on where I'm traveling.
| Gives me local time wherever I find myself.

You can also do this per-command:

	TZ=US/Eastern xclock &
	TZ=GMT xclock &

That setting is inherited by an subprocesses (it's a normal environment
setting - per process, inherited by process children).

Cameron Simpson <[email protected]> DoD#743

"He deserves death!"
"Deserves it!  I daresay he does.  And many die that deserve life.  Is it in
 your power to give it to them?  Then do not be so quick to deal out death in
 judgement, for even the very wise may not see all ends."
        - Gandalf, _The Lord of the Rings_

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux