arzgi wrote:Why do you think this is a Debian problem, if you download software from somewhere else?
Permission problem is really common, use search tool if you have not encountered it before.
Well, I didn't say it was a Debian problem.
I just asked for help here, because I just like this forum.
Meanwhile, I found a solution, that was (go figure...) in the Flatpak documentation!
https://docs.flatpak.org/en/latest/tips-and-tricks.htmlSo, I made this small tutorial for me, which I share here:
=============================================
install flatpak
two options
- default install (in /var /lib)
- custom install (in custom directory)
I think both can coexist
install flatpak
apt update
apt install flatpak
install repository
flatpak remote-add flathub
https://flathub.org/repo/flathub.flatpakrepo---------------------------------------------
if you want also a custom install
useful to prevent root partition to get full
https://docs.flatpak.org/en/latest/tips-and-tricks.htmlnote
/my-data is in another partition, mounted at boot
mkdir /my-data/flatpak/
mkdir -p /etc/flatpak/installations.d
nano /etc/flatpak/installations.d/my-data.conf
paste this:
[Installation "my-data"]
Path=/my-data/flatpak/
DisplayName=my-data
StorageType=harddisk
install repository in custom install
flatpak --installation=my-data remote-add flathub
https://flathub.org/repo/flathub.flatpakreponote
I've found this alternative in the internet
but although it did work for Inkscape, it didn't work for me for Claws Mail
https://github.com/flatpak/flatpak/issues/2147---------------------------------------------
inkscape
install in custom directory
flatpak --installation=my-data install flathub org.inkscape.Inkscape
install in (default) root directory
flatpak install flathub org.inkscape.Inkscape
run
flatpak run org.inkscape.Inkscape
flatpak run org.inkscape.Inkscape & exit
---------------------------------------------
claws mail
install in custom directory
flatpak --installation=my-data install flathub org.claws_mail.Claws-Mail
install in (default) root directory
flatpak install flathub org.claws_mail.Claws-Mail
run
flatpak run org.claws_mail.Claws-Mail
flatpak run org.claws_mail.Claws-Mail & exit
---------------------------------------------
gimp
install in custom directory
flatpak --installation=my-data install flathub org.gimp.GIMP
install in (default) root directory
flatpak --installation=my-data install flathub org.gimp.GIMP
run
flatpak run org.gimp.GIMP
flatpak run org.gimp.GIMP & exit
=============================================