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: (3) </ 1 [2] 3 >/

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

reply to topic new topic new poll
Topic: Screen blacks out..., How 2 disable sleep mode?< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 19 2005,06:06 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
smohrman Offline





Group: Members
Posts: 12
Joined: July 2005
Posted: Nov. 22 2005,18:25 QUOTE

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


--------------
Have you ever imagined a world with no hypothetical situations?
Back to top
Profile PM 
tatlow
Unregistered






Posted: Nov. 27 2005,20:41 QUOTE

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






Posted: Nov. 28 2005,05:08 QUOTE

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
Back to top
khagberg Offline





Group: Members
Posts: 18
Joined: Dec. 2005
Posted: Dec. 06 2005,19:37 QUOTE

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.
Back to top
Profile PM 
13 replies since Nov. 18 2005,00:28 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Screen blacks out...

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