Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: tohox on September 30, 2016, 09:00:23 AM
-
Hi,
I noticed that the console screen goes blank after a few minutes and would like to disable this. Under Raspbian in /etc/kbd/config one could set BLANK_TIME=0 and POWERDOWN_TIME=0 to achieve this. What would the equivalent be under PiCore 8.0?
Thanks,
-
Not sure for the RPi but one of these usually work for me
setterm -blank 0
echo -e '\033[9;0]'
-
Setterm doesn't seem to be available (I assume it is part of util-linux.tcz?) so I'll try echo -e '\033[9;0]'
Must this be entered on the console itself or would entering it from any SSH terminal window or a startup script work as well?
Thanks,
-
I don't know. I'd add it to /opt/bootlocal.sh .
-
Try: xset s noblank
-
So far echo -e '\033[9;0]' works if entered from the physical console or a startup script but not if entered from an SSH terminal window which is fine for me.
Xset also appears to require the installation of a separate TCE extension as it isn't available to me currently.
Thanks!
-
hi: please try:
$ xset s off -dpms &
and let me know whether it worked or not
-
@Beerstein, thanks for the suggestion but I assume xset is used with X? My system is currently running headless.
echo -e '\033[9;0]' did the trick though.
thanks,
-
For the sake of completeness, here is where ESC[9;#] and other codes come from:
https://www.winds.org/pub/grdl/ANSI.txt -- ANSI Escape Codes List