Skip to content

Instantly share code, notes, and snippets.

@j1cs
Created January 5, 2025 18:43
Show Gist options
  • Save j1cs/34cdf05393cb0f44ec8e1a17e66cd149 to your computer and use it in GitHub Desktop.
Save j1cs/34cdf05393cb0f44ec8e1a17e66cd149 to your computer and use it in GitHub Desktop.
fedora suspend
After searching around, I found the following bug, which explains the cause of the problem and documents a workaround:
https://bugzilla.rpmfusion.org/show_bug.cgi?id=7090
Following the advice in that bug report, I successfully worked around the problem as follows:
$ sudo systemctl edit systemd-homed
Then add these lines to the config file:
[Service]
Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"
And
$ sudo systemctl edit systemd-suspend.service
Then add these lines to the config file:
[Service]
Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment