[Bug 20888] Use XDG Base Directory Specification

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 1 09:20:50 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=20888


cristiklein+wine at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from cristiklein+wine at gmail.com  2009-12-01 09:20:50 ---
After a discussion on IRC we reached the following conclusions:
- .reg files also contain user data (e.g. what applications are installed)
- .reg files and dosdevices cannot be separated from drive_c, all three forming
a "wine image"
- ~/.wine can be moved (if it's really in the way of the user) using
$WINEPREFIX

= Main problem =
Wine cannot move to XDG, because it runs legacy applications inside it, which
create a mess. Even if wine would use an XDG directory (say $XDG_DATA_HOME)
there would be no way to guarantee that the applications inside it would put
data / configs / cache in the proper place. Unlike typical applications, wine
does not fully control the content of its folder.

= Solution =
Wine already maps as many folders as it can to XDG folders (e.g. Desktop, Music
etc.) and if proper places are found for other folders inside wine, it will
continue mapping them to their right place.

Right now, the XDG standard does not support a folder for "virtual images",
which is most likely where wine should be.

-- 
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