読者です 読者をやめる 読者になる 読者になる

by shigemk2

当面は技術的なことしか書かない

xwininfo

読書ノート

xwininfo

指定したウィンドウのサイズや位置、色深度などの情報を得ることが出来る。

shige@shigemk2 ~% xwininfo
xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x60000d "xterm"

  Absolute upper-left X:  728
  Absolute upper-left Y:  77
  Relative upper-left X:  0
  Relative upper-left Y:  22
  Width: 484
  Height: 316
  Depth: 24
  Visual: 0x22
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (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:  +728+77  -68+77  -68-385  +728-385
  -geometry 80x24-68+55

出典については…気にするな!