Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Display shutting down after 15 mins

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
ritzmax72
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Sun Aug 10, 2014 5:59 am

Display shutting down after 15 mins

  • Quote

Post by ritzmax72 » Tue Jul 08, 2025 4:27 am

I have a X+dwm+openrc. setup dual monitor. If the system is idle (not pressing any keys on keyboard) for 15 or minutes then the display shuts down. Although this is not huge issue for me it becomes painful while playing Steam games. Since I use bluetooth PS5 controller for gaming, no keys are pressed for 15 and the display shuts down. I then have to manually get up and press random key or press the mouse button. I remember doing some modification on /dev/.... but the issue has come back again. Anyone know definite solution for this?
Top
druggo
Guru
Guru
Posts: 342
Joined: Wed Sep 24, 2003 9:21 am
Location: Hangzhou
Contact:
Contact druggo
Website

  • Quote

Post by druggo » Tue Jul 08, 2025 6:35 am

I just simply turn off dpms:

Code: Select all

xset -dpms
AMD FX-8300 / Loongson-2f (lemote-yeeloong)
Top
ritzmax72
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Sun Aug 10, 2014 5:59 am

  • Quote

Post by ritzmax72 » Tue Jul 08, 2025 11:54 am

druggo wrote:I just simply turn off dpms:

Code: Select all

xset -dpms
This didn't work. I have a desktop computer not a laptop. Is this why it didn't work?
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Jul 08, 2025 1:35 pm

Disabling DPMS is probably the wrong solution anyway, since it would remain disabled until reactivated, which the user would need to do after the game or set a watchdog process to restore later.

The display is probably being put into sleep mode by the screensaver, not by the X server itself. What screensaver/locker do you use?
Top
ritzmax72
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Sun Aug 10, 2014 5:59 am

  • Quote

Post by ritzmax72 » Tue Jul 08, 2025 8:00 pm

Hu wrote:Disabling DPMS is probably the wrong solution anyway, since it would remain disabled until reactivated, which the user would need to do after the game or set a watchdog process to restore later.

The display is probably being put into sleep mode by the screensaver, not by the X server itself. What screensaver/locker do you use?
I don't have any screensaver. As I said it is vanilla dwm. No wallpaper either just black background.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Jul 08, 2025 9:49 pm

Yes, DWM does not have an integrated screensaver, but it would not be unusual for a DWM user to run a separate screensaver process.
Top
ritzmax72
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Sun Aug 10, 2014 5:59 am

  • Quote

Post by ritzmax72 » Wed Jul 09, 2025 4:13 am

Also, my /sys/class/backlight/ folder is empty. Any recommendation?
Top
Chiitoo
Administrator
Administrator
User avatar
Posts: 3018
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Wed Jul 09, 2025 7:24 am

There's also the built-in(?) X screen saver, which can be configured via 'xset s'.

Traditionally, I've had the following two lines include in my '.xinitrc' to stop any blanking/power-offing:

Code: Select all

xset -dpms
xset s off
That written, it seems the default there for the screen saver might be 600 seconds (10 minutes instead of 15), so perhaps it's not that either.

Running

Code: Select all

xset q
will show the current values.
Kindest of regardses.
Top
ritzmax72
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Sun Aug 10, 2014 5:59 am

  • Quote

Post by ritzmax72 » Thu Jul 17, 2025 8:09 am

Chiitoo wrote:There's also the built-in(?) X screen saver, which can be configured via 'xset s'.

Traditionally, I've had the following two lines include in my '.xinitrc' to stop any blanking/power-offing:

Code: Select all

xset -dpms
xset s off
That written, it seems the default there for the screen saver might be 600 seconds (10 minutes instead of 15), so perhaps it's not that either.

Running

Code: Select all

xset q
will show the current values.
Thanks it totally worked.
Top
no101
n00b
n00b
Posts: 19
Joined: Mon Oct 10, 2022 4:03 pm
Location: Piney Woods
Contact:
Contact no101
Website

  • Quote

Post by no101 » Thu Jul 17, 2025 2:46 pm

Those xset commands can be combined:

Code: Select all

xset s off -dpms
Top
Post Reply

10 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy