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

Re: [SOLVED] Hibernate option in Gnome menu? (Jessie)



W. Martin Borgert wrote:

> Quoting deloptes <deloptes@yahoo.com>:
>> looks like gnome specific.
>> did you check permissions?
>> I think this was in policykit
> 
> Maybe my original post was not clear: Hibernating works perfectly
> fine with Gnome 3 on Jessie, only the actual UI element (button)
> is missing in the menu. My relative now uses the power button to
> hibernate, configured using gnome-tweak-tool. With the extension
> packaged it would be even better (https://bugs.debian.org/782741).
> 
> Cheers

yes I understand, but in my opinion the menu item and the power button take
different ways to make use of the hibernate method that is exposed via dbus
so if the power button on the notebook uses a program running with root
privs it may explain why it works, while the user interface does not have
the permissions

Have you checked what you can do regarding powermanagement - I don't recall
reading this in your postings

$ qdbus --system org.freedesktop.UPower /org/freedesktop/UPower | grep
Hibernate

property read bool org.freedesktop.UPower.CanHibernate
method void org.freedesktop.UPower.Hibernate()
method bool org.freedesktop.UPower.HibernateAllowed()

this means that your mate could hibernate also as normal user by using the
Hibernate() method via dbus??
just a thought. I am not using gnome, I read the bug desc briefly when I was
looking for solution to my issue ... The extension looks cool

regards


Reply to: