From: Evgenii T. <evg...@us...> - 2008-02-25 15:32:05
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv30786 Modified Files: jabber.texi Log Message: Document xscreensaver-emacs-jabber usage Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.83 retrieving revision 1.84 diff -u -d -r1.83 -r1.84 --- jabber.texi 23 Feb 2008 17:54:25 -0000 1.83 +++ jabber.texi 25 Feb 2008 15:31:57 -0000 1.84 @@ -900,9 +900,20 @@ If you are using the X Window System, you can use the @uref{http://www.dtek.chalmers.se/~henoch/text/xprintidle.html, xprintidle} program. Make sure that @code{jabber-xprintidle-program} is -set to the correct file name. This uses the same method as XScreensaver +set to the correct file name. This uses the same method as @uref{http://www.jwz.org/xscreensaver,XScreensaver} to find your idle time. +If you use xscreensaver program, you can use +``xscreensaver-emacs-jabber'' perl-script for syncronize xscreensaver +and jabber.el status. It is are simple perl-daemon that watch for +xscreensaver status and set jabber.el's presence when needed. I.e.: +its set XA presence when screen is blanked or locked (by hands or by +idle timeout) and default presence when its unlocked/unblanked. To use +it, just run ``xscreensaver-emacs-jabber'' after xscreensaver and make +sure that your Emacs run in server mode (that you run (server-start) +in init files. Alternativetily, you can add turn on and off +server-mode by jabber.el's hooks). + If you are using Emacs on a GNU/Linux terminal, the function @code{jabber-termatime-get-idle-time} is used by default. |