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

xdg-open magnet links opera 58 problem

  • Hi,
    I'm using opera 58.0.3135.90 with ubuntu 18.10. When i'm trying to open magnet links, it open pop up lunch xdg-open. But when i click to lunch it don't do a thing.
    In chrome it's work like it should.
    gio mime x-scheme-handler/magnet
    Default application for “x-scheme-handler/magnet”: qbittorrent.desktop
    Registered applications:
    qbittorrent.desktop
    Recommended applications:
    qbittorrent.desktop

    In /var/log/syslog i'm getting message:
    opera_opera.desktop[4320]: user-open error: Supplied URL scheme "magnet" is not allowed

  • What does

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

    return?

  • @jimunderscorep
    xdg-mime query default x-scheme-handler/magnet
    qbittorrent.desktop
    The problem is not in defaults. Chrome work fine with same xdg-open.

  • Are you running the snap version of opera?

  • @jimunderscorep
    Yes.

  • @jimunderscorep

    Update: I have removed the snap version and installed from http://deb.opera.com/opera/ stable repository. Everything is working now. I have copied profile from snap version. So it seems like problem was in snap version of opera.

    jimunderscorep thank you.

  • That's what I was about to say. Snap apps, in general, have restrictions on what they can and can not access from the main os. As it seems, by default, the snap opera can not access the association for the magnet:// links.

Log in to reply