Ubuntu Get Window Position Information; xwininfo


To get the position of a window in Ubuntu, in terminal: xwininfo xwininfo: Please select the window about which you          would like information by clicking the          mouse in that window.   xwininfo: Window id: 0x20ffa54 "Dark Launch - Mozilla Firefox"   Absolute upper-left X: 1039 Absolute upper-left Y: 48 Relative upper-left X: 1039 Relative upper-left Y: 48 Width: 800 Height: 600 Depth: 24 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +1039+48 -865+48 -865-402 +1039-402 -geometry 800x600+1039+48