# Installing Lutris and Wine Depencendies takes over File Associations

**URL:** <https://forum.endeavouros.com/t/installing-lutris-and-wine-depencendies-takes-over-file-associations/34721>\
**Category:** Applications\
**Created:** [December 10, 2022, 4:05pm UTC](https://forum.endeavouros.com/t/installing-lutris-and-wine-depencendies-takes-over-file-associations/34721 "2022-12-10T16:05:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheDarkWizard](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thedarkwizard/32/66575_2.png) [@TheDarkWizard](https://forum.endeavouros.com/u/TheDarkWizard)\
**Post date:** [December 10, 2022, 4:05pm UTC](https://forum.endeavouros.com/t/installing-lutris-and-wine-depencendies-takes-over-file-associations/34721/1 "2022-12-10T16:05:32Z")

</div>

Hey All,

When I install Lutris and by extension wine on a clean installation of EOS, I noticed that if I try to open an image for example, it will open with wine browser, same with a text file and I have to usually fix this by right-clicking on files and associating that file type back with its program.

I noticed Fedora did not have this issue on Lutris before I moved to EOS full time. Does anyone have any ideas why this happens?

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [December 10, 2022, 4:28pm UTC](https://forum.endeavouros.com/t/installing-lutris-and-wine-depencendies-takes-over-file-associations/34721/2 "2022-12-10T16:28:42Z")

</div>

Yes, this is due to stupid wine auto-mime-associations triggered by creating prefix / installing / running any software in it.

Read on [portable wineprefixes](https://forum.endeavouros.com/t/linux-gaming-guide/7339#heading--linux-gaming-wine) here, you’ll find some scripts examples to get a grip of how basic wine works

To avoid this:

1. 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](https://wiki.archlinux.org/title/Wine#Removing_menu_entries) 😆) and make sure you don’t have files associated with `wine` anymore.

2. Basically to avoid this in future you’ll need to always run any wine / winetricks commands with that prefix:

Lutris itself shouldn’t create those as far as i remember, only `wine` / `winetricks` directly.

---

<div class="post-metadata">

**Author:** ![mrvictory](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/7993a0/32.png) [@mrvictory](https://forum.endeavouros.com/u/mrvictory)\
**Post date:** [December 10, 2022, 5:16pm UTC](https://forum.endeavouros.com/t/installing-lutris-and-wine-depencendies-takes-over-file-associations/34721/3 "2022-12-10T17:16:48Z")

</div>

To make your apps default again, you can reinstall your applications.

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [December 10, 2022, 5:17pm UTC](https://forum.endeavouros.com/t/installing-lutris-and-wine-depencendies-takes-over-file-associations/34721/4 "2022-12-10T17:17:18Z")

</div>

I think that just removing wine associations should bring it back
