[GRASS-dev] [GRASS GIS] #500: GUI menu item to swtich GUIs

GRASS GIS trac at osgeo.org
Fri Feb 20 02:53:54 EST 2009


#500: GUI menu item to swtich GUIs
-------------------------+--------------------------------------------------
 Reporter:  hamish       |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement  |      Status:  new                      
 Priority:  major        |   Milestone:  6.4.0                    
Component:  default      |     Version:  6.4.0 RCs                
 Keywords:  gui          |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 Hi,

 currently there is no easy way to switch the default GUI from a GUI.

 e.g. from the native windows build you typically don't start from a
 command prompt so `grass64 -wxpython` isn't an easy option. If you know
 how you can do Config -> Settings -> GRASS working environment -> Change
 settings -> GRASS variable to set -> "GRASS_GUI=wxpython"
 in the GUI, but that's hardly something that someone could figure out on
 their own.

 To make this easier, I've added a new flag to g.gui to update default GUI
 but do not launch it. (done in r35972, r35973)

 The GUI menus would need to launch "g.gui -n --ui", or a wrapper fn for
 g.gui (bash/python template: 'g.gui --script') with the -nu flags
 hardcoded and only the type pulldown menu available. Then exit with a "you
 need to restart grass to see the effect" message.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/500>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list