On Mon, 2009-05-25 at 09:46 -0700, John Jason Jordan wrote: > On Mon, 25 May 2009 09:23:35 -0700 > "Michael M. Moore" <[email protected]> dijo: > > > On Sun, 2009-05-24 at 18:27 -0700, John Jason Jordan wrote: > > > > > > The unanswered question is why emptying the Trash folder would delete > > > the contents of ~/.gtk-bookmarks. OK, deleting the Trash probably > > > deleted the whole file, which was then regenerated anew the next time I > > > opened Nautilus. But why would deleting the Trash delete a hidden file > > > in ~/? > > > > > > Gnome is a mysterious place. > > > > I can't fathom what happened, but I wonder if it has something to do > > with "Trash" moving from ~/.Trash to ~/.local/share/Trash. I'm not sure > > when that happened, but I do know it used to be a hidden directory under > > ~/ and now it isn't. Maybe upgrading from a previous version of GNOME, > > when "Trash" was in its old location, to the current version, with > > "Trash" in a different location, confused things. > > > > I'm also not really clear on when you say "deleting the Trash" you mean > > "emptying the Trash" or actually deleting the directory that contains > > "Trash" -- and if the latter, that begs the question, which directory > > did you delete, the old one (which may have still been in your home > > directory) or the new one, or both? > > By "deleting the trash" I meant opening the Trash folder, seeing that > there were 35 GB of unwanted files in it, selecting them all, and > deleting them. As far as I know I did not delete the folder itself.
I had forgotten that nautilus could be configured to delete files directly, without sending them to the Trash folder. I don't use nautilus much for actual file management, I mainly use it as a display tool, and only when I'm logged into GNOME proper. When I'm using a different window manager, I don't use nautilus at all. I never fiddled with that setting, so when I do delete a file from nautilus, it goes to the Trash. > Thanks for the information about the change to the location of the > Trash folder. I don't know if it is part of the problem, but it's good > to know. > > Another issue is that apparently I misunderstood the function of Trash. > I never really used it until recently. I have the option checked in > Nautilus to display a Delete that does not go to Trash, and that is > what I always use. Therefore, in years of using Ubuntu I never had > anything in Trash. But recently I was downloading stuff with > Transmission. After the download completed and I had seeded at least > twice what I downloaded I used Transmission to delete the file and the > torrent. It was Transmission that was moving stuff to the Trash. I would expect Transmission to follow your nautilus settings. I would think the "delete" function in Transmission would hand off the action to nautilus, which would then deal with the files according to your preferences. But then I looked at the [1] spec, and I see: "A 'home trash' directory SHOULD be automatically created for any new user. If this directory is needed for a trashing operation but does not exist, the implementation SHOULD automatically create it, without any warnings or delays." I guess, even if you're running Transmission under conditions where nothing else makes use of a Trash folder, Transmission would create a Trash folder and move any file you tell it to delete there. > What I failed to grasp is that files in Trash will not be overwritten > if you need the space. I always thought that files in Trash could be > automatically deleted if necessary, thus Trash is just for recovery of > immediate mistakes. I don't know where I came up with that notion, but > apparently it is wrong. It is now, but it wasn't always: "In early versions of the Macintosh Finder, Trash contents were listed in volatile memory. Files moved to the Trash would appear there only until the Finder session ended, then they would be automatically erased. When System 7 was released, the Trash became a folder that retained its contents until the user chose to empty the trash. "Recycle Bin first appeared in Windows 95. In this version, the original location record of the file is stored, but the folder itself didn't allow subdirectories. When a folder is deleted, its containing files are moved into the bin and mixed with other deleted files. The directory structure can only be restored if the batch of files are "undeleted". A revised Recycle Bin allows for subdirectory trees within the recycle bin." http://en.wikipedia.org/wiki/Recycle_bin_(computing) [1] http://www.ramendik.ru/docs/trashspec.html -- Michael M. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
