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

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #227536 by bevins
I believe this might be window manager dependent. I use xfce.

Please Log in to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #227604 by bevins

Please Log in to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #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 to join the conversation.

More
4 years 11 months ago #227726 by tommylight
Check BIOS, there are settings there for turning off the screen and other stuff on older PC's.

Please Log in to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum