suspend/hibernate support in xfce4-session

Robby Workman rw at rlworkman.net
Mon Nov 3 05:16:14 CET 2008


On Sun, 2 Nov 2008 20:13:20 -0800
"Brian J. Tarricone" <bjt23 at cornell.edu> wrote:

> On Sun, 2 Nov 2008 21:59:29 -0600 Robby Workman wrote:
> 
> > On Sun, 2 Nov 2008 10:35:14 -0800
> > "Brian J. Tarricone" <bjt23 at cornell.edu> wrote:
> > 
> > > I'd maybe -- MAYBE -- consider adding some hooks to xfce4-session
> > > to allow people to execute arbitrary scripts before
> > > suspend/hibernate and after wakeup, but this is definitely not
> > > something for 4.6.
> > 
> > 
> > That would be duplicating functionality that's already available in
> > pm-utils, which is what HAL uses to do suspend operations.
> 
> That's not really useful, as the pm-utils scripts would run as root,
> not as the logged-in user.  And presumably you'd not want these kinds
> of scripts to run if a user isn't logged in, so going through pm-utils
> would be annoying.


Ah, okay, I misunderstood.  It's obvious what he/you meant in
hindsight, but I suppose that's how it goes :-)

As an aside, I wonder if the pm-utils guys would be willing to
implement some sort of way to have it run scripts as the user
invoking the call (assuming that's easily doable)...

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20081102/4bfafb70/attachment.pgp>


More information about the Xfce4-dev mailing list