When I use a program with wine, and delete a file, using that program (say, a photo manager/editor) the file is deleted forever. Is there maybe some recycle bin, where wine stores such deleted files?
If this file is on the same filesystem as your home directory and the app uses SHFileOperation to delete it (most apps do it when dealing with user files) then the file will be sent to the Trash. If there is a confirmation dialog then you can know what will happen as like on Windows you wil be asked either if you want to sent the file to Trash or to delete it. The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash. The problem is that (at least the last time I checked) it is not supported by Gnome. To undelete a file you need to use e.g. KDE or simply manually copy the file from this directory.
mikolajz wrote:> If this file is on the same filesystem as your home directory and the app uses SHFileOperation to delete it (most apps do it when dealing with user files) then the file will be sent to the Trash. If there is a confirmation dialog then you can know what will happen as like on Windows you wil be asked either if you want to sent the file to Trash or to delete it. > > The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash. The problem is that (at least the last time I checked) it is not supported by Gnome. To undelete a file you need to use e.g. KDE or simply manually copy the file from this directory. > >Since this uses Operating System functionality, this should be work on a Mac. I will test this soon and if it does not work, I will file a bug if there is not one present. James
> > The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash. >This seems to work fine on my Ubuntu system. Too bad it is not supported by Gnome. But at least now I know where the files went and have a way to recover them, if needed. Thanks a lot! :D