On Monday 22 January 2007 02:38, Stefan Seyfried wrote: > This is correct. You can also add your custom event script as described > here (exact path depends on your installation): > > file:///usr/share/doc/packages/powersave/powersave_manual.html#Events > file:///usr/share/doc/packages/powersave/powersave_manual.html#Scripts
Thanks. Too bad I don't actually have that on Ubuntu... > > You can also, although this is a bit hacky, execute scripts as your user by > (ab-)using the knotify service from within kpowersave: In the "extended" > configuration in "configure notifications", you can also configure "run > custom program" for the various suspend events and there enter the path > to a script that kills these applications. This is an evil hack but has > the advantage that it does not run as root which makes it easier to use > some stuff that needs knowledge about your session or access to the X > Server. I do not know for sure if these event scripts are processed > synchronously or asynchronously, though. Thanks again - I don't have your definition of "evil" and really don't see a problem with that. :-) If he could run the remove/eject script (I really have to figure out how this is done) for the camera from there, suspend should proceed normally, I would think. -- derek _______________________________________________ powersave-users mailing list [email protected] http://forge.novell.com/mailman/listinfo/powersave-users
