LedgerHQ/ledger-live-desktop

Opening links like `View in explorer` doesn't work on distro-less Linux

CMCDragonkai opened this issue · 0 comments

Ledger Live Version and Operating System

  • tested on Ledger Live 2.40.2
  • Platform and version: Linux matrix-vostro-5402-1 5.10.106 #1-NixOS SMP Wed Mar 16 13:16:03 UTC 2022 x86_64 GNU/Linux

Expected behavior

When hitting links like View in explorer should open my local browser chromium-browser.desktop or use the $BROWSER environment variable.

Actual behavior

Clicking on the links doesn't do anything.


What does ledger-live-desktop use to figure out the default browser application? Is it using XDG? If so, I have my XDG default apps setup for:

x-scheme-handler/http=chromium-browser.desktop
x-scheme-handler/https=chromium-browser.desktop
»» ~
 ♖ xdg-mime query default x-scheme-handler/https                                pts/1 17:13:57
chromium-browser.desktop
»» ~
 ♖ xdg-mime query default x-scheme-handler/https                                pts/1 17:14:00
chromium-browser.desktop

And there's no problem with opening up links in other apps.