flathub / org.qbittorrent.qBittorrent

https://flathub.org/apps/details/org.qbittorrent.qBittorrent
9 stars 11 forks source link

Magnet Link clicks on sites/downloaded Torrent files(on double-click) ... not triggering torrent add window !!! #3

Open aiamuzz opened 6 years ago

aiamuzz commented 6 years ago

Hi,

I have moved to a flatpak version of qBittorent ... ever since, the magnet links and torrent files aren't working ... ideally clicking a magnet link or double clicking a torrent file should add the downloads to qBittorent.

when one clicks on a magnet link or double click on a torrent file, the add download window needs to be triggered ... but it isn't happening ... i am not sure if its an issue with flatpak system or the qBittorrent flatpak version problem !

thanks.

aiamuzz commented 6 years ago

does it mean flatpak enviroment does not extend this qBittorent's basic feature ?

aiamuzz commented 6 years ago

reported in April ... not word yet ?

Shished commented 6 years ago

Works for me. Did you associated the app to open magnet links and torrent files?

Here's how make flatpakked qbittorrent to open magnet urls: xdg-settings set default-url-scheme-handler magnet org.qbittorrent.qBittorrent.desktop

And here's how to make flatpakked qbittorrent to open .torrent files: xdg-mime default org.qbittorrent.qBittorrent.desktop application/x-bittorrent

aiamuzz commented 6 years ago

Here's how make flatpakked qbittorrent to open magnet urls: xdg-settings set default-url-scheme-handler magnet org.qbittorrent.qBittorrent.desktop

And here's how to make flatpakked qbittorrent to open .torrent files: xdg-mime default org.qbittorrent.qBittorrent.desktop application/x-bittorrent

@Shished ... sorry didn't seem to work for me ...

the former command gave the error ... xdg-settings: unknown desktop environment

the latter command ran without error ... but it just wouldn't open the application when a downloaded .torrent file was double clicked.

Shished commented 6 years ago

What is your DE/WM?

aiamuzz commented 6 years ago

What is your DE/WM?

DDE ... Deepin Desktop Environment ...

the normal non-flatpak'd version of qBittorrent responds to magnet links and torrent files just fine ... its only the Flatpak'd version of the same does not function as its supposed to ...

Shished commented 6 years ago

run this command export DE=gnome and then launch 2 previous commands.

aiamuzz commented 6 years ago

export DE=gnome

what does this command do ... just spoof 'gnome' as my DE or it really switches to gnome ?

Shished commented 6 years ago

It just changes the env variable that gets read by xdg-open. I looked at similar bug reports and found that it might help.

aiamuzz commented 6 years ago

It just changes the env variable that get read by xdg-open. I looked at similar bug reports and found that it might help.

nope ... no luck ... same response even after the export command ...

eszlari commented 4 years ago

Works here (Kubuntu 20.04, Plasma 5.18.4, Firefox 75), must be a problem with Deepin.

LargePrime commented 2 years ago

I have the same problem as @aiamuzz qBittorrent flatpac used to work fine

OS is ClearLinux, DE is gnome.

xdg-settings set default-url-scheme-handler magnet and xdg-mime default org.qbittorrent.qBittorrent.desktop application/x-bittorrent

Have no errors and no other response.

Browser suggests opening with "system handler", and I cannot select the app proper. (browser is flathub firefox)

Any help/thoughts?

AlbertoFabbri93 commented 1 year ago

Works for me. Did you associated the app to open magnet links and torrent files?

Here's how make flatpakked qbittorrent to open magnet urls: xdg-settings set default-url-scheme-handler magnet org.qbittorrent.qBittorrent.desktop

And here's how to make flatpakked qbittorrent to open .torrent files: xdg-mime default org.qbittorrent.qBittorrent.desktop application/x-bittorrent

For me this works with flatpak chromium but not with flatpak firefox.

faelana commented 10 months ago

I have the same problem, it used to work normally but recently it doesnt anymore

AlbertoFabbri93 commented 5 months ago

Same here, it does not work anymore, not even with Chromium.

zefr0x commented 2 months ago

does it mean flatpak enviroment does not extend this qBittorent's basic feature ?

It works with other torrent clients on flatpak. It might be a problem in qBittorent or in the flatpak package it self or an integration problem with a flatpak portal.


To clarify the problem: I can open magnit links from the main system, but not form other flatpaks (like flatpak firefox).

zefr0x commented 2 months ago

I tested the beta flatpak and it just works.

So it must've been a problem with the runtime.

Isn't Qt6 stable yet?