Heroic Launcher - Can't change gamescope options because the executable is in /usr/bin

Heroic Launcher recently added gamescope support, it is technically available in the path but it's not reachable because flatpak refuses to share that directory.

$ flatpak run --command=bash com.heroicgameslauncher.hgl
[📦 com.heroicgameslauncher.hgl zelaf]$ gamescope
bash: gamescope: command not found
[📦 com.heroicgameslauncher.hgl zelaf]$ 
image.png
Solution
Ah sweet, that for sure fixed it!

Run flatpak install gamescope
Select either user or system
Then select runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08
Was this page helpful?