Question to "Disable / Turn off Hibernate completely"

Since I don’t use Hibernate, I disabled it following the advice of the following tutorial:

It worked as intended.
However, I later found another possible solution myself, which I tried during a subsequent reinstallation:

In the file

/etc/systemd/sleep.conf

I changed the following lines:

#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes

as follows:

AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

The result was the same as in @Fabby 's tutorial.

Which is better or more correct?

Edit: I use the Plasma DE and my intention was, to remove the Button Hibernate in the Aplication starter.

1 Like

Generally, it is preferred to use drop-in files in /etc/systemd/sleep.conf.d rather than to edit /etc/systemd/sleep.conf directly. The latter file is more intended to illustrate the compile-time defaults, rather than that it would be a place for customizing the settings.

But both approaches are fine. :man_shrugging:

5 Likes

thanks @Aragorn for the quick reply :+1:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.