X Window System関係のコマンド

/ LPIC / Comment[0]

showrgb

色とRGB値を調べる
$ showrgb
255 250 250             snow
248 248 255 ghost white
248 248 255 GhostWhite
245 245 245 white smoke
245 245 245 WhiteSmoke
220 220 220 gainsboro
255 250 240 floral white
255 250 240 FloralWhite
253 245 230 old lace
253 245 230 OldLace
250 240 230 linen


xlsclients
実行中のXクライアントを表示する
$ xlsclients
Phantom-zero  skype
Phantom-zero ibus-x11
Phantom-zero gnome-session
Phantom-zero seahorse-daemon
Phantom-zero gnome-panel
Phantom-zero cpufreq-applet
Phantom-zero trashapplet
Phantom-zero google-chrome


xwininfo
指定したウィンドウのサイズや位置などの情報を調べることが出来る。
$ xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.

xwininfo: Window id: 0x3c00004 "Phantom Terminal"

Absolute upper-left X: 1025
Absolute upper-left Y: 48
Relative upper-left X: 1025
Relative upper-left Y: 48
Width: 577
Height: 434
Depth: 32
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x3c00003 (not 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: +1025+48 -702+48 -702-318 +1025-318
-geometry 80x24+1025+48


xdpyinfo
ディスプレイ情報を表示することが出来る。
$ xdpyinfo
name of display:    :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10604000
X.Org version: 1.6.4
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
関連記事

コメント

:
:
:
:
:
管理人のみ表示を許可