leniviy
2011-Sep-03 12:14 UTC
[Wine] "My Documents" and other symlinks to home are not listed
Hi. My Documents, My Music, My Pictures, and My Videos aren't visible (but accessible) from C:\users\%USER% . "Desktop", however, is visible. This breaks precompiled samples from directx SDK 2004. I extracted them to My Documents/Downloads, and they can't find their resources. This also affects cmd.exe, explorer, total commander. Anyone else experience this? Code: [il at mar2 ~]$ ls -l /home/il/.winetest/drive_c/users/il total 44 drwxr-xr-x 2 il il 4096 Sep 3 14:15 Application Data drwxr-xr-x 2 il il 4096 Sep 3 14:15 Cookies lrwxrwxrwx 1 il il 16 Sep 3 14:15 Desktop -> /home/il/Desktop drwxr-xr-x 2 il il 4096 Sep 3 14:15 Favorites drwxr-xr-x 5 il il 4096 Sep 3 14:15 Local Settings Code: lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Documents -> /home/il lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Music -> /home/il lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Pictures -> /home/il lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Videos -> /home/il Code: drwxr-xr-x 2 il il 4096 Sep 3 14:15 NetHood drwxr-xr-x 2 il il 4096 Sep 3 14:15 PrintHood drwxr-xr-x 2 il il 4096 Sep 3 14:15 Recent drwxr-xr-x 2 il il 4096 Sep 3 14:15 SendTo drwxr-xr-x 3 il il 4096 Sep 3 14:15 Start Menu drwxr-xr-x 2 il il 4096 Sep 3 14:15 Temp drwxr-xr-x 2 il il 4096 Sep 3 14:15 Templates Code: [il at mar2 ~]$ echo $WINEPREFIX /home/il/.winetest [il at mar2 ~]$ wine cmd /c "dir" "C:\users\il" Volume in drive C is Volume Serial Number is 0000-0000 Directory of C:\users\il 9/3/2011 1:15 PM <DIR> . 9/3/2011 1:15 PM <DIR> .. 9/3/2011 1:15 PM <DIR> Application Data 9/3/2011 1:15 PM <DIR> Cookies 9/3/2011 12:26 PM <DIR> Desktop 9/3/2011 1:15 PM <DIR> Favorites 9/3/2011 1:15 PM <DIR> Local Settings 9/3/2011 1:15 PM <DIR> NetHood Code: 9/3/2011 1:15 PM <DIR> PrintHood 9/3/2011 1:15 PM <DIR> Recent 9/3/2011 1:15 PM <DIR> SendTo 9/3/2011 1:15 PM <DIR> Start Menu 9/3/2011 1:15 PM <DIR> Temp 9/3/2011 1:15 PM <DIR> Templates 0 files 0 bytes 14 directories 5,583,409,152 bytes free [il at mar2 ~]$
Sorry to say this but this is a Stiff briskets issue. Since> lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Documents -> /home/il > lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Music -> /home/il > lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Pictures -> /home/il > lrwxrwxrwx 1 il il 8 Sep 3 14:15 My Videos -> /home/ilAll point to the same location. Users home directory. Open up winecfg go to desktop integration change My Documents to point to like /home/il/Documents and it will magically appear. Or you might decide to give wine its own documents directory and again it will magically appear. When they are pointing to the generic user home directory they auto pull the disappearing act. Mostly to motivate people to configure them to point to your document store and so on. Yes you really don't want windows applications accessing the straight home directory if you can avoid it. Yes if you point Desktop to /home/il it will disappear from existence as well. lenivity the trick to non experienced basically. Its not that they are links that it special is the path the link is pointing to.
oiaohm wrote:> Might be worth a bug report to request ~/Documents as My Documents and so on. > > Since it does get away from some badly behaved open source program ported to windows that put there . directories in the My Documents directory. Not that you really should be running those programs in wine in the first place.its easy to call a home folder variable... but not every distro, or other OS uses the same folder names for those things... even if they worked it out for everything... a lot of people don;t even want them there and want to put them manually elsewhere. Why not just set winecfg how you want it and then your good to go?