[GRASSLIST:5575] Re: display monitor geometry

Hamish hamish_nospam at yahoo.com
Mon Jan 31 22:43:09 EST 2005


> Hamish, thanks a lot for the reply, but I don't think this works for 
> what I want.  I think that is the way to resize the monitor,

yes.

> but not 
> the display manager (d.m).  I would like the original display manager 
> to come up in the lower left corner of my screen instead of the middle
> by default, since the geometry (xy position) of the xdriver can not be
> set (from what I have been told).  Everytime I open grass, I need to 
> resize and move the display manager before I do anything.  Also, my 
> .Xdefaults isn't completely read anymore when I start up grass, so my 
> xterm geometry is also not read.  Basically I would like a nice 
> geometry upon startup of grass, without always needing to resize and 
> move all the windows.

maybe your window manager lets you save settings? Alt-middle click?
maybe you need to edit the tcl window code..?
(If you figure this out, it would be nice to tell the NVIZ control
window to stay at the top right corner of the screen too, instead of
jumping all over the place whenever you pick a new panel item....)

as for xterm, maybe:
ln -s ~/.Xdefaults ~/.Xresources
?


> As for what you wrote, I don't think I understand everything exactly 
> (still a UNIX dunce),
> I set my GRASS_HEIGHT and GRASS_WIDTH to 90 as a test with
> g.gisenv set=GRASS_HEIGHT=90
> however my monitors still pop up as a 640x480 screen.

no, these are unix shell variables not GRASS variables.

export GRASS_HEIGHT=90
export GRASS_WIDTH=90
d.mon x4

you can put those settings into ~/.grass.bashrc (or ~/.grass.cshrc)

study:
http://grass.ibiblio.org/grass60/manuals/html60_user/variables.html



Hamish




More information about the grass-user mailing list