Linux - move to trash

Bugs which have been reproduced by a second user or the developer

Moderator: Dreamer

Post Reply
pim
Posts: 24
Joined: Sun Nov 06, 2011 12:11 pm

Linux - move to trash

Post by pim » Sat Sep 29, 2018 6:30 pm

Hello there.
What command is used in XnViewMP to move files to trash under Linux?
I'm asking because after fresh install the trash in XnView stopped working for me. Terminal output has shown nothing noticable.
Version 0.92 x64 (Sep 29 2018) - un*x

User avatar
xnview
Author of XnView
Posts: 30122
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - move to trash

Post by xnview » Mon Oct 08, 2018 8:21 am

i use gvfs-trash
Pierre.

pim
Posts: 24
Joined: Sun Nov 06, 2011 12:11 pm

Re: Linux - move to trash

Post by pim » Sun Oct 14, 2018 4:25 pm

Well, gvfs-trash has been deprecated and is beeing replaced by:

Code: Select all

gio trash
However some conservative distros may still use the former command so it might be worth considering to use both commands in parallel at least for some time.

Thank you for support of Linux, Pierre and have a nice day.
Version 0.92 x64 (Sep 29 2018) - un*x

User avatar
pangwolin
Posts: 53
Joined: Sun Sep 25, 2016 7:53 pm

Re: Linux - move to trash

Post by pangwolin » Mon Nov 12, 2018 12:37 am

Hello, I have the same issue here. My system doesn't have gvfs-trash anymore, only gio-trash.

Files are moved to trash correctly, but they have the date of deletion appended to the base name, before their extension, and moved to trash afterwards.

I had noticed an issue in 0.90 recently, where files where not moved to trash at all, instead some strange 0 byte files were created in the trash. The deletion confirmation dialog box didn't seem to work, and the original file was still in its original path.

After updating to 0.92, the files are moved to trash properly, but the original path is not properly saved, and this strange date is appended to the file name as I said earlier.

Pierre, is there any plan to move to gio-trash eventually? Thanks, keep up the good work. :)

User avatar
xnview
Author of XnView
Posts: 30122
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - move to trash

Post by xnview » Tue Nov 13, 2018 12:21 pm

pangwolin wrote:
Mon Nov 12, 2018 12:37 am
Pierre, is there any plan to move to gio-trash eventually? Thanks, keep up the good work. :)
yes it will be fixed
Pierre.

Post Reply