[GRASS-dev] 6.3.0 release - need to set default font
michael.barton at asu.edu
Sun Nov 25 21:19:25 EST 2007
On 11/25/07 3:42 PM, "Hamish" <hamish_nospam at yahoo.com> wrote:
>> Michael Barton wrote:
>>> What about making GRASS_FONT a GRASS variable rather than a shell variable?
>>> I assume that it then could be set by g.gisenv (ending up in .grassrc6) and
>>> consequently would then persist across working sessions.
> Glynn Clements wrote:
>> It should go into the user's environment, via ~/.grass.bashrc or one
>> of the standard shell initialisation scripts, like any other user
> my guess here is that Michael is not seeing the GRASS_FONT set in
> as he is working in a GIS.m lauched by init.sh *before* the grass terminal
> session (and thus .grass.bashrc) is run. If gis.m is run from the grass
> terminal prompt it should see it.
This seems to be the case (running TclTk or wxPython). If I quit the GUI and
then restart it from the terminal, I can see the results of setting
GRASS_FONT in .grass.bashrc.
> If that is the case a previously mooted solution is to have a ~/.grassrc file
> which is sourced earlier in the game, before GUI subprocesses are spawned.
> If we do add that, an idea of what a possible GRASS 7 ~/.grass/ dir might
> contain could help reduce migration issues later.
> Be a better sports nut! Let your teams follow you
> with Yahoo Mobile. Try it now.
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
More information about the grass-dev