[GRASS-dev] GIF -> PNG

Glynn Clements glynn at gclements.plus.com
Mon Oct 2 14:53:48 EDT 2006

Hamish wrote:

> with this set in ~/.grass.bashrc:
>   export GRASS_HTML_BROWSER=dillo
> it works fine from NVIZ, but the startup GUI defaults to using klunky
> old mozilla as .grass.bashrc hasn't been sourced yet(?).

You can always set it in your normal ~/.bash_profile etc.

> Also is there
> any way to get rid of or minimize the residual xterm window?

Yes; just don't use an xterm, i.e. change:

	exec -- $env(GISBASE)/etc/grass-xterm-wrapper -e $env(GRASS_HTML_BROWSER) \
	file://$env(GISBASE)/docs/html/helptext.html >@stdout 2>@stderr &;
	exec -- $env(GRASS_HTML_BROWSER) \
	file://$env(GISBASE)/docs/html/helptext.html >@stdout 2>@stderr &;

I don't see why an xterm should be necessary. If you want to use
lynx/links, you can set GRASS_HTML_BROWSER to a script which starts
lynx/links in an xterm, e.g.:

	exec xterm -e lynx "$@"

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list