Re: How to make "gnome-terminal -x" behave like "xterm -e"



However, if you try the same thing with gnome-terminal:

$ gnome-terminal -x vi tmpfile ; rm tmpfile

The user never gets to read the tmpfile because it has been deleted
before vi actually gets a chance to start.

Try this:

gnome-terminal --disable-factory -x vi tmpfile ; rm tmpfile

the problem is that gnome-terminal is just asking a running
gnome-terminal to display another terminal instead of running and
displaying it's own window.. This should fix that..

Daniel


_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



Relevant Pages

  • Re: source code HTMl viewed in IE
    ... > If i have the source of a web page stored in a memo, how can i display that ... procedure TForm1.Button1Click(Sender: TObject); ... ShellExecute(0, 'open', tmpFile, nil, '', ...
    (borland.public.delphi.ide)
  • How to make "gnome-terminal -x" behave like "xterm -e"
    ... until the command terminates before returning? ... For instance, when using xterm: ... $ xterm -e vi tmpfile; ... The tmpfile won't be deleted until the user has had a chance to read it ...
    (GNOME)