#published
tl;dr - do what you want, I hold no liability for usage/misuage of this note.
Mangohud repository Freedesktop repository
-
Check the currently installed version of Steam (or other application) using
flatpak infothen install the SAME version of MangoHud as indicated in the Freedesktop runtime!flatpak install org.freedesktop.Platform.VulkanLayer.MangoHudCheck whether and where a specific version is installed
flatpak info --show-location org.freedesktop.Platform.VulkanLayer.MangoHud -
(optional) Create a personalised config file (Goverlay recommended!) in
~/.config/MangoHud/MangoHud.confand copy it over to~/.var/app/com.valvesoftware.Steam/config/MangoHud/MangoHud.confhttps://raw.githubusercontent.com/flightlessmango/MangoHud/master/data/MangoHud.conf -
Enable RO permissions (optional)
$XDG_CONFIG_HOMEstands for$HOME/.configflatpak override --user --filesystem=xdg-config/MangoHud:roYou can later remove it using e.g. Flatseal under "All Applications" and "Filesystem" tab.
-
(optional) To enable MangoHud for all Steam games (globally):
flatpak override --user --env=MANGOHUD=1 com.valvesoftware.Steam -
Run Steam games using e.g.
mangohud gamemoderun %command% -vulkan MANGOHUD=1 gamemoderun %command% -vulkan mangohud %command% -vulkan
