Jan 23
Ubuntu trash, where it is and how to empty it
Of course, emptying the trash is usually a right-click on the desktop-trash and that's it. But sometime you've managed it to move something to the trash (i.e under sudo) where you've got insufficient rights to delete it once it is in trash. So here is the command to do this from the command line:
Open a console and type:
sudo rm -rf ~/.local/share/Trash/*
That's it. By the way, the trash is usually located in your home-directory. It can be found in:
~/.local/share/Trash/
which is short for:
/home/yourusername/.local/share/Trash/