LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 07-17-2019, 01:31 PM   #1
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 305

Rep: Reputation: Disabled
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.

Last edited by enigma9o7; 07-17-2019 at 01:40 PM.
 
Old 07-18-2019, 10:44 AM   #2
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 484

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Hello

One guy (not you?) was complaining about the clock value in the past. The culprit was compton compositor in his case. Do you use a compositor?

Stefan
 
Old 07-18-2019, 11:47 AM   #3
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 305

Original Poster
Rep: Reputation: Disabled
Ah ok. Probably was me. I forgot this only happens with compton.
 
Old 07-18-2019, 11:53 AM   #4
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5 & debian 9 LXDE
Posts: 694

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
nice catch stefan. i too forgot about that thread.
 
Old 07-18-2019, 12:05 PM   #5
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 484

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
...and I thought my memory is in bad condition (Hi Robert! )
 
Old 07-18-2019, 12:14 PM   #6
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 305

Original Poster
Rep: Reputation: Disabled
So nothing I can do about it, right?

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.

Last edited by enigma9o7; 07-18-2019 at 12:15 PM.
 
Old 07-18-2019, 12:17 PM   #7
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 484

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
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...

Stefan

EDIT: my compton.conf
https://pastebin.com/stYf8Ahz

Last edited by the_waiter; 07-18-2019 at 12:34 PM.
 
Old 07-18-2019, 12:34 PM   #8
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 305

Original Poster
Rep: Reputation: Disabled
I never changed anything from default. Don't even know where that file is (although I'll search now).
 
Old 07-18-2019, 12:35 PM   #9
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 484

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
hidden folder .config

/home/user/.config/compton.conf
 
Old 07-18-2019, 12:41 PM   #10
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 305

Original Poster
Rep: Reputation: Disabled
Not there. I'll try putting yours there tho.
 
Old 07-18-2019, 12:46 PM   #11
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 484

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Hmm, do you have compton running after start?
 
Old 07-18-2019, 12:48 PM   #12
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 305

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-18-2019, 12:49 PM   #13
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 484

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Good luck
 
Old 07-19-2019, 12:06 PM   #14
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 305

Original Poster
Rep: Reputation: Disabled
I think it worked; I haven't seen this reoccur. Some setting in your conf that's different than default solved the problem. Thanks much.
 
2 members found this post helpful.
Old 07-19-2019, 12:14 PM   #15
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5 & debian 9 LXDE
Posts: 694

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
way to go stefan!
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Shelf Clock - modifying? author? enigma9o7 Bodhi 23 11-25-2018 01:41 PM
Shelf Clock not updating after return from screen blank. enigma9o7 Bodhi 3 08-12-2018 03:15 PM
rsync to an off-the-shelf NAS JacekZ Linux - Networking 3 08-21-2006 08:32 PM
Is there any off the shelf wlan cards for FC5? tds2000_us Linux - Wireless Networking 1 07-30-2006 01:55 PM
Off the Shelf Desktop and Laptop PC's fieldyweb Linux - Hardware 6 02-18-2006 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration