[GRASS5] gis.m as default GUI

Michael Barton michael.barton at asu.edu
Thu Apr 27 23:06:13 EDT 2006

This is just a simple replace from the d.m script to the gis.m script.

Gm.tcl is the main TclTk program. Gm_tcl simply mirrors a construction in
the d.m script. There was some issue about using d.m as a name. I didn't
make this piece of bash code. I remember the discussion, but forget what it
was about.

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

> From: William Kyngesburye <woklist at kyngchaos.com>
> Reply-To: William Kyngesburye <kyngchaos at kyngchaos.com>
> Date: Wed, 26 Apr 2006 15:42:19 -0500
> To: <grass5 at grass.itc.it>
> Cc: Glynn Clements <glynn at gclements.plus.com>
> Subject: Re: [GRASS5] gis.m as default GUI
> It looks like that's already in gis.m script:
>     exec "$GRASS_WISH" $GISBASE/etc/gm/gm.tcl -name gm_tcl &
> and probably in other places in the tcl code to set the various
> window names.
> I think that gm_tcl is the main window with the menu, that's named
> "GRASS6.1.cvs GIS Manager - " + location name.  And that same window
> in Tcl/Tk Aqua wish also gets that name, but the 'Wish Shell'
> application name itself is what shows up in the Mac OS X menubar and
> Dock.  It's the whole wish application that has all those windows
> open that I would like to see as "GRASS6.1.cvs" or similar short name.
> It probably works from within Lorenzo's GRASS.app, since GRASS.app
> starts the whole thing, and a small change in the gis.m tcl code sets
> wish windows to spawn off GRASS.app (I assume) instead of as a new
> application.  I don't use his binaries, so I can't really say.
> On Apr 26, 2006, at 2:15 PM, Glynn Clements wrote:
>> William Kyngesburye wrote:
>>> That's not what I mean - I know about using GRASS_WISH to set the
>>> particular wish binary to use, that's how I force GRASS to use my X11
>>> Tcl/Tk instead of Apple's default.  It's just that when I use the Tk
>>> Aqua wish, it's a separate Mac OS X application, not run inside of
>>> X11, and the system just knows it as 'wish' (in the menubar, the
>>> Dock, and CLI ps command).
>>> I know in Java applications, there is a way to rename the application
>>> so it doesn't run as 'Java'.  Is there something similar for wish?
>> Try "wish -name <name>", or putting "tk appname <name>" at the
>> beginning of the script.
>> -- 
>> Glynn Clements <glynn at gclements.plus.com>
> -----
> William Kyngesburye <kyngchaos at kyngchaos.com>
> http://www.kyngchaos.com/
> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what
> does that remind me of?  Ah, yes - life."
> - Marvin

More information about the grass-dev mailing list