Vidar
17 May 2025 23:59
1
Since I don’t use Hibernate, I disabled it following the advice of the following tutorial:
Difficulty: ★★☆☆☆
This tutorial is to ensure you correctly turn off hibernation completely. You need to do this in 3 places in that order :
systemd
Create the following files:
/etc/systemd/sleep.conf.d/no-hibernate.conf
Add:
[Sleep]
# disable hibernation
# doc : https://archived.forum.manjaro.org/t/turn-off-disable-hibernate-completely/139939
AllowHibernation=no
AllowHybridSleep=no
AllowSuspendThenHibernate=no
/etc/systemd/logind.conf.d/no-hibernate.conf
Add:
[Login]
# dis…
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.
5 Likes
Vidar
18 May 2025 00:43
3
thanks @Aragorn for the quick reply
1 Like
system
Closed
21 May 2025 00:44
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.