This forum has been archived. All content is frozen. Please use KDE Discuss instead.

cannot change local time zone

Tags: None
(comma "," separated)
equaeghe
Registered Member
Posts
67
Karma
0
OS

cannot change local time zone

Wed Apr 13, 2016 9:10 am
(plasma 5.5.1)

My local time zone setting is stuck on Brussels, while I want it to be Amsterdam (I know, same time zone...). The system timezone is set to Amsterdam (using systemd's timedatectl). I recently upgraded from kde 4 and I have used Brussels as my time zone in the past, so I guess it is stuck/revived from somewhere in (old) settings.

What can I do to get rid of Brussels as my local time zone? (Brussels sticks even if I choose some Russian city... but I must check whether this is so after a restart.)
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: cannot change local time zone

Wed Apr 13, 2016 9:27 am
look at ~/.config/ktimezonedrc


OpenSuse Leap 42.1 x64, Plasma 5.x

equaeghe
Registered Member
Posts
67
Karma
0
OS

Re: cannot change local time zone

Wed Apr 13, 2016 12:28 pm
google01103 wrote:look at ~/.config/ktimezonedrc


I logged out of the KDE session, logged in at a TTY and changed Brussels to Amsterdam, then restarted. The result is that the local timezone is again Europe/Brussels (also in ktimezonedrc, of course). So it really seems that this is some zombie being constantly revived from some grave I know not where.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: cannot change local time zone

Wed Apr 13, 2016 1:10 pm
what is
Code: Select all
date +Z


what is /etc/sysconfig/clock

if you change to something not Amsterdam does it hold

lastly is it your account only? what happens in a new account?


OpenSuse Leap 42.1 x64, Plasma 5.x

equaeghe
Registered Member
Posts
67
Karma
0
OS
google01103 wrote:what is
Code: Select all
date +Z

Code: Select all
> date +%Z
CEST


google01103 wrote:what is /etc/sysconfig/clock

I don't have that file.

google01103 wrote:if you change to something not Amsterdam does it hold

No, Brussels still overrides it.

google01103 wrote:lastly is it your account only? what happens in a new account?

Also happens on a new account. So this made it clear this was a global issue. I grepped for Brussel in /etc and found that I had an old file ‘timezone’ there, with ‘Europe/Brussels’ inside. Deleting that file fixed things. Thanks for pointing me in the right direction! I do not know whether I should consider this a bug or not.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]