I found a temporary solution to this problem.
If you want to just open a .m file in Octave's Editor and not execute it while
double clicking it, you can do the following:
1. Locate the .desktop file of GNU Octave in /use/share/applications (in
nautilus with root persimmions)
2. Right Click -> Properties; In the command field, replace the existing text
with :
octave --force-gui --persist --eval "edit %F"
For your understanding,
--force-gui forces octave to invoke the GUI
--persist tells octave to NOT exit after execution of command/script
--eval tells octave to execute the following command ("edit %F") in its
interpreter, which will open the file in its editor.
:D
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524251
Title:
Octave crashes when opening an m file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1524251/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs