You are not logged in.
Hi everyone,
I'm trying to use xfce4-power-manager to mange my laptop's battery and other things. The software is started, I set it up, but it just doesn't have any effect
A concrete example, I set the action "When you close your laptop : " to "Do nothing". And each time I close it, the laptop will suspend
I tried on both Xfce and Openbox sessions, and none of these is working. KDE session and KDe power management are working on the same install.
[xfce4-power-manager --no-daemon
(xfce4-power-manager:741): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
(xfce4-power-manager:741): xfce4-power-manager-WARNING **: Unable to connect to session managet : Échec de connexion au gestionnaire de session : SESSION_MANAGER environment variable not defined
(xfce4-power-manager:741): xfce4-power-manager-WARNING **: Unable to create proxy for 'org.freedesktop.ConsoleKit'
(xfce4-power-manager:741): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode
** (xfce4-power-manager:741): WARNING **: No outputs have backlight property
Any clue ?
Thanks in advance !
Last edited by Kolibry (2014-01-27 17:55:33)
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
Systemd is handling your power events instead of xfce4-power-manager.
Edit /etc/systemd/logind.conf, uncomment the required lines and set to ignore. For example...
HandleLidSwitch=ignore
https://wiki.archlinux.org/index.php/Po … CPI_events (note the warning section).
Last edited by Slithery (2014-01-27 17:48:34)
Offline
I don't use such things on my machine, but I vaguely remember there being changes to the DE power manager tools that made this unnecessary. In particular, I thought it was supposed to run an instance of systemd-inhibit and then use the '--ignore-inhibitors' switch with systemctl. Though maybe I am just making things up in my head or maybe that was a different DE. I don't use a DE or these tools...
Offline
I know gnome and kde added the inhibits, but I don't think Xfce has yet. From what I can tell, their power manager hasn't had a release in nearly two years.
Offline
Currently being worked on. Not yet commited to the master branch.
Looks like this is the bug report.
Offline
Ah, okay. I was half way making shit up in my head then. Good to know.
Offline