質問

選択したウィンドウの X、Y 幅と奥行きをピクセル単位で表示する標準の X / Gnome プログラムはありますか?xterm でウィンドウのサイズを変更すると、ウィンドウの幅と奥行きが (行単位で) 表示されるのと似ています。

Red Hat Enterprise Linux 4.4 上で実行しています。

ありがとう!

役に立ちましたか?

解決

はい、プログラム「xwininfo」を探しています。別のターミナルでそれを実行し、情報が必要なウィンドウをクリックすると、情報が表示されます。

お役に立てれば!

他のヒント

$ xwininfo 

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1200007 "xeyes"

  Absolute upper-left X:  1130
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 150
  Height: 100
  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:  +1130+0  -0+0  -0-924  +1130-924
  -geometry 150x100-0+0
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top