[Bug 24390] New: Config files (mostly ~/.local/share) need a severe cleanup
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Sep 13 18:52:35 CDT 2010
Summary: Config files (mostly ~/.local/share) need a severe
AssignedTo: wine-bugs at winehq.org
ReportedBy: cousteaulecommandant at hotmail.com
Right now, removing a Wine install folder (a wineprefix) leaves a lot of config
files behind it (menu entries, mime types...) which can't be easily removed due
to its sparseness.
The most elegant solution would be to put all these files on a special folder
inside the wineprefix, and symlink the needed ones on the right config folder.
This way, removing a wineprefix would just result on some broken links, which
could be taken care of by a special script.
Additionally, winecfg should have options to not create them.
Some of those files/directories are:
3> ~/.local/share/applications/wine-extension-*.desktop and
~/.local/share/applications/wine-Programs-*.desktop (the latter is
5> ~/.local/share/icons/ (mostly all of them)
6> ~/.local/share/mime/application/x-wine-extension-*.xml and
(Some, but not all, of these entries are listed on
I don't know what most of them do, but:
(1) and (4) should be replaced by symlinks and put on the corresponding
(2) should contain one directory for wineprefix, which would be a symlink to
the actual directory. This would result on a separate "Programs" entry for each
wineprefix. (Instead of Applications > Wine > Programs > FooSoft > Run Foo, it
would be something like Applications > Wine > Foo prefix > FooSoft > Run Foo)
(3) What's this??
(5) should be on each wineprefix, with the corresponding .desktop file pointing
(6) should be replaced by symlinks, and, if possible, put them on a directory
and just symlink the directory. Or, in my opinion, could be totally removed
from Wine, Linux's mime type detection works fine, thanks.
There should be a script that rearranged all these files on the corresponding
wineprefixes. In order to do this, the `env WINEPREFIX="..."` string on
~/.local/share/applications/wine/.../*.desktop can be useful.
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs