external media / flatpakrc

Robert McQueen rob at endlessm.com
Thu Feb 16 10:49:50 UTC 2017


We've got some reports from users that eg they can't play movies in VLC 
which are stored on an external HDD. As this is a binary we're 
downloading, it's not patched to support flatpak and the document 
portal, so we've added --filesystem=home. However this means /run/media 
isn't accessible. Do we want --filesystem=media which maps in 
/run/media/youruser as well?

Similarly / relatedly, I've personally got some data folders mounted on 
my system (/mnt/sd) which aren't in the "usual" place - and symlinks 
from eg ~/Pictures to locations on that external drive. This is probably 
not a hugely uncommon set-up - thinking of people with large data drives 
mounted at /data, Windows dual boot systems in /mnt/c, etc.

This is totally system-specific, and not knowable in advance by the 
flatpak/apps themselves - so even if the app maintainer enabled home, 
media, etc - it would not handle this case. Is it worth us considering 
some kind of flatpakrc file which allows the user to feed in additional 
command line arguments? Such as:

[run]
filesystem=/mnt/sd:ro

Cheers,
Rob

........................................................................

Robert McQueen  |  +1.415.413.4159  |  Endless <http://endlessm.com/>



More information about the xdg-app mailing list