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
