Date: Mon, 17 Oct 2016 13:31:51 +0200 From: "J.R. Oldroyd" <fbsd@opal.com> To: freebsd-xfce@freebsd.org Subject: xfce4-session and the grey suspend button Message-ID: <20161017133151.4882cf65@shibato>
next in thread | raw e-mail | index | archive | help
Back in the days of FreeBSD-8.x, life was good: xfce's Suspend button was active and my system suspended and resumed just fine. But in the dark days of FreeBSD-9.x and then also 10.x and now even on 11.0, too, that Suspend button has been greyed out. Life has been really tough! So I looked into this and see that xfce4-session supports suspend in three ways: - systemd - upower - consolekit Systemd is a Linux thing, I guess. Now, while I do have sysutils/upower installed, it doesn't seem to support the required org.freedesktop.upower.suspend (at least according to pkaction(1)). Perhaps it may have done so before when this previously worked. Finally, xfce's ConsoleKit support wants to use both org.freedesktop.ConsoleKit.Manager.CanSuspend and org.freedesktop.ConsoleKit.Manager.Suspend, both of which are also not found here, either. However, I have found that I have org.freedesktop.Hal.Device.SystemPowerManagement.Suspend and this does work to suspend the system! So, my question to those more familiar with this than me: what would be the correct way forward here? Fix upower? Fix ConsoleKit to support the methods xfce is using? Or add Hal support to xfce? Or something else entirely? Or... might there be a simple config problem here that I just need to know about? Thanks, -jr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161017133151.4882cf65>