I believe that there is a setting that can delay the startup of BOINC tasks for 
X seconds.  If this is true, then we have to be storing the BOINC startup time, 
and we could piggyback off of that somehow.

-----Original Message-----
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Jussi 
Lahtinen
Sent: Tuesday, February 18, 2014 1:10 PM
To: boinc_dev@ssl.berkeley.edu
Subject: [boinc_dev] IDLE detection on Linux

BOINC's IDLE detection on Linux desktops seem to have been always broken
(only the ways have changed). There are various methods for BOINC to get
the IDLE time on Linux, but I have focused on trying to fix the one that
relies on Xserver. It seems that BOINC starts too soon to work properly
with X. Because if you restart BOINC after desktop is fully loaded, it will
work as expected. Correct assumption?

So I tried to prevent BOINC to touch X related code until X is really
ready. See attachment and from the end function named "xss_idle". This
doesn't work for reasons I'm not aware. Anyone knows what is the problem
with this method? Or how to fix it?

Alternatively, is there function/method to make BOINC to restart itself? Or
is there method to make BOINC start later? Sleep command doesn't work here
and Upstart etc init scripts doesn't seem to provide needed features.


Jussi
_______________________________________________
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to