8000 Flatpak version of mpv · Issue #35 · kljohann/mpv.el · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Flatpak version of mpv #35

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

Open
bmp opened this issue Jan 26, 2024 · 5 comments
Open

Flatpak version of mpv #35

bmp opened this issue Jan 26, 2024 · 5 comments

Comments

@bmp
Copy link
bmp commented Jan 26, 2024

As I am on an immutable distribution, I have mpv installed through flatpak. My mpv command is therefore flatpak run io.mpv.Mpv. Is there a place I could configure this to use the flatpak version of mpv?

@bmp
Copy link
Author
bmp commented Jan 27, 2024

I also have an alias in my .bashrc as alias mpv='flatpak run io.mpv.Mpv', but it doesn't work in mpv.el

@bmp
Copy link
Author
bmp commented Feb 4, 2024

Is anyone else facing this issue?

@aluaces
Copy link
aluaces commented Mar 11, 2024
< 9C5F /tr>

Did you try customizing the mpv-executable variable in emacs?

@bmp
Copy link
Author
bmp commented Mar 13, 2024

Yes, and it didn't help at all.

@aluaces
Copy link
aluaces commented Mar 13, 2024

I see. This is where it is used, so it expects a single executable name.

mpv.el/mpv.el

Line 128 in 2e0234b

(apply #'start-process "mpv-player" nil mpv-executable

Either you create an executable that calls flatpak, or you patch that mpv-start function to call flatpak and pass the rest as arguments: "run" "io.mpv.Mpv".

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

2 participants
0