Closed NerosTie closed 11 months ago
I have this bug too. The reason is because of the code linked below.
globally set MANGOHUD_CONFIGFILE
is ignored because of the code.
syslinking XDG_CONFIG_HOME/MangoHud/MangoHud.conf
to my config file fixes the issue
syslinking
XDG_CONFIG_HOME/MangoHud/MangoHud.conf
to my config file fixes the issue
What exactly did you link from where to where? Cause just setting an explicit XDG_CONFIG_HOME
doesn’t work, and this issue is quite annoying given that it also doesn’t load vkBasalt configs.
working on trying to resolve the XDG_CONFIG_HOME overrides, I fixed it with nile so far, legendary is waiting on a PR
this should fix it for yall: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/3137
TYVM :+1:
syslinking
XDG_CONFIG_HOME/MangoHud/MangoHud.conf
to my config file fixes the issueWhat exactly did you link from where to where? Cause just setting an explicit
XDG_CONFIG_HOME
doesn’t work, and this issue is quite annoying given that it also doesn’t load vkBasalt configs.
In lieu of the fix being merged (much appreciated!), the exact symlink for MangoHUD is:
ln -s ~/.config/MangoHud ~/.config/heroic/legendaryConfig/
For vkBasalt, it would likely be:
ln -s ~/.config/vkBasalt ~/.config/heroic/legendaryConfig/
This is because XDG_CONFIG_HOME
is set to ~/.config/heroic/legendaryConfig
by Heroic during game runtime, at least on my system according to the logs.
This should be fixed now in heroic 2.10.0 since we don't use the XDG_CONFIG_HOME env anymore
Describe the bug
In the case where the user has "MANGOHUD=1" in /etc/environment or launch Heroic with "MANGOHUD=1 heroic", Heroic behaves like the option inside Heroic is set to 1 and uses its own config file. It's not an expected behavior.
In my case, I have "MANGOHUD=1" in /etc/environment to have Mangohud everywhere with my config file. If I run Heroic in this situation, when I launch a game Mangohud is here but not using my config file, it's a default config file instead.
This issue doesn't exist in Heroic 2.8.0.
Add logs
Steps to reproduce
Expected behavior
Heroic shouldn't bypass the user's config file for Mangohud when MANGOHUD=1
Screenshots
No response
Heroic Version
Latest Stable
System Information
Additional information
Only with games from the Epic Store, no issue with games from GOG.