Displaying Weather And System Information On A GNOME Desktop With gDesklets - Page 3

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2007-03-18 18:38. ::

4 Adding More Desklets To gDesklets

gDesklets already comes with lots of desklets that you can choose from, but of course you can also add additional desklets from the internet to it.

You can find additional desklets on these web sites (among others):

For example, gDesklets comes with some weather desklets, but none of them is working for me (I always get Retrieval Failed when those weather desklets try to get weather details for my location). Therefore I'm going to install the GoodWeather desklet from http://gdesklets.zencomputer.ca. Download the GoodWeather.tar.gz file to your computer (e.g. your desktop):

Afterwards, in the gDesklets window, we select File > Install package...:

A file browser pops up. Select the GoodWeather.tar.gz file from your hard drive and click on Open:

gDesklets will now automagically insert the GoodWeather desklet into its list of available desklets. Click on Close in the Installation complete window:

Then double-click on the GoodWeather display entry in the gDesklets window. The GoodWeather desklet will then be placed on your desktop - use your mouse to move it to your preferred location on the desktop:

Now we must customize the GoodWeather desklet so that it displays weather information from our area. The GoodWeather desklets retrieves its information from the www.weather.com web site, so we go there now and enter our location (e.g. Luneburg for Lüneburg - the site doesn't seem to know umlauts...):

On the next page, select Current (if there are results...):

On the following page, take a look at the URL in the browser's address bar. Each location has a unique identifier (location code), for example Lüneburg has GMXX0078. Copy the identifier:

Then right-click on the GoodWeather desklet and select Configure desklet:

The GoodWeather configuration window pops up. In the Location Code field, paste the location code (e.g. GMXX0078 for Lüneburg):

Further down in the same window, you can specify what details (beside the temperature) the desklet should display (e.g. humidity, location (so that we know it displays the details for our area), update time, etc.):

After you've closed the configuration window, the GoodWeather desklet should display the correct details for your area:

 

5 Making Desklets Start Automatically After Reboots

Now there's a little problem: whenever we reboot our system or log out of the current session, our desklets are gone. Of course, we don't want to configure them again from the beginning each time we log in to our desktop.

To make our desklets start automatically after reboots, we go to System > Preferences > Sessions:

In the Sessions window that opens go to the Startup Programs tab and click on Add:

The Add Startup Program window opens. Type in gdesklets (all lowercase!) as Startup Command and click on OK:

That's it. Now whenever you log in to your desktop again, your desklets will start automatically.

 

6 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by xuxa (registered user) on Sun, 2007-12-30 17:50.

Thank you for this great little tutorial!  I'm setting up a fun little computer for my sister with a bit of eye candy and couldn't get any of the standard weather desklets working.  This tutorial was just what i needed! 

FWIW:  For US locations it looks like you can use a zip code for the weather "location code".