chmln / handlr

A better xdg-utils
MIT License
609 stars 24 forks source link

handlr open "https://google.com" causes flatpak firefox to try to open "file://$(pwd)/%u" #1

Closed TiZ-HugLife closed 4 years ago

TiZ-HugLife commented 4 years ago

Hiya. Got Firefox installed as a flatpak, and when trying to use this nifty-looking utility to open a URL, it does correctly open Firefox, but it tries to load the page "file://$(pwd)/%u" and fails. Other applications open URLs in firefox just fine.

What do you need from me to diagnose and fix this?

EDIT: Here's the exec line of the desktop file:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox @@u %u @@

Is your utility not correctly handling the %u specifier?

chmln commented 4 years ago

Fixed in v0.2.1 out right now.

Thanks @TiZ-EX1 :)

TiZ-HugLife commented 4 years ago

Awesome, thank YOU! Confirmed the fix works. :)