[Bug 10363] New: wineprefixcreate: user' s profile shell folders should symlink to $XDG_XXX_DIR

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 8 15:40:27 CST 2007


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 at winehq.org
        ReportedBy: scott at 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?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list