Linux .deb: `youwee://` handler drops URL because desktop `Exec` is missing `%u`
Problem
On Linux, the Firefox extension (v0.20.1) can launch Youwee, but Download now does not pass the YouTube URL/download request to the app.
The .deb installs /usr/share/applications/Youwee.desktop with:
Exec=youwee
MimeType=x-scheme-handler/youwee;
The MIME handler is registered correctly:
/usr/share/applications/mimeinfo.cache:
x-scheme-handler/youwee=Youwee.desktop;
So opening a youwee://... URL launches Youwee, but the URI itself is discarded because the desktop entry does not include a URL placeholder.
Fix / workaround
Changing the desktop entry to:
Exec=youwee %u
fixes the issue immediately. After updating the desktop database / MIME association, the Firefox extension launches Youwee and the download request is passed correctly.
Suggested fix
Please generate/package the Linux .desktop entry with %u (or %U, as appropriate) in Exec= whenever x-scheme-handler/youwee is declared.
Environment
- Linux,
.debinstallation - Firefox extension 0.20.1
- Firefox
This was reproducible with the packaged /usr/share/applications/Youwee.desktop; a user-local override containing Exec=youwee %u resolves it.
I will consider it
Fixed in v0.20.3