[SOLVED] Shelf clock doesn't update correctly after screen blank
BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Shelf clock doesn't update correctly after screen blank
The screen automatically blanks due to inactivity by default. When I press a key to resume, the clock on the shelf shows the time and date from when it first blanked.
What happens from that point is that it does start changing time, but only the digits that actually change since after I unblanked. For example, when I unblanked just now, it showed 1:10pm on tuesday 16 july. (That's yesterday btw). In the last few minutes, the last digit changed to 3 then 4 now 5, so it shows 1:15pm tues 16 july. In another few minutes the tens digit will start being accurate and it'll show 1:30pm, and in less than an hour the hour will start to be accurate when it switches to 12:00pm; also when I pass noon (or midnight) the am/pm will start to be accurate , but the date won't be accurate til after midnight. Unless of course I idle again and it blanks.
I've had this problem forever. I hadn't noticed it in a while cuz I'd switched on 'presentation mode', but recently reset all my moksha settings (so presentation mode no longer set) and was reminded of this. I would actually like to be able to use the screen blanker, so if anyone has any ideas...
This is on bodhi 5, 64-bit, with nvidia-340 video driver.
p.s.
My theory, is that my video driver is too slow to resume or something, maybe moksha tries to set the clock before video is ready, so there needs to be some delay or some check before it writes that clock the first time. Note that I am not ever suspending/shutting down, this computer is on 24/7...
Of course I'd like this to not happen anymore, but as a workaround, if i reset moksha with ctrl-alt-end then it redraws the shelf with accurate clock.
Now that you remind me about the composter stuff, I remember I already tried to find another compositor since compton isn't being updated but the others I tried did the same thign.
If I remember the clock issue I had too here but after some seconds the value was corrected by itself. Maybe we should compare our compton.conf setting. It could be related. There are many examples on web. Probably yours is not clock friendly...
Yep, in e startup commands. I just put your config file in, going to reboot to be sure it's taken affect, then will see what happens when my screen blanks later today.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.