LinuxQuestions.org
Visit Jeremy's Blog.
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 06-06-2021, 10:37 PM   #16
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 130

Rep: Reputation: 61

Quote:
Originally Posted by gus3 View Post
The system-wide setting comes from /etc/X11/xorg.conf
Using this information (thanks!), I was able to make a file /etc/X11/xorg.conf.d/noblank.conf:

Code:
Section "ServerFlags"
    Option "BlankTime" "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
EndSection
I couldn't find documentation saying that "0" was the right way to turn off blanking, but I guessed and it seemed to work. ("off" was also accepted, though it's counterintuitive for "off" to mean keeping the screen "on".) This disabled blanking for me, aside from any blanking configured by the desktop environment or the user with xset.

What I couldn't figure out was where to squeeze in a per-user call to xset for XFCE. This thread had an example for Fluxbox, but tracing through the XFCE startup scripts didn't reveal any hooks for a user to insert custom session commands. Maybe I'm just dense and missed it, but XFCE's power management and screensaver configuration panels are probably a better solution than a startup script anyway.
 
4 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Power management in Qualcomm SoCs vs CPUFreq based power management CPUFREQobsession General 2 10-24-2019 01:11 PM
How to auto disable screensaver/blanking while watching video from web browser electrovalent Linux - Desktop 8 10-24-2014 03:21 PM
XFCE - How To use both Screensaver and Power Management Erik_FL Slackware 1 09-08-2009 06:57 AM
How to turn off screen blanking (power save?) in Fedora8 / KDE 3.5.9 WingnutOne Linux - General 1 07-31-2008 01:33 PM
huge problem with power management and screensaver Xavius Slackware 5 01-06-2005 03:38 AM

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

All times are GMT -5. The time now is 03:47 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