Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to disable monitor shutdown< Next Oldest | Next Newest >
tatlow
Unregistered






Posted: Nov. 27 2005,20:43 QUOTE

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
Back to top
tatlow
Unregistered






Posted: Nov. 27 2005,20:45 QUOTE

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 :)
Back to top
6 replies since Nov. 07 2005,12:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: How to disable monitor shutdown

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code