Re: [PATCH] Fix XFCE shutdown/reboot via menu.

2015-11-28 Thread Ludovic Courtès
Ricardo Wurmus skribis: > From dd10a2c30a6ef57b6d0bd9cecb263b731d6e1483 Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus > Date: Sat, 21 Nov 2015 17:47:00 +0100 > Subject: [PATCH 1/2] gnu: xfce-session: Enable shutdown/reboot menu entries. > > * gnu/packages/xfce.scm (xfce-session)[inputs]: Add u

Re: [PATCH] Fix XFCE shutdown/reboot via menu.

2015-11-25 Thread Ricardo Wurmus
Here are two new patches. The first adds missing inputs to xfce-session and replaces the paths to the shutdown, pm-suspend, and pm-hibernate commands with the plain names. The second simply adds pkexec to the list of setuid programmes via ‘polkit-setuid-programs’. >From dd10a2c30a6ef57b6d0bd9cec

Re: [PATCH] Fix XFCE shutdown/reboot via menu.

2015-11-24 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Ludovic Courtès writes: [...] >>> I also needed to change my system configuration to add “pkexec” to the >>> list of setuid programs: >>> >>> (setuid-programs (cons #~(string-append #$polkit "/bin/pkexec") >>>%setuid-programs)) >>> >>> Ma

Re: [PATCH] Fix XFCE shutdown/reboot via menu.

2015-11-21 Thread Ricardo Wurmus
Ludovic Courtès writes: > Ricardo Wurmus skribis: > >> First I had to patch our xfce-session package. Upower is checked for at >> configure time and needed for shutdown and reboot. Polkit’s “pkexec” is >> required to run the shutdown helper. >> >> The helper contains a bunch of hardcoded path

Re: [PATCH] Fix XFCE shutdown/reboot via menu.

2015-11-21 Thread Ludovic Courtès
Ricardo Wurmus skribis: > in the XFCE panel there is an item called “Action Buttons” offering > screen locking, log out, switch user, shutdown and reboot. Shutdown and > reboot do not work at the moment. > > I investigated a little and came up with a configuration in which these > two features d

[PATCH] Fix XFCE shutdown/reboot via menu.

2015-11-21 Thread Ricardo Wurmus
Hi Guix, in the XFCE panel there is an item called “Action Buttons” offering screen locking, log out, switch user, shutdown and reboot. Shutdown and reboot do not work at the moment. I investigated a little and came up with a configuration in which these two features do work. First I had to pat