X and Fluxbox :: Screen blacks out...



I'm not sure about the setterm command, but the xset command should be run as user dsl, not root, since it is dsl that starts the x server.

If it still doesn't work as user dsl, then it would likely be something to do with your laptop's power management, and i have no knowledge about that.

Thanks Mikshaw for your help.  I've tried all the commands and suggestions both as su and not, and the screen still blanks out.  I've checked and re-checked every power setting in the bios and there is nothing else to turn of in the way of power managment.

I'm downloading Ubuntu as I write.  I hate capitulate like that, but on this particular laptop I need the screen to stay on all the time as it is a network monitoring station.  I also noticed that each night it goes into a sleep mode from which I cannot awaken it and have to reboot.  I would think that this is the bios, but I haven't any more options there..

Thanks for your support.  I love DSL, and I'm not going to give up on it entirely....   :-D

Not sure, but here's how I got my pictureframe I've been working on to not blank

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


Then I created a script called "try_to_unblank.sh" that does the following:

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


This is just w/ the Vesa server (which I don't think supports most of those extensions... but better safe then sorry).
And in ~dsl/.xinitrc I just make sure to source the script.

. /opt/bin/try_to_unblank.sh

Hope it helps someone...

Thanks so much for your help.  The problem is closed now since I moved on to Ubuntu and it solved the problem.

My best to all who helped....

Smohrman

If yo do xset q it will show you the current screen saver settings. Note that timeout is set for 600 which is 10 minutes.

I ran xset s off

rerun xset q and the timeout will be 0 which means that the screensaver is disabled.

Hope it works for you.

Next Page...
original here.