<p>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.</p>

<p>I'm running on Red Hat Enterprise Linux 4.4.</p>

<p>Thanks!</p>

[{'answer_id': 73155, 'author': 'Frank Wiles', 'author_id': 12568, 'author_profile': 'https://Stackoverflow.com/users/12568', 'pm_score': 6, 'selected': True, 'text': "<p>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.  </p>\n\n<p>Hope this helps! </p>\n"}, {'answer_id': 73221, 'author': 'Linulin', 'author_id': 12481, 'author_profile': 'https://Stackoverflow.com/users/12481', 'pm_score': 3, 'selected': False, 'text': '<pre><code>$ xwininfo \n\nxwininfo: Please select the window about which you\n          would like information by clicking the\n          mouse in that window.\n\nxwininfo: Window id: 0x1200007 "xeyes"\n\n  Absolute upper-left X:  1130\n  Absolute upper-left Y:  0\n  Relative upper-left X:  0\n  Relative upper-left Y:  0\n  Width: 150\n  Height: 100\n  Depth: 24\n  Visual Class: TrueColor\n  Border width: 0\n  Class: InputOutput\n  Colormap: 0x20 (installed)\n  Bit Gravity State: NorthWestGravity\n  Window Gravity State: NorthWestGravity\n  Backing Store State: NotUseful\n  Save Under State: no\n  Map State: IsViewable\n  Override Redirect State: no\n  Corners:  +1130+0  -0+0  -0-924  +1130-924\n  -geometry 150x100-0+0\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/73087', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/9648/']