Hello all Flathub enthusiasts
After a flatpak App is published on Flathub. How do end-users open files with this flatpak App from command line? Assuming an App that support open file of course.
For example, this App at https://flathub.org/apps/org.kde.kwrite
For Debian 12 Bookworm, I’m guessing this command below?
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=kwrite --file-forwarding org.kde.kwrite @@u "/<ABSOLUTE PATH TO FILE>/<FILE NAME>.txt" @@
Or this?
/usr/bin/flatpak run --file-forwarding org.kde.kwrite @@u "/<ABSOLUTE PATH TO FILE>/<FILE NAME>.txt" @@
Or what other format is appropriate?
I searched https://docs.flatpak.org but found no full answer. I found a mention of --file-forwarding
, @@u
, and @@
at https://docs.flatpak.org/en/latest/flatpak-command-reference.html