• d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    8 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@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 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.