MangoHUD shows on Wayland Gnome 47+ when enabled in the global environments
If you are using Ubuntu 24.10 or something with Gnome 47 and above and for some reason your Files / Nautilus looks like this if you enable mangohud in a more global way:
The MangoHUD config has a parameter called blacklist
If you set blacklist=nautilus it will disable mangohud for the Files / Nautilus app. Values are comma separated and works for Google chrome and others.
This was becoming a headache for me until I learned about this one, so Flightless is the GOAT. Thank you.
I was trying to help with closing some open tickets here but found myself here. So how can this be turned to a "Help" option of some sort, or closed. I know because it is opened it is helping some people, but do not want to add burden to the already pile of work with the other open tickets. Apologies for that.
Can we compile a list of apps that this affects, blacklist those and we should be able to comfortably close this issue
Can we compile a list of apps that this affects, blacklist those and we should be able to comfortably close this issue
Am making it as we go. Give me about a week to two.
Here is the list based on some emulators that would show it plus nautilus
blacklist=nautilus,Ryujinx,Yuzu
There was Sober too but no longer shows mangohud so all good there.
blacklist=nautilus,Ryujinx,Yuzu
Yuzu does not display mangohud while configuring roms, or changing settings, but only during Vulkan gameplay - where in my opinion it makes perfect sense.
I agree with blacklisting GTK4 applications where mangohud would be unexpected. Why do you suggest blacklisting emulator showing manoghud during gameplay?
mangohud offers the option no_display (start hidden) and R_SHIFT+F12 (default binding, toggle hidden).
This covers the usecase of having mangohud always ready, but not clutter the screen by default.
blacklist=nautilus,Ryujinx,Yuzu
Yuzu does not display mangohud while configuring roms, or changing settings, but only during Vulkan gameplay - where in my opinion it makes perfect sense.
I agree with blacklisting GTK4 applications where mangohud would be unexpected. Why do you suggest blacklisting emulator showing manoghud during gameplay?
Same thing for emulators. For my kids it was unexpected too.
The unexpected part answera your question.
MangoHud is an OpenGL and Vulkan game overlay. When globally enabling it using MANGOHUD=1 it is expected to be shown for ~OpenGL~/Vulkan games started through Steam/Lutris/Yuzu/Ryujinx/Heroic/Native/...
If you intend the overlay only to be shown in Steam, using the mangohud command in the Launch parameter of a specific game or setting MANGOHUD=1 specifically for Steam is in my opinion the preferred way. As an alternative no_display + toggle is available.
Blacklisting emulators by default would keep users from seeing mangohud even if they explicitly invoked it for that emulator.
@Mershl MANGOHUD=1 will only globally enable all vulkan applications, without opengl
Okay. No big deal.
For the average Joe like me I made a small list of things to blacklist on a Gnome 47+ default environment, like Fedora 41 (except foliate and video-downloader).
blacklist=nautilus, ptyxis, gnome-text-editor, gnome-system-monitor, gnome-software, gnome-calculator, gnome-calendar, simple-scan, gnome-contacts, gnome-control-center, gnome-clocks, snapshot, gnome-maps, gnome-weather, baobab, loupe, gnome-tour, gnome-logs, gnome-characters, gnome-font-viewer, video-downloader, foliate, xdg-desktop-portal-gtk, xdg-desktop-portal-gnome, xdg-desktop-portal, xdg-permission-store, xdg-document-portal
Might be missing other software that also uses GTK4 with the vulkan renderer. Using goverlay overwrites this so keep this list handy on a separate txt. edit: this is wayland and gtk4 only.
@jr1991-g So for GTK4 using nautilus along does not help? I am asking because I do not see the mangohud on those other tools. I did see it once when I think selecting the Open With option.
I am experiencing this issue on Nobara 41 now that it has gnome 47 and it's an eyesore. Already implemented the list that @jr1991-g mentioned here but I still have some tools/apps where it shows like the tweaks panel.
@passionofcrisis either dont use global mangohud, or add no_display in your config (it will start mangohud hidden and you will need to press R_SHIFT+F12 to show it)
Should be mentioned this is wayland related. If you use X11, mangohud only shows for the game (Tested on Gnome 46, 47 and 48). A friend was reading the conversation here and he was not having the problem, then we noticed he had wayland disabled, hence why it only affects wayland if anyone read this.
Mission-Center is also affected and should be blacklisted. I think basically every application that is using GTK4 / Libadwaita as the GUI Toolkit.
blacklisted apps based on if they use GTK, so all GTK apps blacklisted. c7759acacc7fe5a15ce523da0f3f82891d5d7733 I want to know if there are apps that use GTK where we would want to show mangohud
Looks like if I open smplayer or mpv on X11 it also shows mangohud if that helps
Just informing on apps that happen to use Vulkan for their rendering.
Closing as solved or not needed anymore.