I need to run a script that fixes a problem with the backlight on my laptop..

The script works when I suspend and resume using pm-suspend from the command line, but it does not work when I press the power button to suspend or when I close the laptop lid..

Where are the event scripts for these events handled in the file system.. I've tried to look for gnome-power-manager scripts and acpi scripts, but I can't seem to find any information.

--
============================
Kevin Daly
(416) 953-8330