While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:


This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
Popular this week
Contact
Latest Comments
-
Atari are acquiring Night Dive Studios
- F.Ultra -
Canonical want help testing their Steam snap package fo…
- F.Ultra -
GNOME 44 is out now finally adding thumbnails to the fi…
- mattiasb -
Get a bunch of horror games in this latest game bundle
- StoneColdSpider -
Fanatical have another fantastic game bundle for Steam …
- Pengling - See more comments
Latest Forum Posts
One of my big pet peeves when it comes to Wine is how installing Windows software will also create application launcher entries.
If you set this environment variable, Wine will disable the "menu builder" that does this.
WINEDLLOVERRIDES=winemenubuilder.exe=d
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
You can set this in your environment variables, such as /home/user/.config/environment.d/envvars.conf, and also in Lutris. I set them in both just to be sure.
To set this in Lutris: Open Lutris, click on the "hamburger" menu in the top right then "Preferences". Click "Runners" and scroll down to Wine. Click the config icon to the left of the cardboard box icon, then scroll down to "DLL overrides". In "key", add an entry for "winemenubuilder.exe", in the box to the right enter "d". Remember to click "Save".
Here's a screenshot showing how it should look:
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
Setting that variable here will set it as default for every Wine game you add and install in Lutris.
Why?
If you're like me, you prefer to make entries for Windows software yourself, or not at all. It should also prevent Wine from creating entries for its implementation of notepad.exe and other apps, which has the added benefit of it not hijacking filetype associations.
I install all my Windows games in separate Wine prefixes, and I keep entries for all of them in Lutris. So I don't want them showing up in my application launcher, I launch Lutris, the game, and that will be that.
Was a nice little surprise to discover this could be disabled, so hopefully this helps someone else as well :)
Last edited by ridge on 18 March 2023 at 7:40 pm UTC
Same, I got pretty tired of that. I actually discovered this envvar while I was about to start writing a script that would nuke it for me on every boot :P
Glad it helped.
Last edited by ridge on 12 March 2023 at 8:53 pm UTC
View PC info
Plus being sandboxed you can disable networking and such too.
I never got that to work for some reason, I've set all my Wine prefixes that are managed by Lutris to be sandboxed, but they would still create application menu entries in my Kickoff menu (the default KDE application launcher that appears when you press the meta key).
Nonetheless also a good thing to keep in mind!
Last edited by ridge on 13 March 2023 at 12:07 pm UTC
View PC info
AH! No, that's what escaped me. I don't use Flatpaks or Snaps, so I don't have such fine-grained control. But that's a neat trick to keep in mind if I ever need it.