Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?

More
24 Nov 2021 03:45 #227472 by superbug
  Hello everyone, I have a configuration issue.  If I let this install sit with no activity the screen goes blank.  When I hit a key it comes back up but it's at the login screen not the desktop with QTplasmac sim running.
 I went into the /etc/systemd/sleep.conf file and changed all the AllowSuspend options to "no" and still have this issue.
 What other options are there?? 

Please Log in or Create an account to join the conversation.

More
24 Nov 2021 22:10 #227535 by bevins

  Hello everyone, I have a configuration issue.  If I let this install sit with no activity the screen goes blank.  When I hit a key it comes back up but it's at the login screen not the desktop with QTplasmac sim running.
 I went into the /etc/systemd/sleep.conf file and changed all the AllowSuspend options to "no" and still have this issue.
 What other options are there?? 



put this in your .bashrc script
xset s off
xset s noblank
xset -dpms


OR you can type in the three lines on a terminal

Then run xset q      to see if it took

 

Please Log in or Create an account to join the conversation.

More
24 Nov 2021 22:12 - 24 Nov 2021 22:12 #227536 by bevins
I believe this might be window manager dependent. I use xfce.
Last edit: 24 Nov 2021 22:12 by bevins.

Please Log in or Create an account to join the conversation.

More
25 Nov 2021 22:51 #227596 by superbug
So I did the following
sudo nano /home/plasma/.bashrc

At the end of the file I added this
# setting to stop screen from going to sleep
xset s off
xset s noblank
xset -dpms

And .... didn't fix the problem...

Please Log in or Create an account to join the conversation.

More
26 Nov 2021 01:36 #227604 by bevins
What does xset q spit?
 

Please Log in or Create an account to join the conversation.

More
26 Nov 2021 01:48 #227610 by superbug
Interesting.... It hasn't gone to sleep on this second reboot.

xset q....... Screen saver prefer blanking: no, DPMS is disabled.

Looks like it took finally.

Please Log in or Create an account to join the conversation.

More
27 Nov 2021 01:39 #227717 by superbug
And it's back to sleeping every 10 minutes.

This is weird, was working one time.
Is there a desktop power setting like in windows?

Please Log in or Create an account to join the conversation.

More
27 Nov 2021 02:38 #227719 by bevins
What does xset q show? If it shows it is disabled then something else is blanking the screen.
The scripts start it on machine boot so, if you dont have it in something like a bash script on l;ogin, it will be on again.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Nov 2021 09:43 #227726 by tommylight
Check BIOS, there are settings there for turning off the screen and other stuff on older PC's.

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum