Re: Wine caused hangover
Reply #2 –
OK, so that meant I needed to do this:
$ 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.