mpv.el
mpv.el copied to clipboard
Flatpak version of mpv
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?
I also have an alias in my .bashrc as alias mpv='flatpak run io.mpv.Mpv'
, but it doesn't work in mpv.el
Is anyone else facing this issue?
Did you try customizing the mpv-executable
variable in emacs?
Yes, and it didn't help at all.
I see. This is where it is used, so it expects a single executable name.
https://github.com/kljohann/mpv.el/blob/2e0234bc21a3dcdf12d94d3285475e7f6769d3e8/mpv.el#L128
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"
.