Subscription date : 10 October 2011
Messages : 10
|
Running Cairo-dock 3.2.1, Xfce and Debian Wheezy.
Since 3.1.x, screensaver-inhibitor has not worked. There were no error messages, even when cairo-dock was launched from the command line. Comparing screensaver-inhibitor script from 3.2.x with screensaver-inhibitor script in 3.0.x showed a difference in how the process was detected
In the dependencies section
3.0.x used
result = popen("ps -ef | grep %s | grep -v grep" % app).read().rstrip()
Whereas 3.2.x used
result = popen("ps euf | grep %s | grep -v grep" % app).read().rstrip()
Change the "ps" command from "euf" back to "-ef" fixed the problem, and screensaver-inhibitor now works for xscreensaver.
Thanks
Alan |