12

I'm running Eclipse and I detached some of the windows. Now I have 4 windows linked to Eclipse. What I need is to be able to identify each individual window and be able to control it.

If I run tools like: xprop, xwininfo, or wmctrl -l I can retrieve the WM_CLASS and WM_NAME for the main window but I can't get them for the other 3 child windows.

How can I retrieve the WM_NAME and WM_ROLE for all 4 windows?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
slybloty
  • 1,228
  • 3
  • 17
  • 38
  • Does X require every window to have those attributes? If you don't see them when running xprop on them then it may be the case that they're just missing for those windows. – Joseph Garvin May 17 '14 at 21:53
  • @JosephGarvin I needed those in order to be able to position the windows in the places I wanted to instead of where they get dumped by default. – slybloty May 20 '14 at 00:44

2 Answers2

3

In searching for an answer to your question I ran across this very in depth article on window matching that could be very helpful. You may find that Eclipse is to blame for not following the correct naming standards in generating the child windows making this a bug for which you should request a fix from the developers.

jjclarkson
  • 2,147
  • 2
  • 17
  • 16
-1

Using Intrinsics can solve your problem of getting WM_WINDOW_ROLE and WM_NAME.