[GRASS-user] Re: grass-user Digest, Vol 54, Issue 41

Glynn Clements glynn at gclements.plus.com
Tue Oct 19 21:04:14 EDT 2010


Margherita Di Leo wrote:

> I'm writing a Python script in grass 6.5. At the end of the elaboration the
> script pops up the maps on the video using d.mon and d.rast. It opens
> several monitors to do that and the maps are displayed one over each other.
> Is there a way to display the monitors in a certain position of the screen,
> for example one next each other beginning from the upper left of the screen?

XDRIVER doesn't provide any mechanism to specify the window position,
but the window manager might provide this functionality (if so, the
details depend upon the window manager in use).

Alternatively, you could use the PNG driver to render the maps as
images, then display the images using a viewer which allows the window
placement to be specified.

Or you could create a single, large monitor window and use d.frame to
position the individual maps within the window.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list