The recycle bin cannot be cleared in Ubuntu14.04.

Source: Internet
Author: User
I encountered a problem where I could not clear the recycle bin in Ubuntu14.04. Right-click the recycle bin icon and select clear recycle bin, as I have always done. I can see that the progress bar shows a period of time before deleting the file. But it stops, and The Nautilus file management is also stopped. I have to stop it in the terminal. But this is painful because the file is still in the garbage bin. Besides, the window is frozen after I try to clear it again and again. Honestly, I don't know what causes this problem. But I have a solution problem.

I encountered a problem where I could not clear the recycle bin in Ubuntu 14.04.. Right-click the recycle bin icon and select clear recycle bin, as I have always done. I can see that the progress bar shows a period of time before deleting the file. But it stops, and The Nautilus file management is also stopped. I have to stop it in the terminal.

But this is painful because the file is still in the garbage bin. Besides, the window is frozen after I try to clear it again and again.

 

Solution

Honestly, I don't know what caused this problem. But I have a solution if you encounter this problem in Ubuntu 14.04 or 14.10.

Open the terminal and run the following command:

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

Note your input here. You can use the super administrator permission to run the DELETE command. I believe that you will not delete other files or directories.

The preceding command deletes all files in the recycle bin directory. In other words, the command is used to clear the garbage bin. After using the above command, you will see that the bin has been cleared. If you cleared all the files, you should not see the Nautilus crash.

 

Is it useful to you?

I hope this tip will be useful to you. In the future, you will not encounter the same problem in Ubuntu or other releases. If you encounter any problems, please let me know.

Windows 7 hard drive installation Ubuntu 14.10 graphic tutorial http://www.linuxidc.com/Linux/2014-10/108430.htm

Ubuntu 14.10 http://www.linuxidc.com/Linux/2014-10/108402.htm U disk installation

Ubuntu 14.10 official release download http://www.linuxidc.com/Linux/2014-10/108363.htm

How to upgrade Ubuntu 14.04 LTS to Ubuntu 14.10 http://www.linuxidc.com/Linux/2014-10/108381.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-04/115698.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.