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 <janina@xxxxxxxxxxx> wrote:
| > --- "Mikkel L. Ellertson" <mikkel@xxxxxxxxxxxxxxxx> 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).

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

"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_

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux