Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Opera Linux Auto Start Magnet Links for Torrents

  • Have latest Opera browser and Ubuntu 18.04 and want to use qBittorrent or even Deluge to get torrents via magnet links...how do I set up? I try and get a box that pops up: xdg-open with 2 boxes for choices. Neither are very helpful. Any clues? Treat this as a request from a newbie to Linux. Thanks.

  • @magnusopus

    First, you would need to install either qBitTorrent or Deluge. Second, when those boxes pop up presenting you with choices, simply pick either qBitTorrent or Deluge as the program you wish for Opera to point to when downloading torrents.

    The program that you chose should then open and start downloading your torrent file.

  • And third (or zero, depending on how important it is for you), make sure you are NOT running the snap version of opera, because snap apps do not have access to the system's associations for protocols like magnet://, mailto://, tel:// and so on.

    If so, uninstall it and install the deb version of it.

  • @ctrlaltdel Thanks for responding. I have downloaded this program in both Windows 10 and Linux. The Windows version works as you describe, but the Linux version does not. I am not given a choice for the program in Linux when I try to use a magnet to download. I must be missing some step to connect qBittorrent with torrent downloading in Linux when a magnet is clicked. I am still looking everywhere for a solution.

  • Are you running the snap version of opera or not?

  • @magnusopus said in Opera Linux Auto Start Magnet Links for Torrents:

    @ctrlaltdel Thanks for responding. I have downloaded this program in both Windows 10 and Linux. The Windows version works as you describe, but the Linux version does not. I am not given a choice for the program in Linux when I try to use a magnet to download. I must be missing some step to connect qBittorrent with torrent downloading in Linux when a magnet is clicked. I am still looking everywhere for a solution.

    If the xdg-open box is appearing, as you said here:

    I try and get a box that pops up: xdg-open

    That is the box you want to click to activate and that should allow you to access your torrent app.

  • @ctrlaltdel I do, and it doesn't access the torrent. Box just goes away after clicking and no programs start.

  • @jimunderscorep Running the version that comes with Ubuntu 18.04 . Is this the snap version? Being new to Linux, I am not sure what you mean by deb version.

  • Opera does not come with ubuntu, software center (= an app store equivalent to google's play store) does and you install apps through it. The bad thing is that many of the apps it promotes come as snap apps, and I can explain later why I sad "bad".

    Long story short, remove the snap version of opera via the software center or like so
    sudo snap remove opera-stable
    from a terminal. Then go to opera's site, download the deb (just clicking "download" will get you the right package for your distro), find that deb on your downloads folder and install it by double clicking on it.

  • @jimunderscorep said in Opera Linux Auto Start Magnet Links for Torrents:

    because snap apps do not have access to the system's associations for protocols like magnet://, mailto://, tel:// and so on.

    It's not true. But magnet links is not allowed.

    allowedURLSchemes = []string{"http", "https", "mailto", "snap", "help"}

  • Thanks, I did not know that.
    (snap/appimage/flatpak hater here)

  • @jimunderscorep Will do. Thank you very much for the help. I didn't remember how it got there...so thought it came with it. Ubuntu frustrated me at first...so that may be where the confusion muddled my memory. Thanks again.

  • @jimunderscorep I tried the command and it says: snap "opera-stable" is not installed. That is funny, I have it installed so I wonder why it says it isn't there. Is there some association I need to do in order for it to recognize the program?

  • My bad then. It is just
    sudo snap remove opera

    I thought the snap versions would follow the naming of the deb ones, i.e "opera-stable" for the stable version, "opera-beta" for the beta version and "opera-developer" for the developer one.
    But, as it seems, it is just "opera" for the stable version. However, it is "opera-beta" for the beta one and "opera-developer" for the developer one.
    I should be reading snapcraft.io more carefully 😕

  • @jimunderscorep I again thank you for your help and patience. I really hate being such a newbie in Linux, but I guess it takes a bit of time to get the hang of... like everything else in life.

Log in to reply