summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-05 08:56:39 -0700
committerJohn Stebbins <[email protected]>2019-01-05 10:07:22 -0700
commitd4761a9f2f07fe02935089356fd847530a8eec57 (patch)
tree021e43cfdabe1958e9c850b4136d76b2fe33eb1a /pkg
parent0c21917595e4fffa8d43da4d36ce0310a73da78f (diff)
flatpak: fix access to gvfs mounted filesystems
An additional access permission is needed to access the gvfs mount point. For the record, the "Right" (TM) way to do this is to use GtkFileChooserNative dialog which will automatically use the flatpak file chooser portal to access files. But this portal currently is missing features that would cripple HandBrake. These features are: 1. Folder selection. We require this for destination selection and for batch processing. 2. Set current highlighted file in file chooser browser. Without this, a user processing a series of videos that are all in the same foder has to navigate from the default "Recent files" selection to the folder where their files are for each file. Also note that GtkFileChooserNative transparently falls back to a regular file chooser when the action requested is not supported. So sometimes the user would have access to remote filesystems, and sometimes not with no obvious reason for the difference. Not a good user experience.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/linux/flatpak/fr.handbrake.ghb.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json
index c723a9f5f..2aa198d13 100644
--- a/pkg/linux/flatpak/fr.handbrake.ghb.json
+++ b/pkg/linux/flatpak/fr.handbrake.ghb.json
@@ -8,6 +8,7 @@
"--share=ipc", "--socket=x11",
"--socket=wayland",
"--filesystem=xdg-run/dconf",
+ "--filesystem=xdg-run/gvfs",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
"--talk-name=org.gtk.vfs.*",