xgd-open: qBittorrent & Deluge in competition

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
samiel60
Level 3
Level 3
Posts: 131
Joined: Thu Apr 13, 2017 1:03 pm

xgd-open: qBittorrent & Deluge in competition

Post by samiel60 » Wed Jul 18, 2018 9:51 pm

When i download a "magnet" file from Chrome (xdg-open),
sometimes it's opened by qBittorrent, other times by Deluge.
how is possible to set an unique program? From inside chrome?
I'm not able to produce a stable association, nor I find anything similar
in the mimetypes configuration files...

thanx
s

User avatar
trytip
Level 10
Level 10
Posts: 3138
Joined: Tue Jul 05, 2016 1:20 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by trytip » Wed Jul 18, 2018 10:34 pm

remove one client then open a torrent magnet in chrome. for a .torrent file you can just rightclick the .torrent/properties and open with whatever set it as default.

why are you having 2 torrent programs installed? it only cause issues like the one you have

or do what i do since firejail/chrome doesn't obey xdg-open anyway. if i download a .torrent i open qbittorrent then select the + for add torrent file. for magnet links i rightclick the magnet link/copy link location then in qbittorrent select add torrent link
Image

samiel60
Level 3
Level 3
Posts: 131
Joined: Thu Apr 13, 2017 1:03 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by samiel60 » Wed Jul 18, 2018 10:49 pm

ok thanx.
it's a dummy question, but better deluge or qbittorent?

gm10
Level 15
Level 15
Posts: 5727
Joined: Thu Jun 21, 2018 5:11 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by gm10 » Wed Jul 18, 2018 11:15 pm

samiel60 wrote:
Wed Jul 18, 2018 9:51 pm
When i download a "magnet" file from Chrome (xdg-open),
sometimes it's opened by qBittorrent, other times by Deluge.
how is possible to set an unique program? From inside chrome?
I'm not able to produce a stable association, nor I find anything similar
in the mimetypes configuration files...
open ~/.config/mimeapps.list in a text editor and in the [Default Applications] section either find or add the line x-scheme-handler/magnet= followed by the name of the .desktop file for program you want to associate it with. You might also want to define the handler for application/x-bittorrent.

samiel60
Level 3
Level 3
Posts: 131
Joined: Thu Apr 13, 2017 1:03 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by samiel60 » Thu Jul 19, 2018 8:04 am

@gm10
thanx, it works fine.
only a clarification:
what's the difference between
x-scheme-handler/magnet=x-scheme-handler/magnet=
and
application/x-bittorrent ?
thanx

gm10
Level 15
Level 15
Posts: 5727
Joined: Thu Jun 21, 2018 5:11 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by gm10 » Thu Jul 19, 2018 8:27 am

x-scheme-handler/magnet= defines the handler for magnet: links
application/x-bittorrent= defines the handler for .torrent files.

User avatar
trytip
Level 10
Level 10
Posts: 3138
Joined: Tue Jul 05, 2016 1:20 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by trytip » Thu Jul 19, 2018 9:13 am

no such thing as better or worse. pick one that you like stick with it and learn it's configurations and quirks if you do use firejail. i like qbittorrent because it gives me more privacy options. maybe tixati has more features, don't know i stuck with qbittorrent and don't need a new client. (although now i block upgrades and stay with qbittorrent 4.03, later versions seem to not obey speed limits , or could it be that libtorrent-rasterbar is not obeying, not sure)
if you don't know which one you like then, i guess this is your trial period.
Image

User avatar
MrGrimm
Level 5
Level 5
Posts: 563
Joined: Sun Nov 11, 2018 9:13 am
Location: Portland, Oregon Canada
Contact:

Re: xgd-open: qBittorrent & Deluge in competition

Post by MrGrimm » Wed Jan 02, 2019 10:17 am

gm10 wrote:
Wed Jul 18, 2018 11:15 pm
samiel60 wrote:
Wed Jul 18, 2018 9:51 pm
When i download a "magnet" file from Chrome (xdg-open),
sometimes it's opened by qBittorrent, other times by Deluge.
how is possible to set an unique program? From inside chrome?
I'm not able to produce a stable association, nor I find anything similar
in the mimetypes configuration files...
open ~/.config/mimeapps.list in a text editor and in the [Default Applications] section either find or add the line x-scheme-handler/magnet= followed by the name of the .desktop file for program you want to associate it with. You might also want to define the handler for application/x-bittorrent.
i need to fix mine and i need to know if this would be right before i actually edit any thing. thanks

Code: Select all

x-scheme-handler/magnet=deluge

Code: Select all

application/x-deluge
would simply uninstall konqueror, uninstall and reinstall deluge, but the damn thing says it will remove kde as well uninstalling konqueror.
Mint Cinnamon 19.1 64 Bit: Kernel 4.20.4

AMD FX 6300, Asus 970 Gaming/Aura, Samsung 120 Gig 850 EVO, 16 Gig DDR3,
USB 3.0 Card, AOC 29" Ultra Wide At 2560x1080.
SATA 500 & 500 Gig Hitachi drives, USB 3.0 1 TB WD & 2 TB Seagate

User avatar
trytip
Level 10
Level 10
Posts: 3138
Joined: Tue Jul 05, 2016 1:20 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by trytip » Wed Jan 02, 2019 11:24 am

just backup or compress your .config/mimeapps.list
[Default Applications]
application/x-ms-dos-executable=wine.desktop
application/x-bittorrent=deluge.desktop
x-scheme-handler/http=google-chrome.desktop
x-scheme-handler/https=google-chrome.desktop
x-scheme-handler/magnet=deluge.desktop
if you don't use the .desktop extension then the /usr/bin/deluge executable will start which is not a big deal unless you use deluge with firejail. you want the protocol to be called from the .desktop entry
Image

User avatar
MrGrimm
Level 5
Level 5
Posts: 563
Joined: Sun Nov 11, 2018 9:13 am
Location: Portland, Oregon Canada
Contact:

Re: xgd-open: qBittorrent & Deluge in competition

Post by MrGrimm » Wed Jan 02, 2019 11:37 am

no no sandbox or firefox. i'm way too careful to need a sandbox. thanks for the info, not sure what you mean by .desktop. there is a lot under the hood i still have no idea about.
Mint Cinnamon 19.1 64 Bit: Kernel 4.20.4

AMD FX 6300, Asus 970 Gaming/Aura, Samsung 120 Gig 850 EVO, 16 Gig DDR3,
USB 3.0 Card, AOC 29" Ultra Wide At 2560x1080.
SATA 500 & 500 Gig Hitachi drives, USB 3.0 1 TB WD & 2 TB Seagate

User avatar
trytip
Level 10
Level 10
Posts: 3138
Joined: Tue Jul 05, 2016 1:20 pm

Re: xgd-open: qBittorrent & Deluge in competition

Post by trytip » Wed Jan 02, 2019 11:48 am

i see everything in the mimelist ending with the .desktop extension so i assume these are the correct values pasted in the very first section [Default Applications]

Code: Select all

application/x-bittorrent=deluge.desktop
x-scheme-handler/magnet=deluge.desktop
Image

User avatar
MrGrimm
Level 5
Level 5
Posts: 563
Joined: Sun Nov 11, 2018 9:13 am
Location: Portland, Oregon Canada
Contact:

Re: xgd-open: qBittorrent & Deluge in competition

Post by MrGrimm » Wed Jan 02, 2019 11:51 am

trytip wrote:
Wed Jan 02, 2019 11:48 am
i see everything in the mimelist ending with the .desktop extension so i assume these are the correct values pasted in the very first section [Default Applications]

Code: Select all

application/x-bittorrent=deluge.desktop
x-scheme-handler/magnet=deluge.desktop
ah ok i got ya now. thanks for clarifying that, much appreciated.
Mint Cinnamon 19.1 64 Bit: Kernel 4.20.4

AMD FX 6300, Asus 970 Gaming/Aura, Samsung 120 Gig 850 EVO, 16 Gig DDR3,
USB 3.0 Card, AOC 29" Ultra Wide At 2560x1080.
SATA 500 & 500 Gig Hitachi drives, USB 3.0 1 TB WD & 2 TB Seagate

Post Reply

Return to “Software & Applications”