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 >
smohrman Offline





Group: Members
Posts: 12
Joined: July 2005
Posted: Nov. 18 2005,00:28 QUOTE

Hi,

I have DSL running on an Amaz laptop and the screen goes black after about 5 minutes of inactivity.  Tap the mousepad and it comes back up.

Checked the bios, and power management is disabled, not other video settings there.

Checked Xvesa once up in DSL, but no option there...am I missing something?


Smohrman :-D


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





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 18 2005,03:20 QUOTE

xset b off

This turns off screen blanking in X.

If you want to do it for console:
setterm -blank 0 > /dev/tty1


--------------
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. 18 2005,18:54 QUOTE

Hi Mikshaw,

I'm not quite saavy enough yet to run with those commands...  :-O

When you say "xset b off" is that a startup parameter, or something you enter at the terminal?  I tried it at boot, but the screen still blanks out after ten minutes.

Also tried at the console (post-boot):  

setterm -blank 0 > /dev/tty1

The screen still goes black.  Am I entering these commands at the proper time?

Thanks for all your help.  I'd really like to stick with DSL if I can just get it to work   :{D
and


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





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 18 2005,22:13 QUOTE

The xset command has to be done within an X session.  It should work from an x terminal, but if you want it to be automatic, put the command in /home/dsl/.xinitrc, somewhere above the last line.  Also make sure it is not inside another command, such as a "case/esac" or "if/fi" block.

The setterm command can be put in /opt/bootlocal.sh, although i forgot part of it:
setterm -term linux -blank 0 > /dev/tty1
I don't know for sure if it works in DSL (can't remember ever testing it), but i have two other systems in which it works fine.
If you have multiple ttys, you can do all of them like so (assuming 4 terminals here):
for TTY in /dev/tty[1-4] ; do
       setterm -term linux -blank 0 > $TTY
done


--------------
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. 18 2005,22:24 QUOTE

OK, here's what I've tried..

** I downloaded and am running RC2
** I did the xset command within an X session.
** Executed   setterm -term linux -blank 0 > /dev/tty1 at the XTerm.


Not toally sure how to be "sure it is not inside another command, such as a "case/esac" or "if/fi" block."  I opened up XTerminal, sudo su, then exectued the commands.  

Still, the screen goes black at 10 minutes.

I'm using the Live CD until I can get these issues resolved, so I can't put the setterm command in /opt/bootlocal.sh.  

I appreciate your help.  If you have any other suggestions please let me know.  I hate to go back to Windows, :( but I need this laptop to work... This doesn't count the sound problem I'm having....

Thanks again


--------------
Have you ever imagined a world with no hypothetical situations?
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