Using Xlib to measure productivity (aka time&keypresses spent on a window)

Samuel Thibault samuel.thibault at ens-lyon.org
Sat Mar 6 06:56:24 PST 2010


Yose Widjaja, le Sun 07 Mar 2010 01:52:56 +1100, a écrit :
> My nedit windows, right now, don't have "nedit" as title. Then again I guess I
> could make it so it does, but that seems like a "hacky" solution..

Well, to reach "nedit", you need to pass two abstraction: the X window,
to know which xterm process is running it, and then the pseudo-pty being
used by xterm, and then find out with programs are attached to the pty.
Really, the title hack is not so bad :)

Samuel



More information about the xorg mailing list