How to Integrate Google Gadgets With Plasma in Kubuntu

When Google Gadgets were released for Linux, many people once again praised Google’s support of free and open source software, but there was just one problem. The two major desktop environments for Linux, GNOME and KDE, both already had desktop widget components that were better integrated into their overall desktops. Fortunately, the Google developers were well aware of this and built in the interoperability that would allow the GNOME and KDE developers to seamlessly integrate the two.
With the release of KDE 4.2, Google Gadgets became fully integrated into Plasma. You can add them to your desktop with a few clicks of your mouse, unless you happen to be a Kubuntu user. For reasons that are outside the scope of this article, Kubuntu developers decided to remove the Google Gadget code from Plasma. Being the stubborn hackers that we are, however, we are going to get them back. This will require a little compiling of software, but I will walk you through each step.
All of these steps assume that you have the latest Kubuntu version 9.04 “Jaunty Jackalope”. It might work with earlier versions, although I make no guarantees.
The good news is that the Google Gadgets libraries are still in the kdebase source. You just have to rebuild the kdebase-workspace package.
1. The first thing that I recommend doing is creating a working directory:
Start Konsole and type:
mkdir kde4-build cd kde4-build
2. Install the Google Gadgets library packages:
sudo apt-get install libggadget-qt-1.0-dev sudo apt-get install libggadget-1.0-dev
3. Install the kdebase-workspace source package and its dependencies:
sudo apt-get source kdebase-workspace sudo apt-get build-dep kdebase-workspace
4. Next, you will need to configure the kdebase-workspace source to prepare it for building:
cd kdebase-workspace-4.2.1a
cmake .5. You only need to compile the Google Gadgets script engine portion:
cd plasma/scriptengines/google_gadgets make
6. Finally, just copy the Google Gadget binaries to their proper locations:
sudo cp ../../../lib/plasma_package_ggl.so /usr/lib/kde4/ sudo cp ../../../lib/plasma_scriptengine_ggl.so /usr/lib/kde4/ sudo cp plasma-packagestructure-googlegadgets.desktop /usr/share/kde4/services/ sudo cp plasma-scriptengine-googlegadgets.desktop /usr/share/kde4/services/ sudo cp plasma-applet-ggl-photos.desktop /usr/share/kde4/services/ sudo cp plasma-applet-ggl-rss.desktop /usr/share/kde4/services/
7. Restart KDE
When you log back into KDE, you should now have support for Google Gadgets.
8. Open the add widgets dialog as you normally would, click on “Install New Widgets”, and then click “Download New Google Gadgets”.

When you add Google Gadgets from the Gadget Browser, they will appear in the normal Plasma dialog, which you can then use to add to your desktop. If, for some reason, you do not see all 61 gadgets, you might need to start Google Gadgets independently once, close it, restart plasma, and then try again.
That is all it takes to get Google Gadgets up and running in Plasma on Kubuntu Jaunty.
* Portions of this article were adapted from the guide writen by Francesco Santini, released under a CreativeCommons-Attribution-3.0 license.
Tags: google gadgets, kde, kubuntu, plasma, plasmoids, widgets
Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.





2 pingbacks/trackbacks (Click to open)
- Come Integrare i Google Gadget in Plasma su Kubuntu 9.04 - Revoblog
- Latest google gadget news - How to Integrate Google Gadget | Internet Gadget Traffic
[Click to close]4 Responses
The interface looks like windows vista / 7 :p
Reply
Please Help me
This smells good but in Point 5. I see
make: *** No targets specified and no makefile found. Stop.
BTW: I am a Newbie
I read readme. but there no informations about install..
Reply
What was the output of cmake? Were there any errors? Usually this means that the configuration (cmake) was incomplete.
Reply
Thank you!
Problem was with permision to write.
4. Sudo cmake . //work
But These files not exist.
sudo cp plasma-applet-ggl-photos.desktop /usr/share/kde4/services/
sudo cp plasma-applet-ggl-rss.desktop /usr/share/kde4/services/
I install kdebase-workspace-4.2.2
I go try restart
Reply