[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
http://bugs.winehq.org/show_bug.cgi?id=24390
Summary: Config files (mostly ~/.local/share) need a severe
cleanup
Product: Wine
Version: 1.2
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
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:
1> ~/.config/menus/applications-merged/wine-*.menu
2> ~/.local/share/applications/wine/
3> ~/.local/share/applications/wine-extension-*.desktop and
~/.local/share/applications/wine-Programs-*.desktop (the latter is
locale-dependent)
4> ~/.local/share/desktop-directories/wine-*.directory
5> ~/.local/share/icons/ (mostly all of them)
6> ~/.local/share/mime/application/x-wine-extension-*.xml and
~/.local/share/mime/packages/x-wine-extension-*.xml
(Some, but not all, of these entries are listed on
http://wiki.winehq.org/FAQ#head-9893ae50079ca7a959258f0bc9a17aaf2e69b391)
I don't know what most of them do, but:
(1) and (4) should be replaced by symlinks and put on the corresponding
wineprefix.
(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
to them.
(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
mailing list