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

gmrun treats command as filepath to a location which doesn't exist #10

Closed
anark10n opened this issue May 7, 2021 · 3 comments
Closed

Comments

@anark10n
Copy link

anark10n commented May 7, 2021

Hey there. So i've encountered a bit of an issue with gmrun executing mpv on arch linux(5.11.16). It produces the following error when trying to open a file:

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)

The same command executes as expected from the terminal, but not from the launcher. It never behaved this way before, and it only seems to be for mpv, every other command with a file location parameter executes as expected.

@anark10n anark10n changed the title gmrun treats command as filepath to a location that doesn't exist gmrun treats command as filepath to a location which doesn't exist May 7, 2021
@wdlkmpx
Copy link
Owner

wdlkmpx commented May 7, 2021

Thanks for reporting the bug. A segfault happens here.

mpv /path/to/file.ext is identified as a file, and single quotes are added around it, the result is something like this:
xdg-open 'mpv /path/to/file.ext'

The app has 2 methods to detect extension handler: glib2 and gmrunrc, well the code that uses the custom gmrun ext handlers has a bug.

Commit b3f9eed should fix the issue

@wdlkmpx
Copy link
Owner

wdlkmpx commented May 8, 2021

I released a new version, if you haven't tested the fix yet, you might want to Flag the Package Out-of-Date
https://archlinux.org/packages/community/x86_64/gmrun/

update the package and then confirm if the issue has been fixed for you..

@anark10n
Copy link
Author

issue has been fixed, thank you

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