Monday, 18 August 2008

Featured gadget: Cat Clock



Name: Cat Clock
Author: nectar1964
Description: Analog clock of cat design

More information | Download gadget

Each week this blog features a recently added Google Desktop gadget that looks promising. If you'd like to see all new Desktop gadgets as they're published, subscribe to the RSS feed.

Thursday, 14 August 2008

Getting an Approximate File Count

A quick Unix tip I thought I should share. If you need to get an approximation of how many files are in a directory and its subdirectories, the du command is a great help. By default, to use the du command you would type something like this:


du .


This command lists all the subdirectories of the current directory and their size in 512 byte blocks.


The following is a more useful version of the command.


du -ak .


That command lists all the subdirectories and files in the current directory and lists their size in kilobytes. This command can be very useful when used with grep to do quick searches.


Finally, if I want to get a line count, I add the following:


du -ak . | wc -l


The wc -l command counts the number of lines in the output of the du command. Since there is one line per directory and file its not an exact file count, but it can be real useful for quick comparisons and the like.



Wednesday, 13 August 2008

Google Gadgets for Linux 0.10.1



To celebrate the opening of the Beijing 2008 Olympic Games, we've just released Google Gadgets for Linux 0.10.1. This version contains two new built-in gadgets:
  • Photos - Displays your favorite photos (from either the Web or a local directory) as a slideshow. This gadget is very simple to use. Just get it from the Add gadgets dialog, and add your favorite sources in the Options dialog.

  • Gadget Designer - Similar to the Gadget Designer application for Windows, except that this designer is itself a gadget. Currently it only supports editing existing gadgets. Please get it from the Add gadgets dialog, try it out, and give us feedback. (Sorry, this gadget isn't available yet for Windows.)


Besides adding these two new gadgets, we've fixed many serious bugs. Many popular gadgets are supported now, such as the Google Calendar gadget. This new version also supports the Google Summer Games gadget, which displays a live medal count and event schedules on your desktop.


Tuesday, 12 August 2008

Acer Aspire One - Intel Atom N270 - system information

I recently purchased an Acer Aspire One netbook. The system information is shown below.

The operating system is:

Linux version 2.6.23.9lw (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #105 SMP PREEMPT Fri Jun 27 18:56:59 EDT 2008
























Here are some of the statistics according to dmesg. It leads me to believe that there are two Intel Atom N270 CPUs inside the netbook.











However according to Intel:
Hyper-Threading Technology3 (two threads) provides high performance-per-watt efficiency in an in-order pipeline and increased system responsiveness in multi-tasking environments. One execution core is seen as two logical processors, and parallel threads are executed on a single core with shared resources.
The full dmesg out put is here.

Monday, 11 August 2008

Faster Web Pages

I found this story on Giga OM that points to this story on making web sites faster. A tool for FireBug called YSlow is covered in the story. Looks interesting, it is not something I have used, but I intend to give it a try.



VNC Built Into OS X 10.5 Leopard

I ran across this when searching for a VNC client for the Mac. It turns out OS X has one built in. To use it do the following:



  1. Give Finder the focus

  2. Type AppleKey-K. This opens up the Connect to Server dialog

  3. Type in a VNC URL. For example, vnc://hostname.domain.com. Or if using a display number other than the default, 5900 + the display number. For example, the URL for display 16 would be: vnc://hostname.domain.com:5916

  4. Assuming a VNC server is there, you connect the server and VNC starts. Right click the Screen Sharing icon that appears in the doc and select Save to Doc. That makes the icon available to you for future sessions and you no longer have to mess with Finder.


Enjoy your new VNC client for OS X.

Friday, 8 August 2008

2008 Summer Games gadget



With 302 events, 35 disciplines, and over two hundred teams, the Summer Games can be overwhelming. The 2008 Summer Games gadget can help you follow all the excitement.

gadget screenshot #1

This gadget is a triathlete of sorts: It displays medal counts, event schedules, and the latest news. Try it out, and be sure to choose your favorite team from the options.

gadget screenshot #2

The gadget has been localized for the host country China and works fine with the latest Google Gadgets for Linux.

Also check out these related efforts across Google:
Happy Summer Games from the Google Desktop team!

More information | Download gadget