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! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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
- Founder of Baldur's Gate 3 developer blasts publisher greed
- Proton 9.0 (Beta16) brings more regression fixes, updated Steamworks SDK
- Windows compatibility layer Wine 9.5 released
- Backpack Battles has sold 500,000 copies in two weeks on Steam
- System76 release upgraded Lemur Pro laptop, plus a desktop sale now on
- > See more over 30 days here
-
Oh Snap! Canonical now doing manual reviews for new pac…
- pleasereadthemanual -
Take-Two Interactive buying Gearbox from Embracer, more…
- ToddL -
The Triple-i Initiative gaming showcase is coming April…
- ToddL -
Take-Two Interactive buying Gearbox from Embracer, more…
- Peak -
PUNKCAKE Délicieux just added Linux support to a whole…
- Pengling - > See more comments
Latest Forum Posts
- How to find out if a game is native for sure?
- CatKiller - Probably quite slow for the next 9 days
- redneckdrow - Logitech G29 steering wheel - Snowrunner support
- njasd2w - Weekend Players' Club 3/22/2024
- Pengling - Nintendo-style gaming, without Nintendo!
- Linux_Rocks - See more posts
View PC info
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
View PC info
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
Plus being sandboxed you can disable networking and such too.
View PC info
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.