- LinuxCNC
- General LinuxCNC Questions
- Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
- superbug
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 1
24 Nov 2021 03:45 #227472
by superbug
Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop? was created 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 or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
24 Nov 2021 22:10 #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 or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
24 Nov 2021 22:12 - 24 Nov 2021 22:12 #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.
Last edit: 24 Nov 2021 22:12 by bevins.
Please Log in or Create an account to join the conversation.
- superbug
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 1
25 Nov 2021 22:51 #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 or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
26 Nov 2021 01:36 #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 or Create an account to join the conversation.
- superbug
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 1
26 Nov 2021 01:48 #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 or Create an account to join the conversation.
- superbug
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 1
27 Nov 2021 01:39 #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 or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
27 Nov 2021 02:38 #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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19482
- Thank you received: 6533
27 Nov 2021 09:43 #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 or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- Debian 10 with linuxcnc 2.9 goes to sleep after 10 minutes. How to stop?
Time to create page: 0.067 seconds