Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
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
SOURCE CODE
Available at:
d.mon2 source code
(history)
Latest change: Thursday Feb 03 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Main index |
Display index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2023
GRASS Development Team,
GRASS GIS 8.2.2dev Reference Manual