[GRASSLIST:3376] Re: Set PNG resolution permanently
    Glynn Clements 
    glynn.clements at virgin.net
       
    Fri May  7 21:27:51 EDT 2004
    
    
  
Ulrich Leopold wrote:
> I would like to set the PNG monitor resolution permanently in
> grass5.0.2.
> 
> I changed my .grassrc to
> 
> .
> .
> .
> GRASS_WIDTH: 3200
> GRASS_HEIGHT: 2400 
> GRASS_PNGFILE:map.png
> .
> .
> .
> 
> 
> It does not work. I also tried to use '=' instead of ':'. I tried also
> after logging out from grass. No effects.
> Is it not possible at all to set it in .grassrc?
No. These three variables are environment variables, not GRASS
variables.
For bash, add the following to ~/.grass.bashrc:
	export GRASS_WIDTH=3200
	export GRASS_HEIGHT=2400 
	export GRASS_PNGFILE=map.png
For csh/tcsh, add the following to ~/.grass.cshrc:
	setenv GRASS_WIDTH 3200
	setenv GRASS_HEIGHT 2400 
	setenv GRASS_PNGFILE map.png
-- 
Glynn Clements <glynn.clements at virgin.net>
    
    
More information about the grass-user
mailing list