0

Looking through my Wine's fake C: Drive, I see the files in my home directory (the files in my Desktop, Downloads, etc.) all copied in the C: Drive's home directory. Furthermore, if I make a new file, it automatically copies to here again. Is it necessary to have a duplicate of all folders in home directory in Wine? If not, is there a way to get rid of this feature?

3
  • 1
    Are you sure they aren't symlinks to those folders? – DisplayName Jan 16 '16 at 20:35
  • I did not check for that, how do I check if a folder is a symlink again? – Rohan Jan 16 '16 at 22:52
  • if you run ls -al you can see if it's one. – DisplayName Jan 16 '16 at 23:01
1

The default behaviour of Wine is to create a "Wine prefix" containing a virtual "drive C:" with links to ~/Desktop, ~/Documents, ~/Music etc. where Windows applications expect them. If you run

ls -l ~/.wine/drive_c/users/${USER}

you should see the symlinks involved.

This means any file you add to ~/Desktop also shows up in your Wine desktop. The files aren't duplicated, they're just visible in two places because of the symlinks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.