Rainer, 

If you can't run suspend/hibernate it may be polkit policies are not allowing 
you to run these commands via dbus.  However, polkit policies are 
automatically installed/updated as required by the packages you have on your 
system.  For example, this is what I have on my desktop (KDE):

$ pkaction | grep susp
org.freedesktop.login1.inhibit-handle-suspend-key
org.freedesktop.login1.suspend
org.freedesktop.login1.suspend-ignore-inhibit
org.freedesktop.login1.suspend-multiple-sessions

$ pkaction | grep hibernate
org.freedesktop.login1.hibernate
org.freedesktop.login1.hibernate-ignore-inhibit
org.freedesktop.login1.hibernate-multiple-sessions
org.freedesktop.login1.inhibit-handle-hibernate-key


I suppose xface would install similar?

These are the USE flags for polkit on this system:

$ equery u sys-auth/polkit
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-auth/polkit-0.115-r4:
 U I
 - - consolekit    : Use sys-auth/consolekit for session tracking
 + + elogind       : Use sys-auth/elogind for session tracking
 - - examples      : Install examples, usually source code
 - - gtk           : Add support for x11-libs/gtk+ (The GIMP Toolkit)
 + + introspection : Add support for GObject based introspection
 - - jit           : Enable just-in-time compilation for improved performance. 
May prevent use of
                     some PaX memory protection features in Gentoo Hardened.
 + + kde           : Add support for software made by KDE, a free software 
community
 + + nls           : Add Native Language Support (using gettext - GNU locale 
utilities)
 + + pam           : Add support for PAM (Pluggable Authentication Modules) - 
DANGEROUS to
                     arbitrarily flip
 - - systemd       : Use sys-apps/systemd for session tracking
 - - test          : Enable dependencies and/or preparations necessary to run 
tests (usually
                     controlled by FEATURES=test but can be toggled 
independently)

-- 
Regards,

Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to