Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #171826
| From | Stephan Beck <sbeck@secure.mailbox.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: [xfce] - power management |
| Date | 2016-09-06 22:30 +0200 |
| Message-ID | <sevai-6LS-3@gated-at.bofh.it> (permalink) |
| References | <sepey-30H-49@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Herbert,
I don't have XFCE installed, and I don't have a solution to your problem
right now, but have you checked if your /etc/systemd/logind.conf file
has the option #HandleHibernateKey=hibernate uncommented?
Does your window manager handle this type of ACPI event(s) now?
/usr/bin/xfce4-power-manager
Does acpid handle those events? Check the scripts in /etc/acpid/events
and section Troubleshooting on acpid's man page.
Stephan
Herbert Fortes:
> Hi,
>
> I switched from gnome to xfce because the notebook
> can not run gnome and pycharm at the same time.
>
> I am facing problems with power management. Suspend
> works is I click on the button. Hibernate does not
> seems to work properly because I see a lot of 'OK'
> when I notebook wakes up.
>
>
> I tried to config policykit without success. I put a
> .pkla file in /etc/polkit-1/localauthority/50-local.d/
> about suspend and hibernate:
>
> Identity=unix-user:*
> Action=org.freedesktop.XXXXX.XXXXX
> ResultActive=yes
>
> XXXXX can be upower|login1 and suspend|hibernate. The
> message asking a password says login1.
>
> I also tried putting a file in /usr/share/polkit-1/rules.d/
> with:
>
> polkit.addRule(function(action, subject) {
> if (action.id == "org.freedesktop.login1.suspend" ||
> action.id == "org.freedesktop.login1.suspend-multiple-sessions" ||
> action.id == "org.freedesktop.login1.hibernate" ||
> action.id == "org.freedesktop.login1.hibernate-multiple-sessions")
> {
> return polkit.Result.YES;
> }
> });
>
>
> # Debian Testing
> $ pkaction --version
> pkaction version 0.105
>
>
> If someone can help me please Cc me because I am
> not on the list.
>
>
>
> Regards,
> Herbert
>
>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[xfce] - power management Herbert Fortes <terberh@gmail.com> - 2016-09-06 16:10 +0200 Re: [xfce] - power management deloptes <deloptes@gmail.com> - 2016-09-06 20:50 +0200 Re: [xfce] - power management Stephan Beck <sbeck@secure.mailbox.org> - 2016-09-06 22:30 +0200 Re: [xfce] - power management Stephan Beck <sbeck@secure.mailbox.org> - 2016-09-06 22:30 +0200
csiph-web