Running kded modules on non-KDE desktops

David Jarvie djarvie at
Sat Jan 9 21:47:45 GMT 2010

Applications which use time zone data get the data by calling KSystemTimeZones::local(), which in turn gets the system time zone from the kded module ktimezoned. This mechanism avoids the system time zone being read separately by each application - reading it can be time consuming, so fetching it once only is desirable.

This works in the KDE desktop, but when a KDE application is run under another desktop environment, ktimezoned isn't running and therefore the system time zone returned by kdelibs is always the default, UTC. Is there any way for ktimezoned to be activated automatically by kdelibs when it is required? If not, it is probably necessary for KSystemTimeZones to read the system time zone itself when it is not available from ktimezoned.

David Jarvie.
KDE developer.
KAlarm author --

More information about the kde-core-devel mailing list