NAME
d.mon2 - Starts a graphics display monitor which can be controlled from the command line.
KEYWORDS
display,
CLI
SYNOPSIS
d.mon2
d.mon2 --help
d.mon2 [-cbd] [width=integer] [height=integer] [handler=string] [tempfile=string] [percent=integer] [color=string] [--help] [--verbose] [--quiet] [--ui]
Flags:
- -c
- Use the Cario driver to render images
- -b
- output Bourne shell code to set up display
- -d
- output DOS code to set up display
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- width=integer
- Width for display monitor if not set by GRASS_RENDER_WIDTH
- Default: 800
- height=integer
- Height for display monitor if not set by GRASS_RENDER_HEIGHT
- Default: 600
- handler=string
- Window program to use
- Options: ximgview, wximgview, wxpyimgview, qiv, none
- Default: wximgview
- tempfile=string
- Name and location of temp file
- percent=integer
- Percentage of CPU time to use
- Default: 10
- color=string
- Background color, either a standard GRASS color or R:G:B triplet (separated by colons)
- Default: white
This is just a little experiment to see if we can make the ximgview,
wximgview, and wxpyimgview programs a bit simpler to start up.
Add this to your ~/.grass.bashrc file:
if [ `echo "$GRASS_VERSION" | cut -f1 -d.` -eq 7 ] ; then
alias d.mon='eval `d.mon.py -b`'
fi
By default the temporary file will be stored in $MAPSET/.tmp/ and cleared
at the end of the session. You can put it somewhere else with the
tempfile option. For example, when working remotely with
PuTTY (ssh without tunnelled X) + Apache:
alias d.mon='eval `d.mon.py -b handler=none tempfile=/var/www/grassmap.png`'
then just hit reload in your web browser whenever a refresh is needed.
Hamish Bowman
Dunedin, New Zealand
Last changed: $Date: 2011-07-07 09:26:28 +0200 (Thu, 07 Jul 2011) $
SOURCE CODE
Available at: d.mon2 source code (history)
Main index |
Display index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2018
GRASS Development Team,
GRASS GIS 7.4.1svn Reference Manual