LWN.net Logo

Google announces Gadgets for Linux

By Jake Edge
June 11, 2008

Google recently announced the release of their Gadgets for the Linux desktop, and, unlike some of their other desktop offerings, they released it under a free software license. While it is not earth-shattering technology, Gadgets does provide some interesting features and amusing diversions. It also generates some hope that Google is getting better at understanding what free software users are looking for, so perhaps things like the Google Desktop for Linux will be better integrated and more useful in the future.

Gadgets are a cross-platform way to create simple applications that can run on web pages and desktops. The gadget API provides a means to retrieve content from other sites and display it along with a user interface. Many kinds of applications can be created, from clocks and calendars to RSS-feedreaders and "picture of the day" viewers.

[Gadget desktop]

There are numerous gadgets available, a semi-random collection on a KDE desktop can be seen at left. Google has created a handful of gadgets, but the vast majority are available from others in various categories including News, Sports, Finance, Fun and Games, Technology, and Communication. The gadget browser shown below, at right, allows easy access to an amazing number of choices, many of which are variations on a theme.

[Gadget browser]

To get started with gadgets, it is first necessary to build the tool. Google does not yet provide .rpm or .deb files for various distributions. The "how to build" page was useful, but there was some difficulty in trying to translate the dependencies into Fedora 9 package names. A page in a language I don't know needed no translation, however. Linux commands, it seems, are multi-lingual.

Building from the Apache-licensed source tarball was straightforward after that. Gadgets for Linux comes in both GTK+ and Qt flavors which allows for integration with the two dominant Linux desktop environments. The screenshots accompanying this article are from the Qt version, but a bit of a look at the GTK+ version seemed roughly the same—though the Qt version lacks the sidebar dock.

This is a beta release, perhaps more of a beta than many Google releases, so there are still a fair number of glitches. Perhaps 20% of the gadgets tried had one problem or another, with some seeming not to function at all. Having no experience with gadgets on other platforms, it was not clear whether these were caused by bugs in the gadgets themselves or the desktop gadget program.

[Moon image gadget]

The main benefit of the gadget API seems to be the cross-platform capabilities. Gadgets can run—largely unchanged—on Linux, Mac OS X, or Windows, but can also run in browsers on web pages at social networking sites or on other pages. If the API can deliver that wide of a range of platform choices, it could open up a much wider audience for folks that want to develop their gadgets on Linux.

Still missing is one of the tools recommended for developing gadgets, Gadget Designer, which is only available for Windows. The documentation for creating a gadget make it look like a tedious exercise in XML manipulation and Javascript programming, but there may be tools available or in development to make some of that easier.

Overall, gadgets look like an interesting project. There is really nothing new about the kinds of applications that can be built using the API, but there are few choices to build those kinds of programs in a truly cross-platform way. Google's choice to support Linux—and support it well—accompanied by the code under a free software license is, perhaps, the best news of all.


(Log in to post comments)

Google announces Gadgets for Linux

Posted Jun 12, 2008 5:23 UTC (Thu) by dberkholz (subscriber, #23346) [Link]

It's already available in Gentoo as x11-misc/google-gadgets, for anyone who'd like to give it
a try.

Google announces Gadgets for Linux

Posted Jun 12, 2008 8:08 UTC (Thu) by macc (subscriber, #510) [Link]

Isn't that about what I could do with Tcl/Tk for ages?
Writing cross platform portable (small/big) apps that
can run standalone or embedded in a browser.

MACC

Google announces Gadgets for Linux

Posted Jun 12, 2008 9:04 UTC (Thu) by pointwood (guest, #2814) [Link]

It looks like they're working on integration with Plasma (KDE4) as well:
http://aseigo.blogspot.com/2008/06/google-gadgets.html

Google announces Gadgets for Linux

Posted Jun 12, 2008 9:04 UTC (Thu) by pointwood (guest, #2814) [Link]

It looks like they're working on integration with Plasma (KDE4) as well:
http://aseigo.blogspot.com/2008/06/google-gadgets.html

Google announces Gadgets for Linux

Posted Jun 12, 2008 11:03 UTC (Thu) by felixfix (subscriber, #242) [Link]

That language you don't know is Japanese :-)

Google announces Gadgets for Linux

Posted Jun 12, 2008 15:07 UTC (Thu) by rahulsundaram (subscriber, #21946) [Link]

It is under review for Fedora 9

https://bugzilla.redhat.com/show_bug.cgi?id=450243

This package would have saved you sometime translate dependency names. 

Google announces Gadgets for Linux

Posted Jun 12, 2008 16:45 UTC (Thu) by vmole (guest, #111) [Link]

Google does not yet provide .rpm or .deb files for various distributions.

And hopefully never will. Distribution packages by upstream developers are almost always dreadful, except for those upstreams who are also involved in the specific distribution. Upstreams have enough to do without trying to track the minutia of distribution-specific policies and issues.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds