<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
how do you start GRASS? by clicking on an icon or menu item, or with<br>
"grass64" typed at the command line in a terminal?<br></blockquote><div>By typing "grass64 -wxpython" in my terminal.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
please try starting from the command line, and then also from the GRASS><br>
prompt running 'd.mon x0' and i.class. --not from the GUI--.<br>
The interactive menus should be in text in the terminal, not in the<br>
Xmonitor.<br></blockquote><div>After d.on x0 it printed</div><div><div>using default visual which is TrueColor</div><div>ncolors: 16777216</div><div>Graphics driver [x0] started</div><div><br></div><div>Ok it asks for input raster map, group, sub-group and output file and existing files.</div>
<div>Then, it opens 2 monitors:</div><div>- 1 to visualize image (zoomed, signatures etc)</div><div>- other divided in two stating "use mouse now"</div><div>I suppose this is what it's suppose to be expecting from i.class module right?</div>
<div><br></div><div>(I tried to save a file but it saved only # ==> But for now I just want to fix this, before understanding what am I doing wrong regarding i.class use)</div></div><div><br></div><div>How can I do this inside a wxpython? :)</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">?? where does the x-terminal-emulator symlink in /etc/alternatives/<br>
point to ?<br></blockquote><div>The file x-terminal-emulation at etc/alternatives is not a link but an executable file. </div><div><div>doing nm x-terminal emulator I get:</div><div>nm: x-terminal-emulator: File format not recognized</div>
</div><div><br></div><div>x-terminal-emulator has the following code:</div><div>#! /usr/bin/perl -w</div><div><br></div><div>my $login=0;</div><div><br></div><div>while ($opt = shift(@ARGV))</div><div>{</div><div> if ($opt eq '-display')</div>
<div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$ENV{'DISPLAY'} = shift(@ARGV);</div><div> }</div><div> elsif ($opt eq '-name')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$arg = shift(@ARGV);</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, "--window-with-profile=$arg");</div><div> }</div><div> elsif ($opt eq '-n')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span># Accept but ignore</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>print STDERR "$0: to set an icon, please use -name <profile> and set a profile icon\n"</div><div> }</div><div> elsif ($opt eq '-T' || $opt eq '-title')</div>
<div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, '-t', shift(@ARGV));</div><div> }</div><div> elsif ($opt eq '-ls')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$login = 1;</div>
<div> }</div><div> elsif ($opt eq '+ls')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$login = 0;</div><div> }</div><div> elsif ($opt eq '-geometry')</div>
<div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$arg = shift(@ARGV);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, "--geometry=$arg");</div>
<div> }</div><div> elsif ($opt eq '-fn')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$arg = shift(@ARGV);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, "--font=$arg");</div>
<div> }</div><div> elsif ($opt eq '-fg')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$arg = shift(@ARGV);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, "--foreground=$arg");</div>
<div> }</div><div> elsif ($opt eq '-bg')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$arg = shift(@ARGV);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, "--background=$arg");</div>
<div> }</div><div> elsif ($opt eq '-tn')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$arg = shift(@ARGV);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, "--termname=$arg");</div>
<div> }</div><div> elsif ($opt eq '-e')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$arg = shift(@ARGV);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>if (@ARGV)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> push(@args, '-x', $arg, @ARGV);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> last;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>else</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span> push(@args, '-e', $arg);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>last;</div>
<div> }</div><div> elsif ($opt eq '-h' || $opt eq '--help')</div><div> {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>push(@args, '--help');</div><div> }</div>
<div>}</div><div>if ($login == 1)</div><div>{</div><div> @args = ('--login', @args);</div><div>}</div><div>exec('gnome-terminal',@args);</div><div><br></div><div>Does this help???</div><div><br></div><div>
Thank you Hamish for all your help</div><div> </div><div><br></div></div>