samschott / maestral

Open-source Dropbox client for macOS and Linux
https://maestral.app
MIT License
3.12k stars 64 forks source link

Cannot get authorization link from KDE #838

Closed LorenzoBettini closed 8 months ago

LorenzoBettini commented 1 year ago

When I run Maestral GUI from KDE, when I click on the link "here" to get the authorization token, I get the KDE dialog asking me to choose the application to open the URL (this should not be needed since KDE already knows how to open a URL). Nothing happens, no matter what I select on that dialog, and the dialog keeps asking me the application to open the URL. I can only get the authorization link from the command line with maestral auth link and select the option "Print auth URL to console".

Is anyone else experiencing this?

Thanks in advance. Great program, by the way :)

samschott commented 1 year ago

That is indeed strange. Maestral pretty much just run xdg-open $URL in a subprocess. Can you check if this works when you run it manually from a terminal, for any URL?

If xdg-open is not available, it will use Python's webbrowser module which also aims to use the default web browser for the platform.

samschott commented 8 months ago

Closing due to missing follow up.