In command prompt mode, if i never type anything within lets say 15 mins, the monitor will go power saving mode(blank), need to know are there any "not so difficult" method to turn that feature off or configure it a huge number ? (instead of 15 mins, 15 years should be enough)
Thanks.
Re: How to disable power saving ?
Assuming that by " command prompt mode" you mean in console mode rather than in X windows, then look at the setterm man page.
PeterO
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PICO,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PICO,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: How to disable power saving ?
You need to edit the following file /etc/kbd/config
then change BLANK_TIME= to BLANK_TIME=0
and POWERDOWN_TIME= to POWERDOWN_TIME=0 then reboot..
Your Pi should not blank the screen while idling.
Richard S.
then change BLANK_TIME= to BLANK_TIME=0
and POWERDOWN_TIME= to POWERDOWN_TIME=0 then reboot..
Your Pi should not blank the screen while idling.

Richard S.
Re: How to disable power saving ?
Ya, console mode, sorry, im a windows guy, and thanks redhawk, ill try that.
Re: How to disable power saving ?
^whsredhawk wrote:You need to edit the following file /etc/kbd/config
then change BLANK_TIME= to BLANK_TIME=0
and POWERDOWN_TIME= to POWERDOWN_TIME=0 then reboot..
Your Pi should not blank the screen while idling.
Richard S.
if you want to do it on a machine without rebooting
setterm -blank 0
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
-
- Posts: 1277
- Joined: Fri Sep 14, 2012 9:13 am
Re: How to disable power saving ?
RaTTuS wrote:^whsredhawk wrote:You need to edit the following file /etc/kbd/config
then change BLANK_TIME= to BLANK_TIME=0
and POWERDOWN_TIME= to POWERDOWN_TIME=0 then reboot..
Your Pi should not blank the screen while idling.
Richard S.
if you want to do it on a machine without rebooting
setterm -blank 0
Thanks that seems easy, will give it a try !
.
.
.
-
- Posts: 9
- Joined: Mon Feb 25, 2013 3:33 pm
Re: How to disable power saving ?
Put this in your /etc/rc.local before the "exit 0":
and execute the same command as root (sudo /usr/bin/setterm -blank 0 -powerdown off) once. No reboot required.
Another useful trick which works on any shell:
Code: Select all
/usr/bin/setterm -blank 0 -powerdown off
Another useful trick which works on any shell:
Code: Select all
sudo /bin/chvt 1 # change console to tty1
sudo /bin/chvt 7 # change to graphical console (X11)
Re: How to disable power saving ?
I get this error when I run it as root. Any idea why?
root@PiServer:~# /usr/bin/setterm -blank 0 -powerdown off
setterm: argument error: 'off'
root@PiServer:~# /usr/bin/setterm -blank 0 -powerdown off
setterm: argument error: 'off'
Twitter: @farrownick
Instagram veggievampire
I own a lot of Pis....
Instagram veggievampire
I own a lot of Pis....
Re: How to disable power saving ?
this will not do what you expect in Stretch ,
as systemd terminals are slightly different
the easiest way to remove the console blanking is to add
consoleblank=0
to the end of /boot/cmdline.txt
and reboot
as systemd terminals are slightly different
the easiest way to remove the console blanking is to add
consoleblank=0
to the end of /boot/cmdline.txt
and reboot
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe