Delete all thumbs.db

Windows creates in every folder with pictures a thumbs.db file.

Linux doesn’t need them, so here is a simple command to get rid of them.

sudo find /home/user -name Thumbs.db -exec rm {} \;

Remove empty directories

To remove empty directories in a directory structure use the following command :

sudo find /begin/here -type d -empty -delete

Install Firefox 4 Beta in Ubuntu 10.04

Installing Firefox 4 Beta using Synaptec Package Manager

  1. Open Synaptec Package Manager
  2. Click Setting > Repositories
  3. Select tab “Other Software”
  4. Click on the “+ Add” button and type the following in the APT line :
  5. Click on “+ Add Source” and close Software Sources
  6. Hit the Reload button in SPM
  7. Search for “firefox 4”
  8. Mark the Firefox 4 package for Install. Agree to some additional required packages.
  9. Hit Apply in SPM and your FireFox 4 Beta is installed
  10. You can find it under Applications > Internet > Minefield 4.0 Web Browser

Mindfield is the code name for experimental versions of Mozilla for the Linux Platform

Installing Firefox 4 Beta using CLI

Open a Terminal and type the following commands:
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-4.0

Compiz not working in Ubuntu 10.04

Tried to install AWN on my desktop today. After installing a custom theme, AWN told me to enable compiz first.

Each time I tried to start Compiz it would crash.
After a little search on the Internet I found the following.

Turns out I didn’t completely installed Compiz.
After running this command in a Terminal all my problems disappeared.

sudo apt-get install compiz compiz-plugins compiz-gnome compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-backend-gconf

Ubuntu 10.04 Post-Install Guide: What to do and try after installing Lucid Lynx!

What to do and try after installing Lucid Lynx?

Read this article and find out.