TOPIC: SUDO
Removing files for which you have no write access from the GNOME Wastebasket in Ubuntu 8.04
2nd September 2008It might be that GNOME contains a small trap awaiting the unwary: moving files for which you have no write permissions to the Wastebasket using Nautilus. This happened to me in Ubuntu 8.04 which meant that I couldn't clear the Wastebasket using the normal means. To resolve the situation, I thought of finding where the Wastebasket in the normal file system, and that isn't as easy as it might be. One place to look is ~/.Trash, but I didn't have that at all because the location in Hardy Heron is ~/.local/share/Trash/Files. Armed with this knowledge, I turned to the command line and performed the required erasure using sudo. It was all over soon enough once I knew where to look.
A quick way to do an update
8th August 2008Here's a quick way to get the latest updates on your PC using the command line if you are using Ubuntu or Debian:
sudo apt-get update && sudo apt-get upgrade
Of course, you can split these commands up if you prefer to look before you leap. At the very least, it's so much slicker than the GUI route.