Like the title says I am trying to understand how these things should work together. Part of my issue is I don’t have a good mental model on the Flatpak permissioning / sandbox model. My use case is running a game on Lutris, which is a Flatpack, and using my package install of Mangohud. I am also curious if I should using a Flatpak version of Mangohud instead of the package installed version, and understanding how I would set up Steam as a Flatpak in the future when I switch away from the packaged version.

Thanks for any helpful tips or links you can provide.

  • Chewy@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

    Flatpak apps don’t have access to your system packages, so you need to install mangohud as flatpak. Once it’s installed it’s available to Steam flatpak and can be enabled like system mangohud in system Steam.

    https://github.com/flightlessmango/MangoHud?tab=readme-ov-file#flatpak

    Edit: Switching from system Steam to flatpak Steam is simple and it’s always possible to switch between them. Just make sure to give flatpak Steam access to the existing SteamLibrary through flatseal.

    Personally I have my SteamLibrary at ~/Games/SteamLibrary and give flatpak Lutris/Steam access to ~/Games.

    • million@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 months ago

      Yeah chalk this up to me needing to read that manual.

      I took the instructions there and replaced the Steam flatpak with Lutris and it worked - though Mangohud is not reading my existing config even though it has access according to Flatseal.

      It’s weird to me that Flatpaks cans interact with other Flatpaks but not system packages. I would assume sandboxing would prevent both of those cases.