On Wed, 06 Aug 2014 18:30:09 +0200, Yves-Alexis Perez <[email protected]> wrote:
> On jeu., 2014-08-07 at 00:48 +0900, Norbert Preining wrote: > > one more thing: > > systemctl restart systemd-logind > > should give you the effect you want without rebooting. > > But would break permissions for the current session, aiui. So it seems > the best is still to restart the session, unfortunately. My session permissions broke some time ago, so I searched the web and decided to do this: # cat /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla [Local actions] Identity=unix-group:adm Action=org.freedesktop.upower.*;org.freedesktop.consolekit.system.*;org.freedesktop.udisks.*;org.freedesktop.udisks2.*;org.freedesktop.login1.* ResultAny=yes ResultInactive=no ResultActive=yes For whatever reason, I also had to put the same thing in /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla. I also had to update this with the login1.* when systemd took over. As per Norbet's comment, with current patch (for battery notification) I also can close the lid now and it no longer suspends (correct behaviour for my configuration on AC, incorrect on battery). Hopefully I'll notice this late in the day after I close the lid but before I put my laptop in my bag... ;-) peace & happiness, martin
signature.asc
Description: PGP signature
_______________________________________________ Pkg-xfce-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

