Questions tagged [trash]
The trash tag has no summary.
62 questions
0 votes
1 answer
105 views
Trash not found if deleting a file in a NTFS external hard drive. Debian 13 with gnome
This is the error when I delete a file in the file manager in GNOME: Error: Unable to move "/media/victor/Backup/harddrive/TEST" to the recycle bin. G_IO_ERROR_FAILED: Trash portal failed ...
0 votes
1 answer
103 views
How to restore the last trashed file using a non-interactive command?
Say I just moved a file to trash from a file manager or using a command-line implementation such as kioclient move my_file trash:/. Can I restore it with a single, non-interactive command? trash-cli ...
0 votes
1 answer
623 views
could not delete file in trash
I have a file named "1" maybe it was created by using the wrong command when using redirect. Such as: commond 2>&1 1>/dev/null When I try to empty the trash, the file named "...
1 vote
1 answer
118 views
Mutt: ask before deleting messages from Trash
I have defined in Mutt two "trash" macros -- one for the Trash folder (just mark as deleted and sync) and one for the remaining folders (save into Trash and sync): folder-hook . 'macro index ...
0 votes
1 answer
1k views
How lookup deletion date of files in Trash from command line
I want to restore I file I deleted accidentally. I cannot go to the trash/wastebasket folder and simply restore the file, because I've no idea what the file was. I deleted it by accidentally pressing ...
7 votes
1 answer
12k views
How does the trash directory work?
So, I am busy writing myself a program to move and restore items from my trash (recycle bin), currently I can move it to the trash, but if I try to restore it from the trash using a file manager, it ...
5 votes
1 answer
2k views
Is ~/.local/share/Trash/files used by GNOME only for deleted files and not by rm command?
I am using RHEL8, and I see the directory - ~/.local/share/Trash/files And there were so many files in it. Looking at the name and files present there it gave me an intuition that it is similar to ...
0 votes
0 answers
245 views
Trash can never shows as empty
On Linux Mint Cinnamon 19.1, the desktop has a trash can icon. It always shows the icon that indicates there is something in it. There isn't. I have tried to empty the trash from the desktop, I have ...