Jump to content
Search

The new Ubuntu Wiki is live. Legacy content may be unavailable and page links may have changed. Read the announcement on Discourse.

Configure MangoHud in the Steam snap

From Ubuntu Wiki

MangoHud is an overlay tool for displaying performance metrics in-game.

It is bundled with the Steam snap and disabled by default.

Experimental

MangoHud support is experimental and will likely only work with OpenGL games. Please do not open issues relating solely to MangoHud compatibility.

Enable MangoHud

Right-click on the game title in your library and click on Properties.

In the General tab, add mangohud %command% to the launch options.

See Also

Normal usage in the MangoHud documentation.

Configure MangoHud

MangoHud can be configured directly via environment variables in the Steam launch options of your game, or via MangoHud’s dedicated config file.

Environment variable in launch options

To access a game’s launch options on Steam, right-click on the game title in your library and click on Properties. The launch options are in the General tab.

Add configuration options to the launch options by specifying the MANGOHUD_CONFIG environment variable.

For example:

MANGOHUD_CONFIG=time mangohud %command%

Configuration file

To use MangoHud’s config file:

  1. Run snap run --shell steam
  2. Make the MangoHud config directory: mkdir -p ~/.config/MangoHud
  3. Copy the default config file: cp $SNAP/usr/share/doc/mangohud/MangoHud.conf.example ~/.config/MangoHud/MangoHud.conf
  4. Edit ~/.config/MangoHud/MangoHud.conf to your liking
  5. Run MangoHud like usual

See Also

Configuration in the MangoHud documentation.