You are not logged in.

#1 2021-05-06 18:43:37

anark10n
Member
Registered: 2012-10-13
Posts: 212

[Solved] Unable to exectue mpv from gmrun

Hey there. So as the title of the thread says, I'm unable to execute mpv from gmrun launcher. The command works when executing from terminal, and the video file is at the location, as it autocompletes as expected when typing it out in gmrun. Running it from the command line produces the following error:

gio: file:///home/user/mpv%20/home/user/videofile.mp4: Error when getting information for file “/home/user/mpv /home/user/videofile.mp4”: No such file or directory
Aborted (core dumped)

Anyone know why gmrun would be behaving this way when it didn't before?

Last edited by anark10n (2021-05-10 13:57:45)

Offline

#2 2021-05-06 19:53:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,527

Re: [Solved] Unable to exectue mpv from gmrun

It treats "mpv /home/user/videofile.mp4" not as a command and a parameter, but an approach to access a file "/home/user/mpv /home/user/videofile.mp4" - that obviously doesn't exist.
I've never used gmrun, but glimpsing at the code history, the fix to this bug could be the cause:
https://github.com/wdlkmpx/gmrun/pull/5

Since it depends on a bunch of environment variables, you could try to manipulate the behavior this way, then file a bug.

Offline

#3 2021-05-10 13:57:11

anark10n
Member
Registered: 2012-10-13
Posts: 212

Re: [Solved] Unable to exectue mpv from gmrun

Updated version fixes the issue.

Offline

Board footer

Powered by FluxBB