I'm trying to get information about running windows with all the information that is shown in the menu of "FvwmCommand WindowList" output. (Redhat Linux 7)
The problem with this command is that it shows a pop-up menu, instead of printing the output on console.
The alternative I found is wmctrl.
wmctrl -lG # Prints most of the information as FvwmCommand WindowList
However, it does not give "layer" information.
Per help page for "FvwmCommand WindowList":
The format of the geometry part is: desk(layer): x-geometry sticky, where desk and layer are the corresponding numbers and sticky is empty or a capital S
wmctrl -lG gives information about desktop, but not the layer.
Is there any way, I can get layer of particular window (windowId)?