Authenticating and xdg-open
See original GitHub issueDue to a bug in xdg-open
a registered protocol scheme like safe-alphachars01234
won’t be opened correctly due to the digits in there. https://bugs.freedesktop.org/show_bug.cgi?id=104973
Also, because the desktop entry files containing quoted values in the Exec
key — like Exec="/usr/bin/safe-browser" %u
— xdg-open
won’t be able to open the browser binary. (https://askubuntu.com/q/189822)
Also see this topic on SAFE Dev Forum about users encountering the issue: https://forum.safedev.org/t/app-webfetch-is-not-a-function-with-safe-browser-built-from-source/2301
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Login fails if xdg-open is installed but fails to open a web ...
Issue When running the stripe cli in an environment such as a Github or Visual Studio Codespace, the following can happen to cause...
Read more >trying to authenticate google sheets in R on Linux Ubuntu
"No method available for opening" - trying to authenticate google sheets in R on ... Press Esc/Ctrl + C to abort /usr/bin/xdg-open: 870: ......
Read more >xdg-open error with JDBC connection using externalbrower ...
This article has the steps needed to grant a JVM permission to open a browser window for external browser authentication with the Snowflake...
Read more >Command line open command doesn't exist, xdg-open doesn't ...
Trying to use the command line parameters to open a session, I've found 2 problems.1) The open command doesn't exist. Doing some research,...
Read more >Recommend xdg-utils package for authentication via web ...
`xdg-utils` contains the program `xdg-open` which openconnect can use to launch an external browser authentication for SSO.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As the issue is really with
xdg-utils
I wanted to mention that a fix has been committed a while ago (March 2019) by XDG: https://gitlab.freedesktop.org/xdg/xdg-utils/commit/bfcefa162b1dcd6d62e193019969ff2f5ff331cfIt’s now about waiting for them to release a new version of their packages containing the fix.
Edit: besides the other part of the issue where quotes in the
.desktop
file preventxdg-open
from correctly opening the browser.And after some more looking around I found the second part of our issue has already been reported to XDG: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/151
Unfortunately I also see that the project has no activity for the past four months and no release since May 2018.
And after even more digging I see that
electron-builder
has ‘fixed’ this since theirv21.0.1
release (2019 June 24). Which I gladly see is on that version already on thedev
branch. However, building and packaging thedev
version does still produce a quoted path…with auth moving out of the browser I’m closing this