[GRASS-user] <d.zoom.keys> -- shell script for navigation in GRASS
monitors from keyboard
amuriy at gmail.com
Mon Feb 13 11:17:27 EST 2012
Dear GRASS'ers :)
Let me introduce (a bit hacky) shell script (
navigating in classic X-monitors with the typical keys (arrows and "-" /
"+"). It works in two modes: from terminal or directly from X-monitor
(requires <xev> and <xdotool> utilities).
Note: tested only with GRASS 6.4.2svn and only in Linux (Ubuntu 10.04).
> Allows to change the current geographic region settings interactively,
> with a keyboard. Use arrow keys to navigate, "-" to make futher, "+"
> (without "Shift") to make closer.
> display, zoom
> d.zoom.keys [-txr] [mon=name] [magn=number] [--verbose] [--quiet]
> -t Use navigation from terminal
> -x Use navigation in X-monitor (requires <xev> and <xdotool>)
> -r Decrease region resolution during navigation
> --v Verbose module output
> --q Quiet module output
> mon Name of graphics monitor to select (default is currently selected
> magn Magnification: default is "1" (1/10 of current region). "magn" >
> 1 gives positive magnification, "magn" < 1 gives negative one.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user