Other Help Topics :: How to disable monitor shutdown



One of the problems w/ these forums is stuff gets so lost. I added a reply to another post but I'll dup here cause I can't remember where I just added it.

For my digital picture frame I had the same issue so I solved it in two places thanks to advice from mikshaw

One of the problems w/ these forums is stuff gets so lost. I added a reply to another post but I'll dup here cause I can't remember where I just added it.

For my digital picture frame I had the same issue so I solved it in two places thanks to advice from mikshaw

In /opt/bootlocal.sh I did:

Code Sample
for NUM in `seq 0 9`; do
      setterm -term linux -blank 0 > /dev/tty$NUM 2> /dev/null
      setterm -term linux -blank 0 > /dev/pts$NUM 2> /dev/null
      setterm -term linux -powersave off > /dev/tty$NUM 2> /dev/null
      setterm -term linux -powersave off > /dev/pts$NUM 2> /dev/null
      setterm -term linux -powerdown 0 > /dev/tty$NUM 2> /dev/null
      setterm -term linux -powerdown 0 > /dev/pts$NUM 2> /dev/null
  done


And then in a script (/opt/bin/try_to_unblank.sh) I added the following [which aren't all supported by Xvesa but it worked]:

Code Sample
dd if=/dev/zero of=/dev/mouse bs=1 count=10 &> /dev/null
echo > /dev/console &> /dev/null
echo > /dev/tty5 &> /dev/null

setterm -term linux -blank 0 &> /dev/null
setterm -term linux -powersave off &> /dev/null
setterm -term linux -powerdown 0 &> /dev/null

xset b off &> /dev/null

xset dpms off &> /dev/null
xset -dpms &> /dev/null

xset s length 0 &>/dev/null
xset s noblank &> /dev/null
xset s off &> /dev/null
xset -v &> /dev/null


In your ~dsl/.xinitrc file source this script:

. /opt/bin/try_to_unblank.sh

and 'viola... no blank for me :)


original here.