Can't empty trash [duplicate]












20















This question already has an answer here:




  • How can I empty the trash using terminal?

    5 answers




I visited a lot of forums but found no answer. I have 5 files in my trash bin and I can't delete them, at first after I clicked on the empty trash button it would freeze, now when I do that it just says "preparing" and displays an error while trying to delete files.



I tried deleting it via BleachBit but nothing, tried with terminal command sudo rm -Rf ~/.Trash/* it doesn't work either. I found out that one of my folders is immutable, I tried to disable that via terminal it didn't work, I can't even restore it, it freezes again.



I've been using Ubuntu 13.10 for few weeks and I am new to Linux. How can I solve this?










share|improve this question















marked as duplicate by Lucio, Eric Carvalho, belacqua, waltinator, nux May 20 '14 at 6:30


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    Isn't trash in ~/.local/share/Trash instead of ~./Trash? (~ represents the home directory by the way). So rm -rf ~/.local/share/Trash may work, but try not to remove anything important. If you are VERY sure you could run it as root, but then you would need to run sudo rm -rf /home/USERNAME/.local/share/Trash instead. Be careful with the -f option.
    – Wilf
    Nov 3 '13 at 14:48








  • 1




    @Lucio A new Q should get closed by Old Q as duplicate.
    – rɑːdʒɑ
    May 19 '14 at 14:42






  • 2




    @raaz that is a stupid rule
    – Lucio
    May 19 '14 at 16:18






  • 4




    @raaz there's no rule that states so. The question with better quality answers should be the master.
    – Braiam
    May 19 '14 at 18:19










  • @Braiam Look at the answers, they are same. you dont even look. bravo
    – rɑːdʒɑ
    May 20 '14 at 5:58
















20















This question already has an answer here:




  • How can I empty the trash using terminal?

    5 answers




I visited a lot of forums but found no answer. I have 5 files in my trash bin and I can't delete them, at first after I clicked on the empty trash button it would freeze, now when I do that it just says "preparing" and displays an error while trying to delete files.



I tried deleting it via BleachBit but nothing, tried with terminal command sudo rm -Rf ~/.Trash/* it doesn't work either. I found out that one of my folders is immutable, I tried to disable that via terminal it didn't work, I can't even restore it, it freezes again.



I've been using Ubuntu 13.10 for few weeks and I am new to Linux. How can I solve this?










share|improve this question















marked as duplicate by Lucio, Eric Carvalho, belacqua, waltinator, nux May 20 '14 at 6:30


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    Isn't trash in ~/.local/share/Trash instead of ~./Trash? (~ represents the home directory by the way). So rm -rf ~/.local/share/Trash may work, but try not to remove anything important. If you are VERY sure you could run it as root, but then you would need to run sudo rm -rf /home/USERNAME/.local/share/Trash instead. Be careful with the -f option.
    – Wilf
    Nov 3 '13 at 14:48








  • 1




    @Lucio A new Q should get closed by Old Q as duplicate.
    – rɑːdʒɑ
    May 19 '14 at 14:42






  • 2




    @raaz that is a stupid rule
    – Lucio
    May 19 '14 at 16:18






  • 4




    @raaz there's no rule that states so. The question with better quality answers should be the master.
    – Braiam
    May 19 '14 at 18:19










  • @Braiam Look at the answers, they are same. you dont even look. bravo
    – rɑːdʒɑ
    May 20 '14 at 5:58














20












20








20


13






This question already has an answer here:




  • How can I empty the trash using terminal?

    5 answers




I visited a lot of forums but found no answer. I have 5 files in my trash bin and I can't delete them, at first after I clicked on the empty trash button it would freeze, now when I do that it just says "preparing" and displays an error while trying to delete files.



I tried deleting it via BleachBit but nothing, tried with terminal command sudo rm -Rf ~/.Trash/* it doesn't work either. I found out that one of my folders is immutable, I tried to disable that via terminal it didn't work, I can't even restore it, it freezes again.



I've been using Ubuntu 13.10 for few weeks and I am new to Linux. How can I solve this?










share|improve this question
















This question already has an answer here:




  • How can I empty the trash using terminal?

    5 answers




I visited a lot of forums but found no answer. I have 5 files in my trash bin and I can't delete them, at first after I clicked on the empty trash button it would freeze, now when I do that it just says "preparing" and displays an error while trying to delete files.



I tried deleting it via BleachBit but nothing, tried with terminal command sudo rm -Rf ~/.Trash/* it doesn't work either. I found out that one of my folders is immutable, I tried to disable that via terminal it didn't work, I can't even restore it, it freezes again.



I've been using Ubuntu 13.10 for few weeks and I am new to Linux. How can I solve this?





This question already has an answer here:




  • How can I empty the trash using terminal?

    5 answers








trash gvfs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 20 '14 at 0:36









Seth

33.9k26110161




33.9k26110161










asked Nov 3 '13 at 14:39









Nikobitan

101113




101113




marked as duplicate by Lucio, Eric Carvalho, belacqua, waltinator, nux May 20 '14 at 6:30


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by Lucio, Eric Carvalho, belacqua, waltinator, nux May 20 '14 at 6:30


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    Isn't trash in ~/.local/share/Trash instead of ~./Trash? (~ represents the home directory by the way). So rm -rf ~/.local/share/Trash may work, but try not to remove anything important. If you are VERY sure you could run it as root, but then you would need to run sudo rm -rf /home/USERNAME/.local/share/Trash instead. Be careful with the -f option.
    – Wilf
    Nov 3 '13 at 14:48








  • 1




    @Lucio A new Q should get closed by Old Q as duplicate.
    – rɑːdʒɑ
    May 19 '14 at 14:42






  • 2




    @raaz that is a stupid rule
    – Lucio
    May 19 '14 at 16:18






  • 4




    @raaz there's no rule that states so. The question with better quality answers should be the master.
    – Braiam
    May 19 '14 at 18:19










  • @Braiam Look at the answers, they are same. you dont even look. bravo
    – rɑːdʒɑ
    May 20 '14 at 5:58














  • 1




    Isn't trash in ~/.local/share/Trash instead of ~./Trash? (~ represents the home directory by the way). So rm -rf ~/.local/share/Trash may work, but try not to remove anything important. If you are VERY sure you could run it as root, but then you would need to run sudo rm -rf /home/USERNAME/.local/share/Trash instead. Be careful with the -f option.
    – Wilf
    Nov 3 '13 at 14:48








  • 1




    @Lucio A new Q should get closed by Old Q as duplicate.
    – rɑːdʒɑ
    May 19 '14 at 14:42






  • 2




    @raaz that is a stupid rule
    – Lucio
    May 19 '14 at 16:18






  • 4




    @raaz there's no rule that states so. The question with better quality answers should be the master.
    – Braiam
    May 19 '14 at 18:19










  • @Braiam Look at the answers, they are same. you dont even look. bravo
    – rɑːdʒɑ
    May 20 '14 at 5:58








1




1




Isn't trash in ~/.local/share/Trash instead of ~./Trash? (~ represents the home directory by the way). So rm -rf ~/.local/share/Trash may work, but try not to remove anything important. If you are VERY sure you could run it as root, but then you would need to run sudo rm -rf /home/USERNAME/.local/share/Trash instead. Be careful with the -f option.
– Wilf
Nov 3 '13 at 14:48






Isn't trash in ~/.local/share/Trash instead of ~./Trash? (~ represents the home directory by the way). So rm -rf ~/.local/share/Trash may work, but try not to remove anything important. If you are VERY sure you could run it as root, but then you would need to run sudo rm -rf /home/USERNAME/.local/share/Trash instead. Be careful with the -f option.
– Wilf
Nov 3 '13 at 14:48






1




1




@Lucio A new Q should get closed by Old Q as duplicate.
– rɑːdʒɑ
May 19 '14 at 14:42




@Lucio A new Q should get closed by Old Q as duplicate.
– rɑːdʒɑ
May 19 '14 at 14:42




2




2




@raaz that is a stupid rule
– Lucio
May 19 '14 at 16:18




@raaz that is a stupid rule
– Lucio
May 19 '14 at 16:18




4




4




@raaz there's no rule that states so. The question with better quality answers should be the master.
– Braiam
May 19 '14 at 18:19




@raaz there's no rule that states so. The question with better quality answers should be the master.
– Braiam
May 19 '14 at 18:19












@Braiam Look at the answers, they are same. you dont even look. bravo
– rɑːdʒɑ
May 20 '14 at 5:58




@Braiam Look at the answers, they are same. you dont even look. bravo
– rɑːdʒɑ
May 20 '14 at 5:58










1 Answer
1






active

oldest

votes


















49














Open your terminal and type the following command to clear the trash



 sudo rm -rf ~/.local/share/Trash/*





share|improve this answer





















  • It worked thank you! why is not the official answer? sloopy OP-ers ...
    – SkyWalker
    Sep 17 '15 at 8:21






  • 3




    On 16.04 this was sudo rm -rf .local/share/Trash/files/*
    – Bar
    Sep 27 '16 at 15:55










  • mark this as answer , i command you! haha
    – noogui
    Jul 3 at 2:32


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









49














Open your terminal and type the following command to clear the trash



 sudo rm -rf ~/.local/share/Trash/*





share|improve this answer





















  • It worked thank you! why is not the official answer? sloopy OP-ers ...
    – SkyWalker
    Sep 17 '15 at 8:21






  • 3




    On 16.04 this was sudo rm -rf .local/share/Trash/files/*
    – Bar
    Sep 27 '16 at 15:55










  • mark this as answer , i command you! haha
    – noogui
    Jul 3 at 2:32
















49














Open your terminal and type the following command to clear the trash



 sudo rm -rf ~/.local/share/Trash/*





share|improve this answer





















  • It worked thank you! why is not the official answer? sloopy OP-ers ...
    – SkyWalker
    Sep 17 '15 at 8:21






  • 3




    On 16.04 this was sudo rm -rf .local/share/Trash/files/*
    – Bar
    Sep 27 '16 at 15:55










  • mark this as answer , i command you! haha
    – noogui
    Jul 3 at 2:32














49












49








49






Open your terminal and type the following command to clear the trash



 sudo rm -rf ~/.local/share/Trash/*





share|improve this answer












Open your terminal and type the following command to clear the trash



 sudo rm -rf ~/.local/share/Trash/*






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 20 '13 at 0:03









rɑːdʒɑ

56.9k84216301




56.9k84216301












  • It worked thank you! why is not the official answer? sloopy OP-ers ...
    – SkyWalker
    Sep 17 '15 at 8:21






  • 3




    On 16.04 this was sudo rm -rf .local/share/Trash/files/*
    – Bar
    Sep 27 '16 at 15:55










  • mark this as answer , i command you! haha
    – noogui
    Jul 3 at 2:32


















  • It worked thank you! why is not the official answer? sloopy OP-ers ...
    – SkyWalker
    Sep 17 '15 at 8:21






  • 3




    On 16.04 this was sudo rm -rf .local/share/Trash/files/*
    – Bar
    Sep 27 '16 at 15:55










  • mark this as answer , i command you! haha
    – noogui
    Jul 3 at 2:32
















It worked thank you! why is not the official answer? sloopy OP-ers ...
– SkyWalker
Sep 17 '15 at 8:21




It worked thank you! why is not the official answer? sloopy OP-ers ...
– SkyWalker
Sep 17 '15 at 8:21




3




3




On 16.04 this was sudo rm -rf .local/share/Trash/files/*
– Bar
Sep 27 '16 at 15:55




On 16.04 this was sudo rm -rf .local/share/Trash/files/*
– Bar
Sep 27 '16 at 15:55












mark this as answer , i command you! haha
– noogui
Jul 3 at 2:32




mark this as answer , i command you! haha
– noogui
Jul 3 at 2:32



Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b