public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: Dr Rainer Woitok <rainer.woitok@gmail.com>
Subject: [gentoo-user] Suspend and Hibernation not working on XFace desktop
Date: Fri, 20 Dec 2019 13:55:29 +0000	[thread overview]
Message-ID: <1689277.6UQq2NC9Qp@localhost> (raw)

[-- Attachment #1: Type: text/plain, Size: 2111 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2019-12-20 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20 13:55 Mick [this message]
2019-12-20 16:14 ` [gentoo-user] Re: Suspend and Hibernation not working on XFace desktop Dr Rainer Woitok
2019-12-21 12:22   ` Mick
2019-12-21 12:22     ` Mick
2020-01-17 11:18     ` [gentoo-user] Re: Suspend and Hibernation not working on XFace desktop [SOLVED] Dr Rainer Woitok
2020-01-17 14:06       ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689277.6UQq2NC9Qp@localhost \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=rainer.woitok@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox