You are not logged in.

#1 2017-03-01 09:31:33

vishal8492
Member
Registered: 2011-12-15
Posts: 19

Unable to open magnet links with xdg-open

I'm recently getting errors when opening magnet url with xdg-open , error is malformed url.
If I just copy/paste same url in Ktorrent everything works.

I would aprreciate any help.

Offline

#2 2017-03-01 10:01:44

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Unable to open magnet links with xdg-open

Check the defaults with

xdg-mime query default x-scheme-handler/magnet

you can edit .config/mimeapps.list if required, with entry like

x-scheme-handler/magnet=transmission.desktop

Offline

#3 2017-03-09 17:10:31

wolvieh
Member
From: Austria
Registered: 2008-04-01
Posts: 44

Re: Unable to open magnet links with xdg-open

I've got an issue with magnets under LXqt as well. When I'm clicking onto one in Chromium a new Window opens instead of qt-bittorrent.
xdg-mime query default x-scheme-handler/magnet
says
transmission-qt.desktop

Offline

#4 2017-03-11 03:54:29

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Unable to open magnet links with xdg-open

What is qt-bittorrent?

try "xdg-open <magnet-link>" , if it opens fine, you need to troubleshoot chromium.

Offline

#5 2017-03-12 03:35:24

c00ter
Member
From: Alaskan in Washington State
Registered: 2014-08-28
Posts: 393

Re: Unable to open magnet links with xdg-open

You might want to re-examine the application's name. AFAIK it is "qbittorrent" and no other.

Regards


UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Offline

#6 2017-03-12 03:45:32

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Unable to open magnet links with xdg-open

@wolvieh,
If you are using qtbittorrent qbittorrent (and not transmission-qt)  as c00ter suggested, you need to make appropriate changes to .config/mimeapps.list.

EDIT: spell correction

Last edited by Docbroke (2017-03-12 08:18:58)

Offline

#7 2017-03-12 03:53:59

c00ter
Member
From: Alaskan in Washington State
Registered: 2014-08-28
Posts: 393

Re: Unable to open magnet links with xdg-open

Plain old qbittorrent. No 't' after the 'q.' Spelling counts, or so the old lady told me in school. wink

Regards


UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Offline

#8 2017-03-13 16:31:22

wolvieh
Member
From: Austria
Registered: 2008-04-01
Posts: 44

Re: Unable to open magnet links with xdg-open

Oh, it's transmisson-qt, sorry.

Offline

#9 2017-06-04 17:35:52

vishal8492
Member
Registered: 2011-12-15
Posts: 19

Re: Unable to open magnet links with xdg-open

This is solved , there is some issue with new kde-open5 shipped with new plasma. XDG script tries to use this and falters.

For now , I just fallback to legacy version by changing script located below :

/usr/bin/xdg-open

Change in open_kde function()

Offline

Board footer

Powered by FluxBB