You need to edit /etc/apt/sources.list
sudo gedit /etc/apt/sources.list
add the following lines
deb http://ppa.launchpad.net/googlegadgets/ubuntu hardy main
deb-src http://ppa.launchpad.net/googlegadgets/ubuntu hardy main
Save and exit the file
Now you need to update the source list using the following commnd
sudo aptitude update
or you can use the following procedure
Go to System —> Administration —> Software Sources, click on the Third-Party tab, then Add, and paste the following line
deb http://ppa.launchpad.net/googlegadgets/ubuntu hardy main
Then click Close and Reload.
Install Google Gadgets using the following command from terminal
sudo aptitude install google-gadgets
This complete the installation process
Using Google gadgets
After finishing installation press Alt+F2, and type ggl-gtk click on Run to start Google Gadgets.