LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-17-2013, 12:24 PM   #1
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
Fluxbox configuration question


I'm using fluxbox and am trying to stop the screen on my laptop from going to sleep. Does anyone have any ideas how I can do this?
 
Old 11-17-2013, 01:12 PM   #2
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
either edit file /etc/X11/xorg.conf or find it in /etc/X11/xorg.conf.d/10-serverflag.conf
Section "ServerFlags"
Option "BlankTime" "17"
Option "StandbyTime" "20"
Option "SuspendTime" "25"
Option "OffTime" "30"
EndSection

or find DPMS in Section "Monitor" or "Device" in /etc/X11/xorg.conf.d/10-monitor.conf etc.
Option "DPMS" "no"

Last edited by number22; 11-17-2013 at 01:16 PM.
 
Old 11-17-2013, 01:15 PM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Either put something like this in your xorg.conf
Code:
Section "ServerFlags"
    Option         "BlankTime" "20"
    Option         "StandbyTime" "0"
    Option         "SuspendTime" "0"
    Option         "OffTime" "30"
EndSection
... set time values as required, 0 to disable.

Or use the "xset s off" to disable it from the command line (or add that to your ~.xsession file.
"man xset" for details/options.
 
Old 11-17-2013, 04:19 PM   #4
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
I tried editing /etc/X11/xorg.conf.d/10-serverflag.conf and set all to 0, but that didn't seem to stop the screen from shutting off after a while.

I then tried editing /etc/X11/xorg.conf and it seemed to make my internet connection go all funky... didn't disable it, but every page I went to was having problems loading.

Now both of those files were blank when I started editing them, so I just deleted everything that I had entered.
 
Old 11-17-2013, 05:48 PM   #5
BlackRider
Member
 
Registered: Aug 2011
Posts: 295

Rep: Reputation: 101Reputation: 101
[...]find DPMS in Section "Monitor" or "Device" in /etc/X11/xorg.conf.d/10-monitor.conf etc.
Option "DPMS" "no"


I thumb up this one.

You can also manually disable DPMS each session:

xset -dpms
 
Old 11-17-2013, 08:25 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,319
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Before you do any of that, check the power management settings in xscreensaver, if you haven't already done so.
 
Old 11-17-2013, 08:25 PM   #7
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by BlackRider View Post
[...]find DPMS in Section "Monitor" or "Device" in /etc/X11/xorg.conf.d/10-monitor.conf etc.
Option "DPMS" "no"


I thumb up this one.

You can also manually disable DPMS each session:

xset -dpms
manually setting DPMS seems to work just fine, thanks for your help!
 
  


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
Fluxbox configuration help???? t1nm@n Linux - Newbie 17 03-21-2010 06:27 PM
Fluxbox Configuration JMJ_coder Linux - General 2 09-18-2007 02:46 PM
Fluxbox configuration Piedrunov Linux - Newbie 4 04-21-2004 03:53 AM
Fluxbox configuration Jonatoon Linux - Software 2 03-18-2004 09:57 AM
Fluxbox Configuration AceTech747 Linux - Software 40 01-28-2004 12:47 PM

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

All times are GMT -5. The time now is 09:19 PM.

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