- Posts: 11
- Thank you received: 0
Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
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??
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.
4 years 11 months ago #227535
by bevins
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
Replied by bevins on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
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.
4 years 11 months ago #227536
by bevins
Replied by bevins on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
I believe this might be window manager dependent. I use xfce.
Please Log in to join the conversation.
4 years 11 months ago #227596
by superbug
Replied by superbug on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
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...
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.
4 years 11 months ago #227604
by bevins
Replied by bevins on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
What does xset q spit?
Please Log in to join the conversation.
4 years 11 months ago #227610
by superbug
Replied by superbug on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
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.
xset q....... Screen saver prefer blanking: no, DPMS is disabled.
Looks like it took finally.
Please Log in to join the conversation.
4 years 11 months ago #227717
by superbug
Replied by superbug on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
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?
This is weird, was working one time.
Is there a desktop power setting like in windows?
Please Log in to join the conversation.
4 years 11 months ago #227719
by bevins
Replied by bevins on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
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.
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.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 11 months ago #227726
by tommylight
Replied by tommylight on topic Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
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
