I have to keep my Fedora Workstation desktop running for extended periods while leaving it but it keeps shutting off cause of this automatic suspension setting that I can’t seem to shut off nor find a guide that works for. I tried some old guides for versions back linked here already:
but the directory isn’t there anymore when I try to go to etc/systemd/sleepconf.d. A working and more importantly modern solution would be much appreciated
You must create that directory then put the recommended file in there.
On Workstation it is very easy to stop the suspension.
create the directory sudo mkdir /etc/systemd/sleep.conf.d
create a file in that directory (sleep.conf) with the needed content. (Use sudo nano /etc/systemd/sleep.conf.d/sleep.conf and put the below content in that file.)
The system will now no longer automatically suspend nor hibernate.
CAVEAT: this disables all suspend and hibernation, including manual.
If you wish to be able to manually suspend then use the settings in the gnome setting panel for power management mentioned by Adam or follow the steps shown by Vladislav
something like this actually seemed to work, just not “Automatic Suspend”, because there is no setting explicitly/exactly called that. There’s “Dim Screen”, “Automatic Power Saver”, and “Automatic Screen Blank”. I turned all of them off and that actually seemed to work
The settings you mention do not appear to exist in Fedora Workstation? Are you using KDE? That would be Fedora KDE Plasma Desktop, not Fedora Workstation.
Adam’s instructions are correct for Fedora Workstation: