Skip to main content
Topic: Wine caused hangover (Read 939 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Wine caused hangover

After installing wine, wine-mono, winetricks, wine_gecko and so on, to use it to run some Windows .exe (which it did) and then removing those packages again, in the XFCE desktop it's left the Wine apps still showing in the right click menus to open various file types, but they just result in a spinning busy sign. It left behind the .wine dir which might be desirable to keep any apps installed there, but also a load of files under .local. They don't seem to be in the file list for the packages so they must be generated on install somehow, but not removed on uninstall.

Re: Wine caused hangover

Reply #1
the uninstall command (I  believe so) removes only system files of sytem configs.
You need to clean your home directory.

Re: Wine caused hangover

Reply #2
OK, so that meant I needed to do this:
Code: [Select]
$ shopt -s globstar
$ ls -l ~/.local/**/*wine*
$ ls -lR ~/.local/**/*ms*
(check it's OK to delete)
$ rm -r ~/.local/**/*wine*
$ rm -r ~/.local/**/*ms*
$ shopt -u globstar
$ ls -lR ~/.local/share/icons/hicolor/*/apps/*
(all these were OK to delete for me... I hope!)
$ rm -r ~/.local/share/icons/hicolor/*/apps/*
$ update-desktop-database ~/.local/share/applications
$ update-mime-database ~/.local/share/mime
And to get rid of the ~/.wine dir if desired obviously:
$ rm -r ~/.wine
And I found how to stop this happening here:
https://wiki.winehq.org/FAQ#How_can_I_prevent_Wine_from_changing_the_filetype_associations_on_my_system_or_adding_unwanted_menu_entries.2Fdesktop_links.3F
So if you put WINEDLLOVERRIDES=winemenubuilder.exe=d in .bashrc before installing wine it could (hopefully) prevent it adding all that stuff to .local.