changeset 21033:c27b6503e5d2 stable

etc/icons/octave.desktop.in: Add Keywords entry and field code to Exec. Since mime types are registered, the Exec key must contain a field code specifying a way to pass the filename as the parameter, see Desktop Entry Specification for details. (bugs #46760, #46790) http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html
author Rafael Laboissiere <rafael@laboissiere.net>
date Tue, 05 Jan 2016 13:23:15 +0100
parents f7e416862e90
children c044607a9225 8fdf1f991a32
files etc/icons/octave.desktop.in
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/icons/octave.desktop.in
+++ b/etc/icons/octave.desktop.in
@@ -2,10 +2,11 @@
 Name=GNU Octave
 Comment=Scientific Computing using GNU Octave
 TryExec=%OCTAVE_PREFIX%/bin/octave
-Exec=%OCTAVE_PREFIX%/bin/octave --force-gui
+Exec=%OCTAVE_PREFIX%/bin/octave --force-gui %f
 Icon=%OCTAVE_IMAGEDIR%/octave-logo.svg
 Terminal=false
 Type=Application
 Categories=Education;Science;Math;
 StartupNotify=false
 MimeType=text/x-octave;text/x-matlab;
+Keywords=science;math;matrix;numerical computation;plotting;