I think I've found what I was after with xautolock Debian package or BSD's xidle.c which seems to implement the MIT-SCREEN-SAVER API with the help of x11proto-scrnsaver-dev Debian package. phew. :) -- http://webconverger.com