Octave installed from Appcenter does not start its GUI nor does it have an Icon

After installing Octave from the appcenter I do not find any icon on the desktop and it does not start its GUI when I run it from the command line with
flatpak run org.octave.Octave
eos-diagnostic-230130_180912_UTC 0100.txt (1.4 MB)

I found some kind of a workaround by adding --force-gui to the command line, i.e., by starting Octave with:
flatpak run org.octave.Octave --force-gui
it gives the following error mesages and starts the GUI

Gtk-Message: 18:22:33.874: Failed to load module “canberra-gtk-module”
Gtk-Message: 18:22:33.876: Failed to load module “canberra-gtk-module”
Qt: Session management error: None of the authentication protocols specified are supported

I do:

Capture d’écran de 2023-02-24 11-34-50

Does the file /var/lib/flatpak/app/org.octave.Octave/current/active/export/share/applications/org.octave.Octave.desktop exist on your computer?

It seems to be by design that running Octave doesn’t default to a GUI. The file I mentioned above uses the command:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/octave --file-forwarding org.octave.Octave --gui @@ %f @@

which can be simplified to:

org.octave.Octave --gui

@wjt w thanks. I must have overlooked the icon. It is there and everything works fine. Sorry for the noise.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.