LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-05-2008, 11:06 AM   #1
rich16870
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Rep: Reputation: 0
Cannot empty Gnome desktop Trash folder


I run FC8 with the Gnome desktop. There are several folders in the Trash that I cannot delete, even though the Permissions say I own them (they originated in a Windows partition). There is no .Trash folder in my home directory. Can anyone give me a suggestion on how I can empty the Trash? I've already read the similar threads and the answers all go back to the ~/.Trash folder, which doesn't exist on my system.

Rich
 
Old 10-05-2008, 12:39 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
With trash do you mean on you´re desktop of Fedora ?
Where did the folders in trash come from Windows ?

Last edited by ronlau9; 10-05-2008 at 12:42 PM. Reason: save to soon
 
Old 10-05-2008, 12:51 PM   #3
rich16870
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
The Trash folder is on the Fedora Gnome desktop. The folders in Trash were discarded from a Windows XP partition on my system, which is mounted by Fedora.
 
Old 10-05-2008, 01:06 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
search for .trash

I've noticed that newer versions of Gnome put it in a new place and removed the upper case.
 
Old 10-05-2008, 01:20 PM   #5
rich16870
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
I've searched for .trash and .Trash in the filesystem, home directory and desktop without finding it. I don't know where the trash folder resides anymore.
 
Old 10-05-2008, 02:18 PM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
If I like to delete something from my Windows partition , I do it always
root no matter who own,s the file ,even if it is trash in my case of opensuse

Last edited by ronlau9; 10-05-2008 at 02:19 PM. Reason: add info
 
Old 10-05-2008, 02:30 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
On this Debian Lenny system. it's ~/.local/share/Trash/files/
Maybe it was just the dot they took away, not the upper case.

Gnome 2.22.3
 
Old 10-05-2008, 03:03 PM   #8
rich16870
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
I found a file called Trash in ~/.local/Share with a subfolder called "files", but it's empty. I even listed the contents as root. Apparently, it's not the same Trash folder I see on the desktop. Good suggestion, though; hopefully, I'm getting closer.

Rich
 
Old 10-05-2008, 03:27 PM   #9
rich16870
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Following up on rickh's suggestion, I searched in each of the "dot" files in my home directory. Under ~/.gnome/gnome-vhs is a file called .trash_entry_cache. When I opened that file, it indicated that the trash was stored on my external hard drive (where I store all my data) in a folder called /media/USBDISK/.Trash-(something). When I looked at the hidden folders in /media/USBDISK, I found several .Trash- folders, one of which is called .Trash-500. The files I was trying to delete were in there. So in a console window, I switched to root and did an rm -R -I for the each of the folders I wanted deleted. Success!!!
 
Old 10-06-2008, 05:12 AM   #10
Kingtiger01
Member
 
Registered: Nov 2006
Location: Watkins Glen, NY
Distribution: Ubuntu-8.04/Xebian
Posts: 56

Rep: Reputation: 16
just a suggestion, wouldnt it be much easier to just search for the folders INSIDE the trash bin... even if you can find youre trash folder by searching for the trash folder yourself, gnome search SHOULD be able to find the folders inside the trash, and then you can find there directory, then you should have the trash folder.

Just fish food for thought. Though i dont remember if in Gnome if there search still lists the original directory(Prior to deletion) during a search...(Switched to KDE4 recently)

if all else fails, the PATH from Nautilus, have trash return the files to the originating dir. and remove them from Terminal...
 
Old 10-26-2008, 09:33 AM   #11
bigpook
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
for whatever it is worth. On ubuntu, 8.04 a users Trash folder can be found here.

~/.local/share/Trash
 
Old 11-10-2008, 03:51 AM   #12
danirag
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Trash bin

Hi, I have more or less the same problem but in Suse 11 I can't find the path of the directory or of the files you were referring to. Under trash obviously I have just :///trash, isn't there a possibility to recover the actual position of the pointer?
Thanks

Last edited by danirag; 11-10-2008 at 03:53 AM.
 
Old 11-11-2008, 12:31 AM   #13
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by danirag View Post
Hi, I have more or less the same problem but in Suse 11 I can't find the path of the directory or of the files you were referring to. Under trash obviously I have just :///trash, isn't there a possibility to recover the actual position of the pointer?
Thanks
I think it is better to start a new thread to get a answer.
 
Old 11-27-2008, 12:08 AM   #14
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
~/.Trash
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open the trash folder and empty the trash in command line cmx08 Linux - Newbie 5 08-29-2008 09:15 AM
Evolution: Can't Empty Trash; Summary and Folder Mismatch snickdog Linux - Software 1 03-17-2007 02:00 PM
gnome trash cannot empty Schrambo Slackware 2 08-28-2004 10:29 AM
Evolution will not empty trash folder azebuski Linux - Software 0 05-25-2004 11:40 AM
empty desktop trash from console rastavideo Linux - Newbie 3 08-20-2003 11:55 AM


All times are GMT -5. The time now is 05:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration