Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux/Ubuntu] Can't pass any CLI arguments to flatpak #513

Closed
itsonlyMiRE opened this issue Mar 8, 2022 · 3 comments
Closed

[Linux/Ubuntu] Can't pass any CLI arguments to flatpak #513

itsonlyMiRE opened this issue Mar 8, 2022 · 3 comments
Assignees

Comments

@itsonlyMiRE
Copy link

itsonlyMiRE commented Mar 8, 2022

I'm on Ubuntu and running desmume with flatpak run org.desmume.DeSmuME. Trying to add any flags/arguments after this always results in Unknown option --[option here].

Also, when I try launching a game thru CLI with flatpak run org.desmume.DeSmuME "/path/to/nds/file.nds", the desmume window opens with a dialog box saying "Unable to load: /path/to/nds/file.nds".

Let me know if more info needed.

EDIT: launching from CLI worked after I built from source. Why is the flatpak version the publicly advertised Linux version if it doesn't work properly?

@rofl0r rofl0r changed the title [Linux/Ubuntu] Can't pass any CLI arguments, and can't launch .nds from CLI [Linux/Ubuntu] Can't pass any CLI arguments to flatpak Mar 8, 2022
@zeromus
Copy link
Contributor

zeromus commented Mar 8, 2022

Sounds like a question for whoever added flatpak scripts, @linkmauve

@BubbyNX
Copy link

BubbyNX commented Apr 18, 2022

I am also having this issue. The only workaround is opening DeSmuME, then going to File->Open and then manually finding the .nds but that starts to get tedious when I have to do it for every single game.

@intra0
Copy link
Contributor

intra0 commented Oct 5, 2024

found the solution to the.
in the flatpack finish-args options, --filesystem=host:ro needs to be added.
1 line fix. made a pr on the flathub repository to fix it.

this issue can be closed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants