LinuxQuestions.org
Review your favorite Linux distribution.
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 12-28-2023, 02:32 AM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Rep: Reputation: 32
screen goes blank after X minutes


Not really sure how many exactly, but after maybe 10 minutes of watching a video the screen goes blank. It's quite annoying, and I have no idea what file or command to stop this behavior.

I assume it's some sort of screen saver or battery saver type program/setting. This is not my laptop, and I use xscreensaver manually when I'm going to be AFK.

So, what file/command do I need to edit to stop the screen from going blank?
 
Old 12-28-2023, 06:45 AM   #2
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
try running this
Code:
xset -dpms
it will disable x11 automatic screen saving.
If you use some fancy desktop like xfce or kde, they will do this for you when you are watching a video or doing something
 
2 members found this post helpful.
Old 12-28-2023, 12:02 PM   #3
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 786

Rep: Reputation: 250Reputation: 250Reputation: 250
You might need 'xset s off' as well. Oddly enough, gamepad input from RPC3S isn't considered "input" for the sake of screen blanking. If I forget to turn it off, I'll be in a game, usually in an action spot, and the screen will turn off until I reach for the mouse and move it.
 
Old 12-28-2023, 04:19 PM   #4
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 698
Blog Entries: 1

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
You do not describe your setup. Some monitors will go dark to save power without what the consider "real activity". Maybe it is your monitor ? If so there may be a setup button you can mess with.
 
Old 12-29-2023, 09:03 AM   #5
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
If you use a media player there might be a "Disable screensaver" option.
In vlc:
Tools > Preferences
choose "show settings: all" (bottom left corner)
choose Video in left hand column
tick the box "Disable screensaver"

In SMPlayer:
Options > Preferences
General (in left hand column), choose Video tab
tick the box "Disable screensaver"
 
Old 01-02-2024, 04:23 PM   #6
chud1950
Member
 
Registered: Jan 2008
Posts: 49

Rep: Reputation: 4
On my display I can use this to start the screensaver and dpms:
Code:
xscreensaver -no-splash &
# Without the sleep dpms doesnt get enabled
sleep 5
xset +dpms
To stop the screeensaver and dpms:
Code:
xscreensaver-command -exit
xset -dpms
I use xsceensaver-settings to configure the screensaver and dpms behavior.
 
Old 01-03-2024, 03:02 AM   #7
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Rep: Reputation: 147Reputation: 147
caffeine-ng-3.4.2-x86_64-2_SBo
caffeine-ng (Status bar application to stop the screensaver)
Caffeine is a little daemon that sits in your systray, and prevents the screensaver from showing up, or the system from going to sleep. It does so when an application is fullscreened (eg: youtube), or when you click on the systray icon (which you can do, when, eg: reading).
 
  


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
[SOLVED] Screen goes blank after ten minutes (in LXDE), how to change this? cantab Arch 6 03-27-2010 11:31 AM
Blank screen after 10-12 minutes on Debian kushalkoolwal Debian 1 02-02-2006 11:10 AM
screen goes black after 20 minutes sunpascal Linux - Newbie 4 01-30-2006 07:56 PM
Blank screen after 10 minutes (have tried alot) Ephracis Slackware 6 09-21-2004 01:37 AM
Screen goes blank after about 10 minutes jmax24 Linux - General 3 04-19-2004 08:05 PM

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

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