DoomRunner icon indicating copy to clipboard operation
DoomRunner copied to clipboard

[Linux] Program isn't recognizing subdirectories of ~/home/[user]

Open ProfBV opened this issue 1 year ago • 1 comments

Hi,

I'm trying to add a new engine (Woof!) that's located in ~/home/[user]/AppImages. When I open the initial setup window and try to navigate to the directory to add the engine, ~/home/[user] doesn't show any subdirectories in the file browser.

When checking the option to show hidden files, I can only see hidden directories containing files for DoomRunner, Flatpak, and GZDoom (my other engine). How should permissions be set so that all the subdirectories are shown?

ProfBV avatar Aug 22 '24 21:08 ProfBV

Turn on "Use absolute paths". Also, if you're using the Flatpak, give it access to your filesystem with a command I forgot or using FlatSeal.

yum13241 avatar Sep 02 '24 17:09 yum13241

Hi. That seems to be a problem with Flatpak. If you run any application via Flatpak, it does not have permissions to access any other files outside of its sandbox directory by default. You must somehow add this permission to DoomRunner. Maybe @mbugni knows more?

Youda008 avatar Nov 17 '24 22:11 Youda008

Hi @ProfBV , first, please take a look at this README. The section advanced usage should help you to setup an engine outside the sandbox.

Then, if you want to allow access files in your home directory, you can use the following command:

flatpak --user override io.github.Youda008.DoomRunner --filesystem=home 

The --filesystem option allows you to select a more specific folder, or restrict access (eg read-only), see filesystem access.

mbugni avatar Nov 18 '24 22:11 mbugni

Thank you guys, this solution worked for me with the issue I describe in #189.

msmigiel avatar Nov 30 '24 16:11 msmigiel