Logging active window for time tracking purposes

Logging active window for time tracking purposes

Post by stew » Tue, 25 Mar 2003 10:39:09

Can anyone point me in the right direction for resources to monitor
'active windows' in X? I am hoping I can log when windows get and lose
focus, to aid in time tracking. KDE seems to have something like this, but
I could not get it to log anything other than the fact that focus changed.

Is this a standard XFree86 feature? Is there some configuration or logging
setting that will record window titles? I am most interested in term and
xemacs windows, which might also be able to have document names in the
title bar.

I would have thought this would already be addressed, but I have spent an
hour or so on google, and have not found anything useful (mostly just
focus policy stuff).



1. XFree86 Window focus log for time tracking?

        Does anyone have pointers on how I can track window focus in XFree86? I
would like to track my window focus activity (ideally with gnome-terminal
dynamic titles, and somehow xemacs filenames...). My goal is to get a bit
more information for my time logs. Any help would be greatly appreciated,
even suggestions on a better way to systematically track what I am working

I am running Redhat 8 (will be switching to 9 real soon now). I've done some
upgrades, so I'm running
Kernel: 2.4.20-2.48
xscreensaver: 4.07-2

I've seen something in KDE which sounded right. It was a log file for any
focus change. Either I did not understand it correctly, or was missing
some functionality, because I could not get window names in the log.

I am guessing XFree86 could track window focus. If not then perhaps gnome
(or, if necessary, kde). Perhaps even xscreensaver (though I'm truly
reaching there).


2. ypserv problems

3. How to _reliably_ keep track of time logged on

4. a - Instituto

5. Tracking active users

6. Anyone have the patches for ibook.14 kernel

7. WANTED: script to log printer usage for recharge purposes

8. Dosemu Graphics support & Trident 8900CL

9. What is the purpose of "time to live" in the NIS+ dir cache?

10. purpose of console window?

11. starting X with num_lock active and leaving it non-active ?

12. VCS active-active failover question (socket bounds to IP when service starts)

13. active / non-active users