Recycle bin?
Recycle bin?
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.
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.
Recycle bin?
mikolajz wrote:
Mac. I will test this soon and if it does not work, I will file a bug
if there is not one present.
James
Since this uses Operating System functionality, this should be work on aIf 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.
Mac. I will test this soon and if it does not work, I will file a bug
if there is not one present.
James
Recycle bin?
On Wed, Feb 27, 2008 at 6:37 AM, James McKenzie
<[email protected]> wrote:
freedesktop.org trash spec.
Oh, wait Yeah, on a mac we should use the Mac trash mechanism
if we don't already...
<[email protected]> wrote:
Yeah, let's file a bug against Mac OS X for not using theSince 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.
freedesktop.org trash spec.
Oh, wait Yeah, on a mac we should use the Mac trash mechanism
if we don't already...
Recycle bin?
Dan Kegel wrote:
not show in the trash. Is this expected?
James
Ok. I'll try it right now. Winefile deleted the test file and it didOn Wed, Feb 27, 2008 at 6:37 AM, James McKenzie
<[email protected]> wrote:
Yeah, let's file a bug against Mac OS X for not using theSince 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.
freedesktop.org trash spec.
Oh, wait Yeah, on a mac we should use the Mac trash mechanism
if we don't already...
not show in the trash. Is this expected?
James
Recycle bin?
On 2/27/08, James McKenzie <[email protected]> wrote:
I dunno. Probably. Go ahead a file that bug.Ok. I'll try it right now. Winefile deleted the test file and it did
not show in the trash. Is this expected?
Recycle bin?
Dan Kegel wrote:
Bug 11760 was created. Bug 5055 existed for Linux based PCs and the
work for it may or may not work on the Mac.
James McKenzie
Ok, Dan I will.On 2/27/08, James McKenzie <[email protected]> wrote:
I dunno. Probably. Go ahead a file that bug.Ok. I'll try it right now. Winefile deleted the test file and it did
not show in the trash. Is this expected?
Bug 11760 was created. Bug 5055 existed for Linux based PCs and the
work for it may or may not work on the Mac.
James McKenzie
Recycle bin?
mariourk wrote:
of files in this directory. However, the last file date was October 28
of last year, and I was not even using Wine at the time. The file I
deleted was not there.
James McKenzie
I'll have to add this to my bug report. I just looked and found a bunchThis 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!The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash.
of files in this directory. However, the last file date was October 28
of last year, and I was not even using Wine at the time. The file I
deleted was not there.
James McKenzie
Recycle bin?
mariourk wrote:
of files in this directory. However, the last file date was October 28
of last year, and I was not even using Wine at the time.
The file I deleted was not there that I was using for the Trash test on
my MacIntosh.
James McKenzie
I'll have to add this to my bug report. I just looked and found a bunchThis 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!The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash.
of files in this directory. However, the last file date was October 28
of last year, and I was not even using Wine at the time.
The file I deleted was not there that I was using for the Trash test on
my MacIntosh.
James McKenzie