xscreenruler
1.0.0
X11的簡單屏幕標尺。只有Xlib在依賴項中!
要構建, make使用。 GNU製造和BSD製造已進行了測試。
構建尊重標準變量。在某些平台上,您將不得不傳遞額外的包括和圖書館目錄。例如,在OpenBSD上,您會做:
CPPFLAGS=-I/usr/X11R6/include LDFLAGS=-L/usr/X11R6/lib make
./xscreenruler [-h] [-fg <color>] [-bg <color>]
-h - this message
-fg <color> - set foreground (i.e. text) color (e.g. yellow, white).
-bg <color> - set background color (e.g. black, red).
Where <color> is either:
An X11 color name (e.g. 'red').
A hex colour code (e.g. '#ff0000')
Keybindings:
Measurement edge:
shift+n - north
shift+s - south
shift+w - west
shift+e - east
Measurement direction:
shift+r - invert(default from left-to-right to right-to-left, from top-to-bottom to bottom-to-top)
Ruler size:
ctrl+d - default (150px) size
ctrl+s - small (375px) size
ctrl+m - medium (525px) size
ctrl+t - tall (675px) size
ctrl+f - fullscreen
Movement
arrows (up, down, left, right)
ctrl+arrows - move faster
Misc:
ESC or ctrl+q - exit
