youwee icon indicating copy to clipboard operation
youwee copied to clipboard

Linux .deb: `youwee://` handler drops URL because desktop `Exec` is missing `%u`

Open palamars opened this issue 3 months ago • 2 comments

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, .deb installation
  • 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.

palamars avatar Aug 23 '26 05:08 palamars

I will consider it

vanloctech avatar Aug 23 '26 07:08 vanloctech

Fixed in v0.20.3

vanloctech avatar Aug 23 '26 10:08 vanloctech