Re: [gpm] Exec a command before and after suspeding
- From: Peter Jones <pjones redhat com>
- To: Frittella Laurento <laurento frittella gmail com>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] Exec a command before and after suspeding
- Date: Wed, 13 Dec 2006 11:52:47 -0500
On Wed, 2006-12-13 at 13:29 +0100, Frittella Laurento wrote:
> Can g-p-m exec a custom command before and after suspend without root
> privileges?
> If I use OnSuspend and OnResume in the hibernate configuration the
> command will start with root privileges and it doesn't work as it should
> (I want to interact with some applications using the DBus session of the
> user that runs g-p-m).
We don't really have any infrastructure for that yet, unfortunately.
Probably the easiest thing to do is something like what I've done in
http://people.redhat.com/pjones/rhythmbox-pm.tar.bz2
--
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]