[GRASS5] tcltk to default

Grass 5.3 snapshot 2004 01 17
Redhat 7.3 with updates

I can't out any way to have default graphics be tcltk except to
manually edit the .grassrc5 file. It used to default to this after
first usage, I believe.

Is there a utility or command to set this in Grass?

Perhaps this should appear on the tcltk menu under or near
"Config"?

John

On Wednesday, February 4, 2004, at 10:34 AM, John Gillette wrote:

Is there a utility or command to set this in Grass?

Perhaps this should appear on the tcltk menu under or near
"Config"?

If you start GRASS with grass5 -tcltk (or grass53 -tcltk, depending on your installation) it will default to the tcltk GUI from then on, or until you start GRASS with grass5 -text. If you start with grass5 -text, it will default to text mode until you start again with grass5 -tcltk.

AFAICT, you need to start GRASS in text mode (grass5 -text) to create a new location. At least mine bombs and erases the location parameter in .grassrc5 if I try to create a new location within the tcltk GUI. Creating new mapsets work fine however. When I get a chance, I will try to take a look at this and see if I can understand what is going on. Or perhaps someone could enlighten me.

______________________________
Michael Barton, Professor & Curator
Department of Anthropology
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671

On Wed, Feb 04, 2004 at 12:34:46PM -0500, John Gillette wrote:

Grass 5.3 snapshot 2004 01 17
Redhat 7.3 with updates

I can't out any way to have default graphics be tcltk except to
manually edit the .grassrc5 file. It used to default to this after
first usage, I believe.

Is there a utility or command to set this in Grass?

Perhaps this should appear on the tcltk menu under or near
"Config"?

try

grass5 -help
grass57 -help

-> " -tcltk or -gui use Tcl/Tk based graphical user interface"

This might be what you are looking for.

Markus

John Gillette said:

Grass 5.3 snapshot 2004 01 17
Redhat 7.3 with updates

I can't out any way to have default graphics be tcltk except to
manually edit the .grassrc5 file. It used to default to this after
first usage, I believe.

Is there a utility or command to set this in Grass?

Have you tried launching GRASS with the -tcltk command line option ?

Moritz

Michael Barton said:

AFAICT, you need to start GRASS in text mode (grass5 -text) to create a
new location. At least mine bombs and erases the location parameter in
.grassrc5 if I try to create a new location within the tcltk GUI.
Creating new mapsets work fine however. When I get a chance, I will try
to take a look at this and see if I can understand what is going on. Or
perhaps someone could enlighten me.

I have never had any problems creating a new location from the tcltk GUI
(it actually just launches the text interface...)

Moritz