• @d3Xt3rM
    link
    1
    edit-2
    3 months ago

    espanso

    I’m on Bazzite (similar to Bluefin) and I installed espanso via Nix. It was just one command to install it and one setcap to grant it permissions. The good thing about using Nix instead of Distrobox or Flatpak is that you don’t run into annoying sandbox limitations, since these binaries live on your real filesystem and can access all system resources.

    The key thing to make it work is that the setcap command needs to be run against the actual nix store executable and not the symlink in your home folder. Also, this is also why a Distrobox export of this would never work, because you’d be setcapping only the symlink which is useless.

    • trevor
      link
      fedilink
      English
      13 months ago

      That’s a brilliant idea! I don’t know why using Nix didn’t occur to me.

      What did you do to configure Nix on Bazzite (ujust nix, or something similar)? I’m willing to rebase just to try it, if necessary.