[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Completely disable Hibernation


I've been kicked off the debian-user list (again) because my mail
provider keeps bouncing debian-user emails (and _only_ debian-user
emails, for some reason). Please respond _to the list_ and I'll catch
replies in the archives.  Thanks.

Felix Miata wrote:
> Remove resume=<whatever> and include 
> noresume in all bootloader stanza(s) is how
> I do it.

I'm afraid I don't know what any of that means, I'm afraid.  Could you

Stefan wrote:
> a hackish way you can do it is by adding
>    touch /var/run/do-not-hibernate
> to your /etc/rc.local.

I'll try this, thanks.

I've come across the following potential answer:

> sudo systemctl mask sleep.target suspend.target hibernate.target

However, I'm concerned that may disable normal suspend as well as
hibernate.  Anyone know for sure?

Also, how do I remove Hibernate from the Shut Down? dialogue/applet? 
All I could find was this:


It suggests modifying
/usr/share/polkit-1/actions/org.freedesktop.upower.policy, but I don't
have this file.


Reply to: