[xubuntu-users] launch a script before suspend via xfce

Tim H. xubuntu-users-bounces at lists.ubuntu.com
Thu Sep 8 01:10:31 UTC 2011

Does suspend have it's own run-level?  I guess this is a side question....

But, if it did, that would be quite easy to achive.  Else, you could 
hack the code that makes up the suspend button on that panel. Which I am 
yet to find so far.


On 09/07/2011 02:05 AM, Mihamina Rakotomandimby wrote:
> Hi all,
> For several reasons, I would like to launch a script requiring root
> privileges before the suspend takes effect.
> I usually suspend via xfce (there is a menu for halt, shutdown,
> reboot,..) panel.

More information about the xubuntu-users mailing list