How to get accurate window information (dimensions, etc.) in Linux (X)?
Posted
by
mellort
on Super User
See other posts from Super User
or by mellort
Published on 2010-07-15T15:24:07Z
Indexed on
2012/10/10
21:42 UTC
Read the original article
Hit count: 227
linux
How can I get accurate window information in Linux? I know that I can use wmctrl to get a window's size, but the actual size of the window can vary due to window decorations. I need the following information and methods:
* precise window dimensions
* precise available screen space (excluding panels like gnome-panel)
* the ability to set a window to be a certain size, including decorations
What would be the best way to do this?
Thanks in advance!
© Super User or respective owner