diff options
author | John Stebbins <[email protected]> | 2019-01-05 08:56:39 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-01-05 10:08:29 -0700 |
commit | f79e9b262fcb67b1f0cb8356842af52b28fbfd53 (patch) | |
tree | b45bc4d93052628cf495577e272298fbc787d99c | |
parent | 1a96b122b0cb3615136e85be32fa12bada1d05ab (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.
(cherry picked from commit d4761a9f2f07fe02935089356fd847530a8eec57)
-rw-r--r-- | pkg/linux/flatpak/fr.handbrake.ghb.json | 1 |
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.*", |