Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Karthanis on June 17, 2011, 09:58:34 PM
-
I'm using an Atom based machine to monitor 12 webcams at a hotel.
I use a html files that is the home page for Firefox and have setup TinyCore so the dock just has icons for Firefox and Shutdown.
The machine isn't ever touched once it is running, but the screen keeps going to sleep....
How do I stop this from happening? I choose TinyCore over Ubuntu so I didn't need to strip everything out of it, but keeping the screen on so the staff can see the cameras is EXTREMELY important. I'll have to reload if TC can't handle it...
Please help? Thanks!
-
Hi Karthanis
Try xset s off and see if that does it.
-
I am testing that out now. Thank you for the very quick (17 minutes?!?!?!?) reply!
Question I have though, if this works, will it be persistant? Do I need to put a file into .X.d to call it all the time?
-
Hi Karthanis
You can add the command to /opt/bootlocal.sh.
-
Thank you Rich for your help!
This has solved my issue. I can now enjoy my weekend in peace!
-
Hi Karthanis
Glad I could help.
-
You can also add
xset s off
to ~/.xsession
-
I have just started to use TinyCore and I have a similar problem with auto sleep coming on when not required, I need the monitor on all the time for the application that I am using (displaying an Openscenegraph model).
I have entered in : xset s off at the command prompt, however the auto sleep remains on and the system goes to sleep after a period (wakes up on a keyboard press). I have also added xset s off to /opt/bootlocal.sh and ~/.xsession and restarted (with a backup), but again the system goes to sleep after a period. The /opt/bootlocal.sh file still contains xset s off however the ~/.xsession file does not (both were edited using sudo).
I am using TinyCore V4.0 and I have also installed the ati-fglrx and ati-catalst packages for the graphics card I am using (which all work okay).
Any further help will be useful, thanks.
Terry
-
I had a similar problem with an old toshiba laptop - except in my case when the monitor went to sleep it never woke up.
I put the xset command in ~/.X.d/xset and that cured the problem
-
HI Juanito thanks for the quick reply. Have just tried this and restarted system (xset s off is still in ~/.X.d/xset at reboot), but system is still going to sleep on me (for info : other OS on the same system don't do this so I'm sure it's a TinyCore setting that I'm not getting right). Any other ideas ? Thanks again. Terry
-
adding :-
xset s off
xset s noblank
xset -dpms
to the ~/.X.d/xset file has worked for me.
Thanks.
-
If you are running Xorg:
Add a section to /etc/X11/xorg.conf
---
Section "ServerFlags"
Option "blank time" "0"
Option "standby time" "0"
Option "suspend time" "0"
Option "off time" "0"
End Section
---
-
okay will try that out too.
thanks for the help.