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.

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

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

  • Thanks. I confess I could have figured this myself, but I wanted to rant a little :-) – Antonis Christofides Nov 21 '13 at 19:02
  • Well, I learned something new today. – Kevin Panko Nov 21 '13 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.