Emre Yilmaz

Emre Yilmaz

I am a veteran Full-Stack Engineer, Open Source Contributor, and Web Generalist. Having shipped applications continuously since 2005, I don't just write code—I architect scalable digital systems that drive business value. Building Nostr tools: - https://nostr.emre.xyz - https://photo.emre.xyz - https://snips.emre.xyz - https://nostr.org.tr - https://rehber.dev

← Return to ledger

Disabling Screen Off and Screensaver on Debian / Linux

July 25, 2024 • 1 min read

If you're using a Linux system and want to prevent your screen from turning off or your screensaver from activating, you can use the xset command to adjust your Display Power Management Signaling (DPMS) settings and screensaver settings. Here’s how you can do it:

Disable DPMS Settings#

DPMS controls power-saving features such as standby, suspend, and off. To disable these features, run the following command:

sh
xset -dpms

Alternatively, you can set each DPMS setting to zero, which effectively disables them:

sh
xset dpms 0 0 0

Disable the Screensaver#

To disable the screensaver, you can use the xset s command. Setting the timeout to 0 will turn off the screensaver completely:

sh
xset s off

Or you can set the screensaver timeout to 0:

sh
xset s 0 0

Verify Your Settings#

After running these commands, you can verify the changes by executing:

sh
xset q

This will display your current settings, allowing you to confirm that DPMS and the screensaver are disabled.

By using these commands, you can ensure that your screen remains on and your screensaver does not activate, providing an uninterrupted experience on your Linux system.

Emre Yilmaz

Emre Yilmaz

I am a veteran Full-Stack Engineer, Open Source Contributor, and Web Generalist. Having shipped applications continuously since 2005, I don't just write code—I architect scalable digital systems that drive business value. Building Nostr tools: - https://nostr.emre.xyz - https://photo.emre.xyz - https://snips.emre.xyz - https://nostr.org.tr - https://rehber.dev

delirehberi@emre.xyz
About Author
Emre Yilmaz
Emre Yilmaz ✓ delirehberi@emre.xyz

I am a veteran Full-Stack Engineer, Open Source Contributor, and Web Generalist. Having shipped applications continuously since 2005, I don't just write code—I architect scalable digital systems that drive business value. Building Nostr tools: - https://nostr.emre.xyz - https://photo.emre.xyz - https://snips.emre.xyz - https://nostr.org.tr - https://rehber.dev

Value 4 Value

Comments & Discussions (0)

Decentralized replies powered by Nostr (NIP-22 / NIP-10)
Loading Nostr comments...
🏷️ Topics
No items in this list.