[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how can I start one script as soon as screensaver start ?



My question : how can I start one script as soon as screensaver start ?

I try this bad solution :

in "gnome-screensaver-2.14.3/src/gs-monitor.c", at the beginin of
"listener_active_changed_cb", I've add this code :

char *command;
command = "myfoobarscript";
execv(command);

but it don't work.

Someone can help me ?

Thanks for your help
--Stéphane



Reply to: