On Thu, 2 Jan 2003, Sean 'Shaleh' Perry wrote: > On Wednesday 01 January 2003 12:14, Jeremy C. Reed wrote: > > Is there any tool like xprop or xwininfo where you can easily find out the > > X client window information (or properties) by supplying the PID? > > > > Or click on the window and also get the PID of the X client?
> No there is no way to do this. Sorry. X was designed expecting that the > clients an X server manages are actually hosted on some other machine. So > the pid would be worthless. I am hoping that I can somehow associate the stream's socket addresses (as seen with BSD fstat) to a Window ID. For example: reed rxvt 4072 3* unix stream c0881d00 <-> c0970000 root XFree86 216 15* unix stream c0970000 <-> c0881d00 It seems like there would be someway to ask the X server for the Window IDs with their socket addresses. Then I could easily write an awk script to figure this all out. Jeremy C. Reed echo 'G014AE824B0-07CC?/JJFFFI?D64CB>D=3C427=>;>6HI2><J' | tr /-_ :\ Sc-y./ | sed swxw`uname`w -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
