#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 info
then install the SAME version of MangoHud as indicated in the Freedesktop runtime!flatpak install org.freedesktop.Platform.VulkanLayer.MangoHud
Check 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.conf
and copy it over to~/.var/app/com.valvesoftware.Steam/config/MangoHud/MangoHud.conf
https://raw.githubusercontent.com/flightlessmango/MangoHud/master/data/MangoHud.conf
-
Enable RO permissions (optional)
$XDG_CONFIG_HOME
stands for$HOME/.config
flatpak override --user --filesystem=xdg-config/MangoHud:ro
You 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