octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44880] Allow the Exec key in the desktop file


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #44880] Allow the Exec key in the desktop file to launch a script file
Date: Tue, 27 Mar 2018 20:32:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #4, bug #44880 (project octave):

> [...] For example the org.gnome.gedit.desktop on my system defines actions
to open a new window or create a new text document in addition to the
default.

It only does that from the gnome shell. It doesn't have two options when you
are opening a file.  In that case, it uses the Desktop Entry section (which
only has one section), instead of the Desktop Action sections.  If we ever get
D-bus working in Octave (see bug #42603), the same options would be nice, to
create new document in existing Octave instance, or open new document in new
instance.

> I think we can support both actions to "run this .m file as a program" and
"open this .m file in the editor", and both make sense depending on your use
case, so why not do both?

I think the 'run this .m file as a program' is for the file manager to handle.
On my system, nautilus will ask if it should run the program if it has
executable permissions or open it as a file.

Also, we have at least 3 bugs about not opening the file for edition on Linux.
In windows, where that happens, we have no bugs from users wanting to run the
program.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]