help-octave
[Top][All Lists]
Advanced

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

Re: Octave flatpak not lauching - Linux Mint 19.2


From: Kai Torben Ohlhus
Subject: Re: Octave flatpak not lauching - Linux Mint 19.2
Date: Thu, 31 Oct 2019 14:41:19 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/31/19 2:29 PM, Eduardo Mapurunga wrote:
> Additionally, when I tried to run the app directly from the shortcut menu. A
> small dialog entitled : "Octave critical error " appeared. The following is
> the text from this dialog:
> 
> "
> The settings file
> /home/edumapurunga/.config/octave/qt-settings
> does not exist and can not be created.
> Make sure you have read and write permissions to
> /home/edumapurunga/.config/octave
> 
> Octave GUI must be closed now
> "
> 
> As a result, I tried to give read and write permissions for the
> ./config/octave directory through:
> 
> $sudo flatpak override org.octave.Octave
> --filesystem=/home/edumapurunga/.config/octave:rw
> 
> Then verified the permissions using:
> 
> $flatpak info --show-permissions org.octave.Octave/x86_64/stable
> [Context]
> shared=network;ipc;
> sockets=x11;wayland;pulseaudio;
> devices=dri;
> filesystems=xdg-config/kdeglobals:ro;xdg-run/dconf;host;/home/edumapurunga/.config/octave;/home/edumapurunga/octave;~/.config/dconf:ro;
> 
> [Session Bus Policy]
> com.canonical.AppMenu.Registrar=talk
> org.freedesktop.Flatpak=talk
> 
> [Environment]
> PATH=/app/bin:/usr/bin:/app/jre/bin
> CPPFLAGS=-I/app/include
> LDFLAGS=-L/app/lib
> 
> The same problem continues and the dialog is still showing up every time I
> try to run octave. 

Alright, but at least we have a partial success =)  The GUI then should
start by running:

  sudo flatpak run --branch=stable org.octave.Octave --gui

Now we are facing a bunch of problems related to the sudo starts, which
need to be addressed one by one in the given order:

1) Uninstall Octave flatpak
2) Remove the folder "/home/edumapurunga/.config/octave/", which now
probably belongs to root and should cleanly be recreated the next time.
3a) Remove any folders
"/run/ld-so-cache-dir/b5e9492c806c540a564b49a202dfca5af252935f7f736d47519d5c6968526faf"
which as normal user you do not have permission to
3b) Maybe consider a clean system reboot
4) Install Octave flatpak and start is WITHOUT SUDO privileges

HTH,
Kai



reply via email to

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