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

[SOLVED]Issue with Digital Clock

Tags: None
(comma "," separated)
zelegolas
Registered Member
Posts
8
Karma
0
OS

[SOLVED]Issue with Digital Clock

Fri Sep 04, 2009 12:47 pm
Hi

When I check on System Settings - Date & Time hour and date are correct. But with Digital Clock the hour is not the same. I check the timezone and I can only select UTC on both System Settings - Date & Time and Digital Clock.

I have this issue since I installed KDE 4.3, I updated to 4.3.1 and it's the same.

Regards

Last edited by zelegolas on Tue Sep 22, 2009 12:16 am, edited 2 times in total.
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: Issue with Digital Clock

Fri Sep 04, 2009 12:54 pm
Do you mean that you don't get the list of time zones to choose from?

Do you have tzdata installed?


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
zelegolas
Registered Member
Posts
8
Karma
0
OS

Re: Issue with Digital Clock

Sat Sep 05, 2009 10:36 am
> Do you mean that you don't get the list of time zones to choose from?

Exactly.

> Do you have tzdata installed?

What is tzdata??
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Issue with Digital Clock

Sat Sep 05, 2009 12:49 pm
I know this problem... you need to install a package. Make sure ktimezoned is installed.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: Issue with Digital Clock

Sat Sep 05, 2009 12:50 pm
time-zone data. You need this installed for access to the various time-zone settings.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
zelegolas
Registered Member
Posts
8
Karma
0
OS

Re: Issue with Digital Clock

Sat Sep 05, 2009 6:53 pm
I checked ktimezoned is installed but it didn't fix anything.
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: Issue with Digital Clock

Sun Sep 06, 2009 8:38 am
So have you installed tzdata yet?


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
zelegolas
Registered Member
Posts
8
Karma
0
OS

Re: Issue with Digital Clock

Sun Sep 06, 2009 11:15 am
When I install ktimezoned on Gentoo I don't have anything for tzdata:

# qlist ktimezone
/usr/lib64/kde4/kded_ktimezoned.so
/usr/share/kde4/services/kded/ktimezoned.desktop
/usr/share/dbus-1/interfaces/org.kde.KTimeZoned.xml

If I search what packages use tzdata I found package timezone-data:

# qgrep -NJ tzdata
sys-libs/timezone-data-2009l:SRC_URI="ftp://elsie.nci.nih.gov/pub/tzdata${data_ver}.tar.gz
sys-libs/timezone-data-2009l: mirror://gentoo/tzdata${data_ver}.tar.gz

Everything installed on /usr/share/zoneinfo/

To answers to your question YES tzdata installed but NO it's not installed by ktimezoned. It's like ktimezoned is not capable to find time zone on /usr/share/zoneinfo/. May be a bad configuration somewhere...
zelegolas
Registered Member
Posts
8
Karma
0
OS

Re: Issue with Digital Clock

Sun Sep 20, 2009 1:27 pm
if I run:
Code: Select all
$sudo systemesettings

Go to "Date and time settings" I have the list of time zone
I started also KDE with root and Digital Clock displayed the right time

if I run:
Code: Select all
$systemesettings

Go to "Date and time settings" I DON'T have the list of time zone

I checked if I have access to /usr/share/zoneinfo:

Code: Select all
$ ll /usr/share/zoneinfo/
total 237K                         
drwxr-xr-x  2 root root 1.4K Sep 15 21:26 Africa
drwxr-xr-x  6 root root 3.7K Sep 15 21:26 America
drwxr-xr-x  2 root root  304 Sep 15 21:26 Antarctica
drwxr-xr-x  2 root root   80 Sep 15 21:26 Arctic   
drwxr-xr-x  2 root root 2.4K Sep 15 21:26 Asia     
drwxr-xr-x  2 root root  376 Sep 15 21:26 Atlantic 
drwxr-xr-x  2 root root  640 Sep 15 21:26 Australia
drwxr-xr-x  2 root root  152 Sep 15 21:26 Brazil   
-rw-r--r--  1 root root 2.1K Sep 15 21:26 CET       
-rw-r--r--  1 root root 2.3K Sep 15 21:26 CST6CDT   
drwxr-xr-x  2 root root  296 Sep 15 21:26 Canada   
drwxr-xr-x  2 root root  112 Sep 15 21:26 Chile     
-rw-r--r--  2 root root 2.4K Sep 15 21:26 Cuba     
-rw-r--r--  1 root root 1.9K Sep 15 21:26 EET       
-rw-r--r--  1 root root  118 Sep 15 21:26 EST       
-rw-r--r--  1 root root 2.3K Sep 15 21:26 EST5EDT   
-rw-r--r--  2 root root 9.2K Sep 15 21:26 Egypt     
-rw-r--r--  2 root root 3.5K Sep 15 21:26 Eire     
drwxr-xr-x  2 root root  904 Sep 15 21:26 Etc       
drwxr-xr-x  2 root root 1.6K Sep 15 21:26 Europe
...

With a user account I can see the list

I can have the list of time zone with root but not with a normal user. :((

Any idea??? :?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Issue with Digital Clock  Topic is solved

Mon Sep 21, 2009 5:15 am
Check the permissions of files under your $(kde4-config --localprefix) directory, which is usually ~/.kde4 or ~/.kde. All files and folders should be owned and writable by your user.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
zelegolas
Registered Member
Posts
8
Karma
0
OS

Re: Issue with Digital Clock

Tue Sep 22, 2009 12:15 am
Found it!
file /.kde4/share/config/ktimezonedrc have wrong user and wrong permission

Thanks :)
kenamat
Registered Member
Posts
1
Karma
0
OS
I've got exactly the same problem but haven't got the ktimezonedrc file :-(
any other advice?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Check that the permissions of your ~/.kde4 folder are correct, and that the kdebase4-runtime package is installed. The below command will fix broken permissions on your ~/.kde4 folder.

Code: Select all
sudo chown $(id -un):$(id -gn) $(kde4-config --localprefix)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
djm
Registered Member
Posts
43
Karma
0
OS
Hi, I usd to run KDE 3.5.9. Then 4.3.1. Both on openSUSE 11.0. I just bought a new computer and now run openSUSE 11.1 which uses KDE 4.1.3.

The digital clock on both the KDE releases I used on 11.0 allowed me to click on multiple time zones and then when I moved the mouse over the clock it would show me the time in all these zones.

The version that I have with 11.1 only allows me to set my timezone. How can I get the other functionality?

Thanks,

David.
User avatar
annew
Manager
Posts
1155
Karma
11
OS
You probably need to ask on an opensuse list or forum. Certainly I can see more than one time zone on Fedora (4.3.2)


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar