James G. Sack (jim) wrote:
I vaguely remember a way to identify the process associated with a
window, or perhaps it was a diagnostic windows tree-walk (or ..?..).

At first I thought it was xwininfo, but that seems not to give any
process info, and I can't find anything else in the xorg-xii-utils package.

OK, I do see that
  xwininfo -root -tree
or
  wwininfo -root -all
gives names of executables, which presumably are the owner of a window,
but although there are xwindows identifiers nowhere do I see any process
ids.

The immediate question is how to identify the process owning a
particular window, but I'm also interested in the general subject.

Maybe I should look at the source for xkill?

Regards,
..jim

Sometimes, if you know what's running in a particular window, you can match it up with the output of:
ps -Helf

I like to make a virtual terminal wider than the screen when I run that command (or dump to a file and go in with vim).



--
Under the united States Constitution, the federal government has no authority to hold states "accountable" for their education performance. In the free society envisioned by the founders, schools are held accountable to parents, not federal bureaucrats.
--Congressman Ron Paul 2001-03-23


--
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to