Desktop applets?

We want your feedback: comments, complaints and suggestions for the website

jeamer
Posts: 32
Joined: Fri Mar 02, 2007 1:05 pm
Location: Victoria

Desktop applets?

Post by jeamer »

Hey, I was wondering how difficult it would be to develop some downloadable desktop applets for some of the features of this site... like the SI map for one. I know that it's the first thing I check every time I sit down at the compy so to have it on the desktop would be a seriously cool thing. Thoughts?
sonicspectrum
Posts: 20
Joined: Sat May 20, 2006 1:49 pm

Post by sonicspectrum »

I've thought for a while that a little window on my tool bar that showed the current wind conditons at Ogden (or where ever the user wants) would be sweet, something small by my clock...
User avatar
Russian Dood
Posts: 297
Joined: Mon May 03, 2004 11:06 am
Location: Still here, alive and kicking

Post by Russian Dood »

First question I have to ask what platform are we talking about? Windows Vista? Mac OSX? Linux Compiz? iPod touch?

As an alternative for Win XP users I would suggest using active desktop features to point to the information you are interested in.
Cancer must die!
User avatar
bwd
Developer
Developer
Posts: 1245
Joined: Tue May 13, 2003 8:57 am
Location: In a van down by the jetty
Has thanked: 36 times
Been thanked: 40 times
Contact:

Post by bwd »

Here is what I do to get the Latest Reports on my desktop. I use the active desktop feature in Windows XP.

1. Copy and paste this text and save it to a file called pda.htm:

Code: Select all

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-ca">
<META HTTP-EQUIV="refresh" CONTENT="300">
<title>Latest Table</title>
</head>

<body>

<p>
<iframe name="I1" src="/http&#58;//www.bigwavedave.ca/pda.txt" width="450" height="526" scrolling="no" marginwidth="1" marginheight="1" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>


</body>

</html>

2. Right click on desktop
3. Select Properties.
4. Select Desktop tab.
5. Select Customize Desktop.
6. Select Web tab.
7. Select New.
8. Browse to the saved pda.htm file.

This will add the Latest Reports to your desktop and they will get refreshed every 5 minutes. Not exactly a desktop applet but it works.

I'll put something together for the South Island map.
Dave
Now That I’ve Given Up Hope, I Feel Much Better
jeamer
Posts: 32
Joined: Fri Mar 02, 2007 1:05 pm
Location: Victoria

Post by jeamer »

Cool, well now you totally motivated me to find a solution for Ubuntu, and find I did. Follow this:

http://ubuntuforums.org/showthread.php?t=297027

If someone doesn't like to write script, here's my slightly modified one:

Code: Select all

#!/bin/bash

#directory you want the snapshots to be kept
LOCATION="/home/eamer/Background/"

#website to make a snapshot of
WEBSITE="http&#58;//www.bigwavedave.ca/latest.php"

#check for an internet connection; if not connected, use backup of last successful snapshot
x=`ping -c1 google.com 2>&1`

if &#91; "$x" = "ping&#58; unknown host google.com" &#93;; then
	if &#91; -f $LOCATION/background-2.png &#93;; then	
		cp $LOCATION/background-2.png $LOCATION/background-1.png
	fi
		
else 
	#use kwebdesktop to get a snapshot of the webpage
	/usr/bin/kwebdesktop 1280 1024 $LOCATION/background-1.png "$WEBSITE"

	if &#91; -f $LOCATION/background-1.png &#93;; then	
		cp $LOCATION/background-1.png $LOCATION/background-2.png
	fi
fi

#use gconftool to set the updated snapshot
gconftool-2 -t str --set /desktop/gnome/background/picture_filename "$LOCATION/background-2.png"
#change it twice so that it updates to the new snapshot
gconftool-2 -t str --set /desktop/gnome/background/picture_filename "$LOCATION/background-1.png"
gconftool-2 -t str --set /desktop/gnome/background/picture_options "centered"
Just make sure you change your display resolution (where it says 1280 1084) and your folder target (/home/eamer/Background ... also remember to create the folder first!)

Also, this script doesn't include refreshing. If you want that, go to page five of that thread for a workaround. I didn't enable this as I'm not gonna keep the background anyways... I didn't really want the whole background to be the table, just a wee little thing. If anyone here is a serious computer dude, I would praise them a thousand times over to make a GDesklets applet for BWD, that would be AWESOME.
User avatar
Russian Dood
Posts: 297
Joined: Mon May 03, 2004 11:06 am
Location: Still here, alive and kicking

Post by Russian Dood »

I guess for ubuntu ( or any linux to that matter ) another solution could be to use frameless semi-transparent xterm window on the desktop with links or lynx running in it. That might even solve refresh problem.

Having whole KDE installed just to see one page on the desktop seems like a little overkill to me.

On the other hand just found that Dave provides RSS. You can set up RSS desklet to aggregate this feed:

http://www.bigwavedave.ca/windalert_rss.xml
Last edited by Russian Dood on Tue May 20, 2008 6:16 pm, edited 1 time in total.
Cancer must die!
User avatar
JL
Posts: 2610
Joined: Thu May 22, 2003 8:57 am
Location: Saanichton / Shirley (French Beach)
Been thanked: 2 times
Contact:

Post by JL »

Gosh, why didn't I think of that ? :roll:
Thermals are good.
User avatar
Wingnut
Posts: 106
Joined: Thu Nov 27, 2003 10:40 pm
Location: Victoria, BC

Post by Wingnut »

Not geeky enough? :D
jeamer
Posts: 32
Joined: Fri Mar 02, 2007 1:05 pm
Location: Victoria

Post by jeamer »

yeah, you only install KDE and use it to run the script... you don't have to actually run the desktop all the time. It's only 2 megs, I didn't think too much of it.

Good call on the RSS desklet.. I'll give that a try when I've got a little time. I don't even have GDesklets on my computer... never had anything seem too appealing to me (until now, that is) :P
User avatar
JL
Posts: 2610
Joined: Thu May 22, 2003 8:57 am
Location: Saanichton / Shirley (French Beach)
Been thanked: 2 times
Contact:

Post by JL »

I'm so old school: FIREFOX: http://www.bigwavedave.ca/latest.php tools/options/advanced/main/use current page 8) Then I click on 'home' ...
Thermals are good.
sonicspectrum
Posts: 20
Joined: Sat May 20, 2006 1:49 pm

Post by sonicspectrum »

Yup. I'm dreaming of a mac applet for the computer and a PC (XP) tiny little tool bar like what windows media player shrinks into when minimised for the desktop. I sit in front of this computer all day, might as well be dreaming!
jeamer
Posts: 32
Joined: Fri Mar 02, 2007 1:05 pm
Location: Victoria

Post by jeamer »

success.

with compiz and screenlets, I have the RSS feed on my desktop that is updated every five minutes! Love it! Thanks for the suggestion RD.

Here's what it looks like:
Attachments
Screenshot-1.png
Screenshot-1.png (919.37 KiB) Viewed 6923 times
Screenshot.png
Screenshot.png (776.46 KiB) Viewed 6923 times
User avatar
bwd
Developer
Developer
Posts: 1245
Joined: Tue May 13, 2003 8:57 am
Location: In a van down by the jetty
Has thanked: 36 times
Been thanked: 40 times
Contact:

Post by bwd »

Glad someone is finally using the RSS feeds. I've been using them for months and find them useful. The wind alert feed only updates when certain sites hit the windspeeds shown here:
http://www.bigwavedave.ca/phpBB2/viewtopic.php?t=2969
User avatar
JL
Posts: 2610
Joined: Thu May 22, 2003 8:57 am
Location: Saanichton / Shirley (French Beach)
Been thanked: 2 times
Contact:

Post by JL »

I use em' 8)
Thermals are good.
User avatar
downwind dave
Website Donor
Website Donor
Posts: 1469
Joined: Thu Apr 29, 2004 9:05 am
Location: Cobble Hill

Post by downwind dave »

at lunchtime i installed a sweet applet on my desktop too

Image
Post Reply