Yes, this is due to stupid wine auto-mime-associations triggered by creating prefix / installing / running any software in it.
Read on portable wineprefixes here, you’ll find some scripts examples to get a grip of how basic wine works
To avoid this:
-
Delete those wine-specific entries from
~/.config/autostart
and~/.config/mimeapps.list
and~/.local/share/applications/
(i think? it was so long i don’t even remember ) and make sure you don’t have files associated withwine
anymore. -
Basically to avoid this in future you’ll need to always run any wine / winetricks commands with that prefix:
env WINEDLLOVERRIDES="winemenubuilder.exe=d" wine some_command env WINEDLLOVERRIDES="winemenubuilder.exe=d" winetricks some_command
Lutris itself shouldn’t create those as far as i remember, only wine
/ winetricks
directly.