fork of https://github.com/radix-linux/timedated. Patched source code works fine in Slackware-current. A bash timedatectl added also.
  • C 76.9%
  • Shell 16.3%
  • Meson 6.8%
Find a file
2026-06-01 23:57:59 +03:00
dbus Version 1.0.0 2023-12-21 21:15:15 +03:00
l10n Version 1.0.0 2023-12-21 21:15:15 +03:00
patches-plsm6 Update bug-news, add a slackbuild and slack-desc in root folder for building maste branch and run workflows in forge in few days. 2026-06-01 23:57:59 +03:00
po Version 1.0.0 2023-12-21 21:15:15 +03:00
src Bug fix: RTCTimeUSec is displayed incorrectly when LocalRTC=true timedatectl status displays incorrect RTC time Any client reading RTCTimeUSec via D-Bus gets the wrong value 2026-06-01 23:10:26 +03:00
timedated-SlackBuild bumb 2026.5.3 2026-06-01 11:41:38 +03:00
AUTHORS Version 1.0.0 2023-12-21 21:15:15 +03:00
BUGS-NEWS Update bug-news, add a slackbuild and slack-desc in root folder for building maste branch and run workflows in forge in few days. 2026-06-01 23:57:59 +03:00
COPYING Timedate Daemon 2023-12-21 21:04:41 +03:00
meson.build Bump version to 1.0.2 2023-12-23 14:15:55 +03:00
meson_options.txt Version 1.0.0 2023-12-21 21:15:15 +03:00
NEWS updated NEWS 2023-12-23 14:18:00 +03:00
README.md Update README, add examples 2026-06-01 00:15:41 +03:00
slack-desc Update bug-news, add a slackbuild and slack-desc in root folder for building maste branch and run workflows in forge in few days. 2026-06-01 23:57:59 +03:00
timedatectl Fix a bug 2026-06-01 11:20:25 +03:00
timedatectl_old update bash script, make it even better AND more dangerous 2026-06-01 00:08:53 +03:00
timedated.SlackBuild Update bug-news, add a slackbuild and slack-desc in root folder for building maste branch and run workflows in forge in few days. 2026-06-01 23:57:59 +03:00

Timedate Daemon

TimeDate Daemon is a system service that can be used to control the system time and related settings.

This is the replacement of systemd service that control the org.freedesktop.timedate1 D-Bus interface for GNU Linux distributions which does not have a systemd.

You can find specification at: Freedesktop.org

TimeDate Daemon supports interactive parameter which can be used to control whether PolKit should interactively ask the user for authentication credentials if required. But also, if interactive way is not applicable, users permissions can be set by PolKit rules in the /usr/share/polkit-1/rules.d/org.freedesktop.timedate1.rules file. For example, a system administrator can add Desktop-users into wheel group to give them rights to access the org.freedesktop.timedate1 D-Bus interface.

Requirements:

Package min Version
glib-2.0 >= 2.76
gobject-2.0 >= 2.76
gio-2.0 >= 2.76
polkit-gobject-1 >= 123
libpcre2-8 >= 10.36
dbus >= 1.13.18

How to Build:

 meson setup --prefix=/usr . ..
 ninja
 ninja install

Supported Distributions:

For other systems the special implementation of NTP daemon control should be developed.

TODO:

- timedatectl (simply it can be writen in Bash).
Update: Done!

loginctl --version
elogind 257 (257.14)

timedatectl status
               Local time: Mon Jun  1 00:10:31 EEST 2026
           Universal time: Sun May 31 21:10:32 UTC 2026
                 RTC time: 2026-06-01 00:10:31.952579+03:00
                Time zone: Europe/Athens
              NTP enabled: yes
         NTP synchronized: yes
          RTC in local TZ: yes
               CanNTP: yes
timedatectl show
Timezone=Europe/Athens
LocalRTC=true
CanNTP=true
NTP=true
NTPSynchronized=true
TimeUSec=1780261839000000
RTCTimeUSec=2026-06-01T00:10:39.117263+03:00

timedatectl list-timezones | grep Europe
Europe/Amsterdam
Europe/Andorra
Europe/Astrakhan
Europe/Athens
Europe/Belfast
Europe/Belgrade
Europe/Berlin
Europe/Bratislava
Europe/Brussels
Europe/Bucharest
Europe/Budapest
Europe/Busingen
Europe/Chisinau
Europe/Copenhagen
Europe/Dublin
Europe/Gibraltar
Europe/Guernsey
Europe/Helsinki
Europe/Isle_of_Man
Europe/Istanbul
Europe/Jersey
Europe/Kaliningrad
Europe/Kiev
Europe/Kirov
Europe/Kyiv
Europe/Lisbon
Europe/Ljubljana
Europe/London
Europe/Luxembourg
Europe/Madrid
Europe/Malta
Europe/Mariehamn
Europe/Minsk
Europe/Monaco
Europe/Moscow
Europe/Nicosia
Europe/Oslo
Europe/Paris
Europe/Podgorica
Europe/Prague
Europe/Riga
Europe/Rome
Europe/Samara
Europe/San_Marino
Europe/Sarajevo
Europe/Saratov
Europe/Simferopol
Europe/Skopje
Europe/Sofia
Europe/Stockholm
Europe/Tallinn
Europe/Tirane
Europe/Tiraspol
Europe/Ulyanovsk
Europe/Uzhgorod
Europe/Vaduz
Europe/Vatican
Europe/Vienna
Europe/Vilnius
Europe/Volgograd
Europe/Warsaw
Europe/Zagreb
Europe/Zaporozhye
Europe/Zurich

busctl get-property org.freedesktop.timedate1 /org/freedesktop/timedate1 org.freedesktop.timedate1 Timezone
s "Europe/Athens"

timedatectl --help
Usage: timedatectl [OPTIONS] COMMAND

Commands:
  status                   Show current time settings
  show                     Show settings in key=value format
  set-timezone ZONE        Set the system timezone (e.g. Europe/Athens)
  set-local-rtc [0|1]      Control whether RTC is in local time
  set-ntp [0|1]            Enable or disable NTP synchronization
  set-time TIME            Set time manually (e.g. '2026-05-31 20:30:00')
  list-timezones           List available timezones
  sync-now                 Force immediate NTP time sync

Options:
  -h, --help               Show this help

LICENSE:

GNU General Public License Version 2, June 1991