Problems with Debian 9 Trashbin not emptying trash

English

Problems with Debian 9 Trashbin not emptying trash and not changing icon even when the trash is emptied. So how to resolve this problem?

First option via a terminal, resolves the problem of a full trashbin, but the icon still remains as full of trash, until you restart your computer.

Problems with Debian 9 Trashbin not emptying trash.

Install the CLI-based program trash-cli with the following command:

sudo apt-get install trash-cli

Press Enter, wait for it to install.

Now to empty the trash, type the following command:

trash-empty

Press Enter, done.

Now, to verify it is really empty, you change user to "root".

su

Press Enter and type your password and hit Enter again.

Type or copy and paste:

cd .local/share/Trash/

Press Enter,

cd files

Press Enter,

ls

Press Enter and see if it is empty, you're good to go, if not.

Type the following command:

rm -rf *

Press Enter, then.

ls

Press Enter.


Second option:

Restart your computer and right-click the trashbin and Empty Trash, done.

The icon switches as it should.

The problem, could be related to how many GB is in the trashbin or the applet.

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.

Disclaimer

All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.

 

Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.

 

Limited Time Offers

Coming soon...