On Sat Jul04'26 01:29:21PM, Community Support for Fedora Users wrote:
> From: Ranjan Maitra via users <[email protected]>
> Date: Sat, 4 Jul 2026 13:29:21 -0500
> To: Community support for Fedora users <[email protected]>
> Cc: Ranjan Maitra <[email protected]>
> Reply-To: Community support for Fedora users <[email protected]>
> Subject: How to stop laptop from suspending on idle
> 
> So, new laptop (Dell Premium PA 14250 if it matters) and my screen goes dark 
> when the laptop has no keyboard active for a while (perhaps five minutes) 
> which is great. 
> 
> However, for this new laptop, it seems to got to suspend mode (presumably 
> after a while) which also means that several things have to be started all 
> over again (including VPN, etc).
> 
> I do not use a desktop, having put my faith on the openbox WM. Is this a BIOS 
> setting somewhere that has this happen? I do not recall ever having to change 
> something in the past to make it not go to suspend if it is idle for a while.

From https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/ I was 
seemingly able to do what I wanted by issuing the following command:

sudo systemctl mask suspend.target

whose results can be checked using:

sudo systemctl status suspend.target

and can be reversed if needed by:

sudo systemctl unmask suspend.target

HTH to someone who wants a hammer solution to this issue.

Many thanks and best wishes,
Ranjan
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to