Hello, Since the update to LXQt 2.0.0, the panel clock doesn't work anymore. It doesn't show any date or time, just a blank space, and won't display any tooltip either when enabled. The built-in calendar does work, though. Tested on Linux (openSUSE Tumbleweed) to compare and it works there.
Maintainer informed via mail
Thanks, also see the root cause https://bugreports.qt.io/browse/QTBUG-1263. You might be able to fix it be either setting your timezone with tzsetup or by setting TZ env manually.. We added logic in startlxqt to set TZ based on /var/db/zoneinfo. But TZ is not set if you do not have a /var/db/zoneinfo (written by tzsetup) If you are UTC set TZ="UTC" i guess.. if [ -f /var/db/zoneinfo ]; then TZ=`cat /var/db/zoneinfo`; cmp -s /usr/share/zoneinfo/$TZ /etc/localtime if [ $? -eq 0 ]; then export TZ="${TZ}" fi fi
https://bugreports.qt.io/browse/QTBUG-126300
Thanks for the feedback, unfortunately I do already have /var/db/zoneinfo but it doesn't seem to help. $ cat /var/db/zoneinfo Europe/Zurich
... well, that's strange: I just ran tzsetup as root, after which I still have the same content in /var/db/zoneinfo as before (Europe/Zurich), but now after logging out and back in, the clock does work again. What could be the reason for this?
(In reply to bsduck from comment #5) Perhaps the /etc/localtime file was missing. Tell us if this PR can be closed
(In reply to Jose Alonso Cardenas Marquez from comment #6) It happend to me after an freebsd-update to 14.1, perhaps the timezone db share files got updated.. or something else caused the cmp command in startlxqt to fail...workaroudn set TZ manually or rutn tzsetup again..