how to restore the trash
hi, I installed Fedora a few days ago, and I noticed that the trash icon is missing..
(after the installation I remember that I saw the trash icon, but after a couple of hour it's disappeared, I not remember something "special" that I did that can delete it)
explain in gif
http://i.imgur.com/fnN7EhT.gif
I mean - It's still exists via the files, (files explorer) but not via the search.. (show in gif)
but if i delete a file, he immediately deleted permanently!
how can I restore the trash icon?
I'll be glad for any help :)
I'm pretty sure I had a trash icon, but I may be wrong.. and I think that everything is good now, I don't know what i did, but I think that is ok now. Thanks for help.
Which version of Fedora did you install? On two computers I checked, typing
trash
in the overview screen shows the Trash icon to open in nautilus. Where are you deleting the files from? Is it somewhere in your home directory, external drive, or somewhere else? If you right-click a file, do you see a "move to trash" option in the menu?In a terminal try
touch testfile.txt
, thengvfs-trash testfile.txt
and see what happens.ok, that strange - for this file for example -
/Documents/testfile.txt
I have "move to tarsh" in right-click, andgvfs-trash /Documents/test1file.txt
works just fine, puts the file into the trash. but - for this file -/var/www/html/test1.php
, in right-click instead of "move to trash", I have "delete permanently"..And that's what i have in the Terminal:
[noam@localhost-localdomain html]$ gvfs-trash test1.php
Error trashing file: Unable to find or create trash directory
(if that matter, I have partition to the home ("/home") and partition to the root ("/"))
why it happening?
Your trash folder is in the /home partition and you can't move a file there from a different partition.
ohh That why.. Thanks!
And there is any way to make a trash folder for the /root partition? (like set path for custom trash folder, just for /root (for the partition or to "/" path (which does exactly the same thing)) So that if I try to delete file / folder inside the /root, so It's will be moved to a custom directory. (to one that actually exists)