Thanks for the reply. I tried both of those but still got the same thing. Here is the output:
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/modules/cs_calendar.py", line 194, in _on_proxy_ready
self.proxy_ready_callback()
File "/usr/share/cinnamon/cinnamon-settings/modules/cs_calendar.py", line 79, in _on_proxy_ready
can_use_ntp, is_using_ntp = self.proxy_handler.get_ntp()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/cinnamon/cinnamon-settings/modules/cs_calendar.py", line 200, in get_ntp
return self._proxy.GetUsingNtp()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gi/overrides/Gio.py", line 349, in __call__
result = self.dbus_proxy.call_sync(self.method_name, arg_variant,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-io-error-quark: GDBus.Error:org.cinnamon.SettingsDaemon.DateTimeMechanism.GeneralError: Error enabling NTP: OS variant not supported (36)
Your question is kind of xyproblem - you ask about an error generated by an app when you want to set network time.
I know - instead of going rabbithole on some thirdparty code - my suggestion was to solve the real problem - setting the network time sync.
I know it won’t fix the Cinnamon applet - but it solves the real issue - setting the network time.
The cinnamon applet is coded by Mint developers - and they apparently look for a debian based environment - which uses something called set-alternatives
I just use /etc/NetworkManager/dispatcher.d/09-timezone
#!/bin/sh
case "$2" in
connectivity-change)
timedatectl set-timezone "$(curl --fail https://ipapi.co/timezone)"
;;
esac
( of course you can use your own preferred API for getting the timezone )
(( using connectivity-change instead of up here should mean it gets the timezone on new network connection … but does not change when, for example, you enable a VPN for a different region ))
((( and of course its needs to be executable )))
UPDATE: I tried reinstalling and restarting various things last night, but seemingly to no avail. However, this morning I booted up my PC and now Cinnamon is auto-correcting to the right time! Weird. None of this is reflected in System Settings, however, where Network Time is always turned off or gives an error if I try to enable it. Presumably this is the aspect that only works properly in Debian-based distros?