3

I was in Athens, now I'm temporarily in Berlin. I don't want to change the system time, it's perfectly correct. I just want the system to display the time in a different zone. I shouldn't need superuser rights to do this, I don't want to modify the default zone for the system, just for myself.

If this isn't possible through GNOME3's user interface, can I perhaps do it by editing a configuration file or something? A user configuration file that is, not system. .bashrc wouldn't do it I believe, it would only affect bash.

1
  • System time is actually always stored in UTC, it's just adjusted for zone/daylight at request time ;)
    – Rudu
    Nov 21, 2013 at 16:14

1 Answer 1

3

This is possible through setting the TZ variable.

Add this to your ~/.profile

TZ='Europe/Berlin'; export TZ

The possible time zones are defined in /usr/share/zoneinfo/.

Log out and back in to see it take effect.

See also: Unix & Linux: Incorrect Timezone

2
  • Thanks. I confess I could have figured this myself, but I wanted to rant a little :-) Nov 21, 2013 at 19:02
  • Well, I learned something new today. Nov 21, 2013 at 20:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .