Frage

xwininfo used to return the dimensions of the window including the border and titlebar until GNOME2. Now the same command returns the dimensions of the actual window without the borders and titlebar. So is there another command that I can use in a shell script to add the two together to get the real dimensions?

War es hilfreich?

Lösung

It seems like

xwininfo -frame

provides the full height of the window, including the title bar. Although I am not sure about the width shown, which seems a bit overstated.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top