Request: Delete folders using recycle bin
Moderators: helmut, XnTriq, xnview
Request: Delete folders using recycle bin
Now we can check "use recycle bin" option in file operations settings to delete files to recycle bin. But for folders, they are permentently deleted directly.
I think this should be changed.
I'm using linux version.
I think this should be changed.
I'm using linux version.
Re: Request: Delete folders using recycle bin
Hello,rmtk wrote:Now we can check "use recycle bin" option in file operations settings to delete files to recycle bin. But for folders, they are permentently deleted directly.
I think this should be changed.
I'm using linux version.
Yes, ... an old "bug", it's a severe bug for me ... this is very dangerous if a lot of pictures were stored into this deleted folder.
see here:
http://newsgroup.xnview.com/viewtopic.p ... 05#p109705
XnViewMP Linux X64 - Debian - X64
Re: Request: Delete folders using recycle bin
On which distribution?
On ubuntu, files are moved in ~/.local/share/Trash/files
On ubuntu, files are moved in ~/.local/share/Trash/files
Pierre.
Re: Request: Delete folders using recycle bin
Hello Pierre,xnview wrote:On which distribution?
On ubuntu, files are moved in ~/.local/share/Trash/files
...Yes but you also have to keep the structure bellow for files into folders too. (actually it's ok only for file1.txt, file2.png, file n, etc..(the trash root directory) not yet for FOLDERS and files into FOLDERS.
... To reproduce, 1-) first copy/or/create a folder with some pictures insides ... 2-) delete this folder (the copy) within XnviewMP (here, for example from a 4images-folder thumbnail into the browser mode + key "Suppr" - or Del - confirm Yes ... then the folder and the files are permanently deleted directly).
XnViewMP 0.56 Linux X64 - Ubuntu 12.04 LTS - X64
Code: Select all
~/.local/share/Trash/files/
... file1.txt
... file2.png
... file n
... FOLDER1
... file3.jpg
... file4.gz
... FOLDER2
... file n
... FOLDER20
... file n
XnViewMP Linux X64 - Debian - X64
Re: Request: Delete folders using recycle bin
... It's a little bit better with MP-Linux-x64-0.60 for folders (folders not deleted directly) ... but now, I can not restore directly the files /or/ folders from the trash can, via the "restore button" ="Restaurer les éléments sélectionnés"
)
So a bug still there.
)

Code: Select all
Impossible de déterminer l'emplacement d'origine de « Copy of folder1 »
Impossible de restaurer l'élément depuis la corbeille
XnViewMP Linux X64 - Debian - X64
Re: Request: Delete folders using recycle bin
And works with files?oops66 wrote:... It's a little bit better with MP-Linux-x64-0.60 for folders (folders not deleted directly) ... but now, I can not restore directly the files /or/ folders from the trash can, via the "restore button" ="Restaurer les éléments sélectionnés"
)
So a bug still there.Code: Select all
Impossible de déterminer l'emplacement d'origine de « Copy of folder1 » Impossible de restaurer l'élément depuis la corbeille
Pierre.
Re: Request: Delete folders using recycle bin
No same warning message ...xnview wrote:...And works with files?


XnViewMP Linux X64 - Debian - X64
Re: Request: Delete folders using recycle bin
ok, i don't know where is stored the original pathnameoops66 wrote:No same warning message ...xnview wrote:...And works with files?... (but it's possible to restore the files (or folders + files) by hand
)

Pierre.
Re: Request: Delete folders using recycle bin
Do you have tryed "gvfs-trash" instead the "mv" or "rm" commands ?xnview wrote:ok, i don't know where is stored the original pathnameoops66 wrote:No same warning message ...xnview wrote:...And works with files?... (but it's possible to restore the files (or folders + files) by hand
)
Code: Select all
gvfs-trash file1.txt
gvfs-trash folder1
XnViewMP Linux X64 - Debian - X64
Re: Request: Delete folders using recycle bin
Do you know if it works on all system?oops66 wrote: Do you have tryed "gvfs-trash" instead the "mv" or "rm" commands ?Code: Select all
gvfs-trash file1.txt gvfs-trash folder1
Pierre.
Re: Request: Delete folders using recycle bin
...No, I do not know ... on Ubuntu yes... (...but I think in most linux distibutions)xnview wrote:Do you know if it works on all system?oops66 wrote: Do you have tryed "gvfs-trash" instead the "mv" or "rm" commands ?Code: Select all
gvfs-trash file1.txt gvfs-trash folder1
http://askubuntu.com/questions/3982/is- ... thing-else
.... The main advantage of gvfs-trash is that it's installed by default in Ubuntu.
XnViewMP Linux X64 - Debian - X64
Re: Request: Delete folders using recycle bin
Fixed for me with gvfs, with the XnViewMP x64 linux 0.61 version ... Thank you Pierre.
Also fixed with gvfs-mount
EX. Into the xnViewMP browser:
/home/user1/.gvfs/disque_dur_BOX_sur_192.168.1.1/dir01/pic01.jpg
or local hdd or partition:
//media/ntfs-data/0_test/pic01.jpg
Edit:
http://newsgroup.xnview.com/viewtopic.p ... 45#p117345
Also fixed with gvfs-mount
EX. Into the xnViewMP browser:
/home/user1/.gvfs/disque_dur_BOX_sur_192.168.1.1/dir01/pic01.jpg
or local hdd or partition:
//media/ntfs-data/0_test/pic01.jpg
Code: Select all
gvfs mount:
gvfs-mount -dm `readlink -f /dev/disk/by-label/ntfs-data`
umount:
gvfs-mount -u /media/ntfs-data # LABEL="ntfs-data"
http://newsgroup.xnview.com/viewtopic.p ... 45#p117345
XnViewMP Linux X64 - Debian - X64