Alex Rivera | Logout

X/Gnome: How to measure the geometry of an open window

Asked 2008-09-16T14:42:32.863
19

Is there a standard X / Gnome program that will display the X,Y width and depth in pixels of a window that I select? Something similar to the way an xterm shows you the width and depth of the window (in lines) as you resize it.

I'm running on Red Hat Enterprise Linux 4.4.

Thanks!

Edit
Report

1 Answer

24

Yes, you're looking for the program 'xwininfo'. Run it in another terminal and then click on the window you want info about and it will give it to you.

Hope this helps!

answered 2008-09-16T14:49:28.090

Your Answer