[DebianGIS-dev] Bug#550196: grass: If you wish to resize the X monitor, do so now.

Hamish hamish_b at yahoo.com
Tue Oct 13 12:12:42 UTC 2009


Package: grass
Followup-For: Bug #550196

Hi,


fyi this message:
=================================================================
If you wish to resize the X monitor, do so now. Window size is
locked while interactive modules are running.
=================================================================

is from the lib/init/grass-run.src -> $GISBASE/etc/grass-run.sh
script which is used to run modules from the GUI which require
an X terminal to run. It also works around Debian's auth settings
of clearing LD_LIBRARY_PATH for spawned terms.


The gis.m Tcl/Tk startup GUI runs the g.setproj module to set
up new locations from user entered parameters. The g.setproj
module is an interactive terminal based program, so an xterm
is opened by gis_set.tcl with:

exec -- $env(GISBASE)/etc/grass-xterm-wrapper -name xterm-grass -e 
$env(GISBASE)/etc/grass-run.sh $env(GISBASE)/etc/set_data

Finally, debiangis/grass/trunk/debian/patches/xterm.dpatch ensures that
x-terminal-emulator will be the first term tried.


the problem could be that the LD_LIBRARY_PATH work-around is not
yet initialized at this point in the startup, or that gnome-terminal
is somehow abusing that.



Hamish





More information about the Pkg-grass-devel mailing list