Urgent.News

What's breaking now, across thousands of outlets.

Tech

My PC never goes to sleep anymore: how I removed sleep and locking under Linux

Je pilote des automatisations sur mon PC : elles tournent la nuit, et je veux que l'écran reste allumé en permanence. Problème : par défaut, un Linux moderne verrouille la session après 15 minutes d'inactivité et éteint l'écran après 10. Voici comment j'ai tout supprimé, proprement, en quatre couches. 1. Les réglages du bureau (COSMIC) Sous COSMIC (Pop!_OS 24.04), l'inactivité est gérée par le…

Translated from French Read in French

A Linux user, running Pop!_OS 24.04 with the COSMIC desktop, wanted to keep their screen on continuously while automated tasks ran at night. To achieve this, they made several changes to their system settings. They modified configuration files to prevent the screen from turning off and the session from locking due to inactivity, and also disabled system sleep modes. Additionally, they created a service to maintain a screensaver inhibition via DBus and set up a firewall using ufw to block incoming connections.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Saturday 3 October →