Nazgulled Posted May 10, 2004 Report Share Posted May 10, 2004 check the screenshot... what must I do to empty it? [moved from Installing Mandriva by spinynorman] Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted May 10, 2004 Report Share Posted May 10, 2004 Did you delete something as root? issue this command in a console as root: rm -rf /home/user/.Trash/ Sub your username in where it ways user, and make sure the T in .Trash is capitalized. Quote Link to comment Share on other sites More sharing options...
Nazgulled Posted May 10, 2004 Author Report Share Posted May 10, 2004 I think I deleted something as root in a console, but does that matter? that goes to the trash bin also? I just followed the instructions on the INSTALL file and it said to delete something and 'make install' as root, thats the only thing I did.... I'll test that tomorrow, i'm in windows now and I must go to bed :P thanks a lot, i'll report back when I try it ;) Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted May 10, 2004 Report Share Posted May 10, 2004 Removing something as root isn't a big deal. I'm not sure if doing it in a console will move it to the trash bin or not. Doesn't matter either way. The command I gave you should work out just fine. Quote Link to comment Share on other sites More sharing options...
iphitus Posted May 10, 2004 Report Share Posted May 10, 2004 whatever you do, be careful what you rm -rf Dont ever ever ever ever ever, no matter what anyone! and i say anyone! says, do not: rm -rf / Unless of course you want to delete everything Quote Link to comment Share on other sites More sharing options...
Nazgulled Posted May 10, 2004 Author Report Share Posted May 10, 2004 (edited) I thin I did what you jsut told me not to lol.... my username in mandrake is "nazgulled" so I tried this: rm -rf /home/nazgulled/.Trash/ it didn't worked so I did this: rm -rf /home/nazgulled/Desktop/Trash/ and then the trahs folder was gone... I deleted a test file and a folder was created in the destkop saying trash and the command "empty trash bin" was on the right click so I think it's ok... but... the icons are not the same, it's a folder icon and doesn't change when it's full, how can I fix that? ps.: and just in case I need to use it again how can I delete the contents of the folder using the rm -rf and not the whole folder? ======== EDIT ========= forget it, just rebooted and the icons are back... but answer the p.s. if you please... thanks for all the help so far :) Edited May 10, 2004 by Nazgulled Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted May 10, 2004 Report Share Posted May 10, 2004 The command for deleting the contents of the folder, but not the folder itself should be rm -rf /home/user/desktop/Trash/* That should work. Quote Link to comment Share on other sites More sharing options...
tyme Posted May 10, 2004 Report Share Posted May 10, 2004 rm -rf /home/user/.Trash/ just because i feel like explaining, GNOME uses a .Trash directory where as KDE uses the /Desktop/Trash directory. that's why LZ's original instructions weren't quite right ;) anyways, carry on! Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted May 10, 2004 Report Share Posted May 10, 2004 atleast you delete the correct stuff... someone... longago... who shall remain nameless (cough) made a typo whilst as root and actually did... rm -Rf /home/me/ cause the autocomplete fooked :( - instead it should have been... rm -Rf /home/me/junk .... but heyho... lets just say... they learnt to respect the rm command... even when NOT as root.... now wheres that :dumbass icon? Quote Link to comment Share on other sites More sharing options...
Guest gman2 Posted November 28, 2007 Report Share Posted November 28, 2007 Wow, three and half years later and the problem still exists. I tried the KDE commands below and no go. I have one item in trash that just obsolutely will not be deleted. This is an example of the type of thing that will drive new Linux users crazy and turn people away. I have stuff in my trash and I can't simply empty liek I canin Windows? So for now I have no clue what to do, I guess I will keep the item in my trash. Quote Link to comment Share on other sites More sharing options...
tyme Posted November 28, 2007 Report Share Posted November 28, 2007 I have stuff in my trash and I can't simply empty liek I canin Windows?To be fair, I've had this exact same thing happen in Windows on more than one occasion (and, actually, I've never had it happen in Linux). So, it's not just a Linux issue. So for now I have no clue what to do, I guess I will keep the item in my trash.Did you make sure you were root when you tried to delete the file? Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted November 28, 2007 Report Share Posted November 28, 2007 Wow, three and half years later and the problem still exists........ This is an example of the type of thing that will drive new Linux users crazy and turn people away. I have stuff in my trash and I can't simply empty liek I canin Windows? So for now I have no clue what to do, I guess I will keep the item in my trash. If you are suggesting that this was a consistent problem of some kind, you have a rather odd concept of "problem." In the many years that I have used computers, unusual things happen all of the time. A problem in the computer world is something that happens repeatedly, not occasionally. For example, Vista's inability to run is a repeatable issue, making that entire os a problem. (Which is why any IT person with half a brain will not allow their clients to use Vista.) I think that an os that simply does not work is a bigger issue that will drive people away than an odd trash can problem, don't you? :D At any rate, if the command did not work, it is more likely you did something wrong. 90% of the problems I have experienced were of my own making. So, learn! Quote Link to comment Share on other sites More sharing options...
Greg2 Posted November 28, 2007 Report Share Posted November 28, 2007 I have one item in trash that just obsolutely will not be deleted. You've probably placed something in your trash that you don't have permission to delete. So as root do chmod 766 -R .local/share/Trash then delete it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.