Can we depend on timedated?

Anna (cybertailor) Vyalkova cyber+kde at sysrq.in
Sun Jul 23 15:13:11 BST 2023


On 2023-07-20 11:18, Kai Uwe Broulik wrote:
> Hi everyone,
> 
> the other day I was looking into the date and time KCM which is still 
> using kdelibs4support and thus cannot be built for Plasma 6 at the moment.
> 
> While considering what effort it would take to rewrite it in QML, I 
> found that the way the time, date, timezone, etc is set is quite 
> complicated with KAuth and various binaries that are called. So my 
> question is, to make our lives easier:
> 
> Can we depend on timedated, or rather, the DBus service provided under 
> the org.freedesktop.timedate1 service on the system bus to delegate all 
> the complicated work there?
> 
> Are there distributions or platforms (FreeBSD?) we support that do not 
> provide this? Is there a replacement shim available that talks the same 
> protocol?

There's a port of timedated for OpenRC:
https://gitlab.com/postmarketOS/openrc-settingsd/

It works with GNOME Control Center.

You can make "org.freedesktop.timedate1" a soft dependency with some
fallback, so other init systems could be supported.


More information about the Distributions mailing list