Edit: while waiting for your replies, my PAM lockout/timeout reset and I was able to try. It worked. 🤣

I am trying to open the cloud provider Internxt’s desktop app. I have Librewolf installed, which I’m sure is going to work as a substitute for Firefox. Can I

ln -s /usr/bin/librewolf /usr/bin/firefox  

to make their app use Librewolf instead, thinking it’s actually executing Firefox? If not, would an alias work?

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 hours ago

    Eh, i just symlink the executable to ~/.local/bin/xdg-web and set that in the Webbrowser shortcut. There’s a bunch of xdg- links now and i know with a ls -l what’s what.

    • printf("%s", name);@piefed.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      Oh, well… xD Maybe next time then. I guess the only difference in my case is that xdg still looks through all possible executables until encounteres Firefox? While your solution doesn’t have to run through them all, but immediately jumps to the browser of your choice?

      • MonkderVierte@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Exactly. I’ve found xdg’s script with a switch case cumbersone with my custom script (and ugly), while the other stuff is good enough for open-with. So i just “wire” the defaults, while keeping to a naming scheme.