LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-11-2014, 03:50 PM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
how do I turn screen blanking off


what start up files do I edit to turn it off
it blanks the screen in X and the CLI
once the screen goes black it needs a reboot to get it back on

this is a laptop
I don't know if the back light is off
or
if the screen is blacked out
 
Old 01-11-2014, 04:09 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Add this to the relevant stanza of your /etc/lilo.conf:
Code:
append = "consoleblank=0"
Source /usr/src/linux/Documentation/kernel-parameters.txt:
Code:
bash-4.2$ grep consoleblank -A 2 kernel-parameters.txt 
        consoleblank=   [KNL] The console blank (screen saver) timeout in
                        seconds. Defaults to 10*60 = 10mins. A value of 0
                        disables the blank timer.
bash-4.2$
 
1 members found this post helpful.
Old 01-11-2014, 04:50 PM   #3
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
thank you
a fix is a fix even an ugly fix is a fix
 
Old 01-13-2014, 01:14 AM   #4
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
for console only there is a section in /etc/rc.d/rc.M file:


# Screen blanks after 15 minutes idle time, and powers down in one hour
# if the kernel supports APM or ACPI power management:
/bin/setterm -blank 15 -powersave powerdown -powerdown 60
 
Old 01-13-2014, 05:20 AM   #5
teerl
LQ Newbie
 
Registered: Dec 2010
Distribution: Slackware64
Posts: 5

Rep: Reputation: 3
This is what I run when I really don't want my screen blanking for a while.

xset -dmps; xset s off
 
Old 01-13-2014, 11:26 AM   #6
staus
Member
 
Registered: Apr 2004
Posts: 155

Rep: Reputation: 10
I tried all methods listed. None worked. I use blackbox window manager.
The only time my screen doesn't blank is when I'm using vlc to watch videos.

Anymore ideas. It's really irritating at times.

Thanks.
 
Old 01-13-2014, 01:56 PM   #7
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
After trying all the above and more to turn the screensaver off I saw a topic somewhere (Been searching about this so much I don't remember where) which said to put this in your xorg.conf right after the Module section. This finally did the trick.

Section "Module"
EndSection

Section "ServerFlags"
Option "blank time" "0"
Option "standby time" "0"
Option "suspend time" "0"
Option "off time" "0"
EndSection
 
Old 01-13-2014, 03:08 PM   #8
staus
Member
 
Registered: Apr 2004
Posts: 155

Rep: Reputation: 10
I finally got blanking turned off. I had to create an xorg.conf file by running Xorg -configure.
Adding the "ServerFlags" did the trick.
Thanks
 
Old 01-13-2014, 05:36 PM   #9
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
WOW!
this looks like a common problem
 
Old 01-14-2014, 09:06 PM   #10
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
You can also make sure that xscreensaver is installed and running. You can then go into xscreensaver's settings and disable the screensaver. The screen shouldn't blank after that. I'm using fluxbox and haven't had a problem with my screen shutting off.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to turn off screen blanking (power save?) in Fedora8 / KDE 3.5.9 WingnutOne Linux - General 1 07-31-2008 01:33 PM
Can't turn off screen saver/blanking on FC 7 mallarj Linux - Software 5 12-04-2007 09:29 AM
How to turn off screen blanking screen saver in run level 3? Arodef Linux - Software 1 01-04-2005 12:50 PM
Can't turn off screen blanking DaBayer Red Hat 0 01-23-2004 07:41 AM
screen blanking rekonrad Linux - General 2 09-07-2003 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration