Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
I've just installed GeekTool and got a question:
How do I make the time a 24hr clock? I prefer 24hr to 12hr but I have no idea what to do :confused:

Done this is a matter of 5 minutes, simple but I like it so far :)
 

Attachments

  • Picture 1.jpg
    Picture 1.jpg
    969.7 KB · Views: 1,090
Here are my GeekTool scripts, just set up. Unfortunately the calendar I had to do manually for now, which means I'll have to update it each month (the current date is being highlighted automatically, but I'll have to swap out the monthly calendar because the cal command doesn't let me do a single line calendar).

jW
 

Attachments

  • Picture 28.png
    Picture 28.png
    1 MB · Views: 1,804
This is really cool, done the whole date/calendar thing. Now, I am trying to load a picture using the picture window accessed by the drop down menu. I type in the URL as follows: file://user/dubhe/pictures/P0001234.jpg but it doesn't seem to work, any ideas? Is this how I type the URL of a pic in my pictures folder?
 
Help with extra characters

Hi folks - newbie here...

I got the scripts to work, but how do you add extra words or characters to, say, the conditions line? Like in this example?

http://flickr.com/photos/dommm/3091666143/

So that you get 28 degrees "and" clear?

I'm messing around and seem to be repeating the "and", so I think I'm putting it incorrectly in the forloop some where.

Likewise, how can I add "(" and ")" around the am/pm in the time script?

Thanks!

BenTYYC
 
I have a quick question. I copied the data and stuff from the OP, but for temperature it reads: "41.5F Probabilityof"

How do I get rid of the "probabilityof"?
 
Okay, everything is working great, but how do I get the time to display like this:

3:10

and not this:

03:10

I've noticed that some of the examples posted are dropping that zero. Any idea?
 
Okay, everything is working great, but how do I get the time to display like this:

3:10

and not this:

03:10

I've noticed that some of the examples posted are dropping that zero. Any idea?

It's currently '07:56' here:
image.jpg

Code:
date +%I:%M
 
Anyone had any luck getting the weather to work for the Uk?

Here's mine for Bournemouth:
Image.jpg

You need the Lynx Text Browser installed

Temp.
Code:
lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=bournemouth|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }'

Cond.
Code:
lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=bournemouth|awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }'
 
yep, working here in oxford, UK (thanks to si77hay). Just change the number to one nearest you. Check the wundergroud website to find the code number. Also made an Itunes thing for my menubar. I prefer it the miniplayer.

Anyone had any luck getting the weather to work for the Uk?
 

Attachments

  • Picture 1.jpg
    Picture 1.jpg
    1 MB · Views: 598
Ok, I am new to Geektool and Lynx, but have the temp and weather in my taskbar now which I like. Have been trying to get the wind direction and speed too, any ideas how to choose different fields from the page lynx grabs?
 

Attachments

  • Picture 3.png
    Picture 3.png
    119.1 KB · Views: 232
Cheers for the help guys,
Here's mine so far . . . .
 

Attachments

  • Picture 1.png
    Picture 1.png
    387.5 KB · Views: 868
Found that GeekTool crashes quite easily on my computer if I leave the Font box open and try to change to another shell.

That said, I am loving geektool so far. I just have the standard items listed in this thread so far.

Tried messing around with sorting out a colour scheme but when I was finished I think it is quite ugly so will be changing it around
 

Attachments

  • Picture 3.png
    Picture 3.png
    285.6 KB · Views: 278
Ok, I am new to Geektool and Lynx, but have the temp and weather in my taskbar now which I like. Have been trying to get the wind direction and speed too, any ideas how to choose different fields from the page lynx grabs?

In your where???
 
I can get the output from lynx ok and the placeholder for the box shows on screen, but no text whatsoever - Am I being a muppett (brand new MBP15" fully updated)

weep
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.