http://bugs.winehq.org/show_bug.cgi?id=10363
Summary: wineprefixcreate: user's profile shell folders should symlink to $XDG_XXX_DIR Product: Wine Version: 0.9.48. Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: scott@open-vote.org
xdg-users-dirs permits the usage of "well known" directories, for instance: $XDG_DOCUMENTS_DIR, $XDG_MUSIC_DIR, $XDG_PICTURES_DIR, $XDG_VIDEOS_DIR
For the time being wine creates 4 links for its Shell Folders ("My Documents","My Pictures","My Music","My video" ) directly to user home or in ~/My Documents if it exists.
ls -l ~/.wine/drive_c/windows/profiles/maz now: lrwxrwxrwx 1 maz maz 9 2007-10-11 10:31 My Documents -> /home/maz lrwxrwxrwx 1 maz maz 9 2007-10-11 10:31 My Music -> /home/maz lrwxrwxrwx 1 maz maz 9 2007-10-11 10:31 My Pictures -> /home/maz lrwxrwxrwx 1 maz maz 9 2007-10-11 10:31 My Video -> /home/maz
If wine would make use of $(XDG_CONFIG_HOME)/user-dirs.dirs (assuming it exists), this could become (for example):
lrwxrwxrwx 1 maz maz 19 2007-10-11 10:53 My Documents -> /home/maz/Documents lrwxrwxrwx 1 maz maz 15 2007-10-11 10:53 My Music -> /home/maz/Music lrwxrwxrwx 1 maz maz 18 2007-10-11 10:54 My Pictures -> /home/maz/Pictures lrwxrwxrwx 1 maz maz 16 2007-10-11 10:55 My Video -> /home/maz/Videos
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/151530
I believe this can be fixed with a simple change to wineprefixcreate. Am I right?