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.
First of all, what results are you getting? Simply no change from the defaults, or is something funky happening?

Second of all, what are you trying to change? The "noItems" display, the "today" label, or something else?

I need some more info to be able to help you properly.

Trying to think up some easy places to make a mistake:
- Check your capitalization for the keys (all the keys are case sensitive)
- Make sure that your items are children of "root" (not something else)
- Ensure that the .plist file is saved in your home directory ("/Users/yourUserName/")
- Ensure that the .plist is called ".icalBuddyLocalization.plist"
- Make sure to check spelling, capitalization and don't forget the period (".") in front of the file name to make it a system (hidden) file (I forgot the period the first time I tried :p)

Anyways, hope one of those helps, but if you provide some more info as to what is happening at your end I can hopefully provide some more specific assistance.


Sorry for leaving out the most important part. I was trying to display "No Events" using the noItems key as mentioned in your process.

Currently have ical synced with my Google calender, using icalBuddy to display calender info on my desktop with the use of Geektool.
 
Sorry for leaving out the most important part. I was trying to display "No Events" using the noItems key as mentioned in your process.

Currently have ical synced with my Google calender, using icalBuddy to display calender info on my desktop with the use of Geektool.

I'm doing the sync with Google Calendar too, so that isn't the problem....

Check in your .plist file that "root" is of type "dictionary", and all children of root are of type "string".

Can you post your geektool script so I can see what you are going for? Everything else to do with icalBuddy and geektool is working fine though including refreshing properly and such?

When you have a date with no events, what is showing up right now? Just the default "Nothing." or actually nothing?
 
I'm doing the sync with Google Calendar too, so that isn't the problem....

Check in your .plist file that "root" is of type "dictionary", and all children of root are of type "string".

Can you post your geektool script so I can see what you are going for? Everything else to do with icalBuddy and geektool is working fine though including refreshing properly and such?

When you have a date with no events, what is showing up right now? Just the default "Nothing." or actually nothing?


I have a blank space when there are no events planned, the command that I'm using to display events in geektool is "/usr/local/bin/icalBuddy eventsToday"

The .icalBuddyLocalization.plist file has the required items as specified.

:\
 
I have a blank space when there are no events planned, the command that I'm using to display events in geektool is "/usr/local/bin/icalBuddy eventsToday"

The .icalBuddyLocalization.plist file has the required items as specified.

:\

Oooo, well there's yer problem :p In order for stuff to show up properly, you have to sort the events by date (-sd modifier), and display dates even if they have no events (-sed modifier). Soooo, your final script would look like such:
Code:
/usr/local/bin/icalBuddy -sd -sed eventsToday

That should work now :)
 
Oooo, well there's yer problem :p In order for stuff to show up properly, you have to sort the events by date (-sd modifier), and display dates even if they have no events (-sed modifier). Soooo, your final script would look like such:
Code:
/usr/local/bin/icalBuddy -sd -sed eventsToday

That should work now :)

Thanks for your help. :D
 
Don't know whether you've figured this out already, but the "~" (tilde) in a directory location means your home directory (so on OS X that is: /Users/yourUserName/). So what that statement means in the man page is save a new .plist file in your home directory called .icalBuddyLocalization.plist

As for finding the file after the fact, you need to enable viewing of system files before you will be able to see it. Follow the instructions here (http://www.macworld.com/article/51830/2006/07/showallfinder.html) to show system (hidden) files in finder so you can see your newly created file in Finder.

yeah i got it thanks... :p
i only needed to know where to save it... hehe thanks for the link! ill check!
 
anyone happen to have a working link to the htc clock image at the start of jck1634's post on page 65?
 
heres mine! ive had it for a little while, but ive never had time to upload it... what do you guys think?
for any questions about the scripts, just ask! :D
 

Attachments

  • Screen shot 2010-09-07 at 9.40.03 PM.png
    Screen shot 2010-09-07 at 9.40.03 PM.png
    1.1 MB · Views: 427
heres mine! ive had it for a little while, but ive never had time to upload it... what do you guys think?
for any questions about the scripts, just ask! :D

That's awesome! Nice job! How did you do the calendar in the bottom right?
 
Hello everyone,

I'm looking for a script from a user named "tomge"

A simple airport script, to show with images the signal strength and the SSID of the airport station or wifi station

tomge use geektool with applescript....

Is there any other solution?

Greetz
P.s. Sorry for my english...I'm german ;)
 
Uptime script

Hi everyone,

I have a shell script for GeekTool that when ran in Terminal produces

Uptime: x hours x minutes

In theory it should get rid of days and turn them into hours. However when I place it in a shell in GeekTool the output is different to that of terminal and shows users and load averages as well. Here is the script.

Code:
uptime | sed -E 's/^[0-9\: ]{5,5}[[:blank:]]*up (.*), [0-9]* users.*/Uptime: \1/';

Is there something wrong in the code or is it some bug in GeekTool, any help would be much appreciated.
 
Is this the post you are looking for?

https://forums.macrumors.com/posts/8962517/

Right! I have problems with the path's in applescript. If I run the script in AppleScript, they show me a error message with can't convert to string...

My airportstrength.scpt
Code:
-- display signal strength
	set strength_curfolder to "mac hd:users:fabe:skripts:airportstrength:current"
	set strength_pngfolder to "mac hd:users:fabe:skripts:airportstrength"

Original by tomge
Code:
-- display signal strength
	set strength_curfolder to "mac hd:users:tom:documents:geektool:airport strength:current"
	set strength_pngfolder to "mac hd:users:tom:documents:geektool:airport strength"

My Path is: Macintosh HD/Users/Fabe/Skripts/airportstrength/airportstrength.scpt

bildschirmfoto20100908u.png


Thx for ur help!
 
Anybody know how to get the dock icons to be above the geeklets, even if "always on top" is selected?

I've been searching for this forever.

What I have:

A hidden dock
custom icons
custom dock image made with geektool and misc geeklets

Looks like THIS

What I want to do is use an app that uses my screensaver as my background, but the problem I am running into is that when I do so, the background/screensaver kills my geeklets. so what i have is THIS.

I can get around this by making my geeklets "always on top" but then my dock icons are behind the dock that I made.

So I hope that there is a way to make the dock stay on top even when the "always on top" option is selected for my geeklets
 
That's awesome! Nice job! How did you do the calendar in the bottom right?

thanks! here you go! didnt make it myself... got it from this thread or somewhere else... lol
Code:
#!/bin/bash

# Helper function to display a month in the past or future
Cal() { cal $(date -v$1m '+%m %Y') | sed 's/^/ /';}

# Next month
Cal +1
Code:
uptime | sed -E 's/^[0-9\: ]{5,5}[[:blank:]]*up (.*), [0-9]* users.*/Uptime: \1/';

Is there something wrong in the code or is it some bug in GeekTool, any help would be much appreciated.
it shows up the same way on terminal and on geektool for me... looks like this: "Uptime: 5 days, 23:08"
edit: never mind, it changed... I have no clue what the problem is... :S


Right! I have problems with the path's in applescript. If I run the script in AppleScript, they show me a error message with can't convert to string...

My airportstrength.scpt
Code:
-- display signal strength
	set strength_curfolder to "mac hd:users:fabe:skripts:airportstrength:current"
	set strength_pngfolder to "mac hd:users:fabe:skripts:airportstrength"

Original by tomge
Code:
-- display signal strength
	set strength_curfolder to "mac hd:users:tom:documents:geektool:airport strength:current"
	set strength_pngfolder to "mac hd:users:tom:documents:geektool:airport strength"

My Path is: Macintosh HD/Users/Fabe/Skripts/airportstrength/airportstrength.scpt

bildschirmfoto20100908u.png


Thx for ur help!
only thing I would try, change your "mac hd" to "Macintosh HD". Else than that, i have no clue...

Anybody know how to get the dock icons to be above the geeklets, even if "always on top" is selected?

I've been searching for this forever.

What I have:

A hidden dock
custom icons
custom dock image made with geektool and misc geeklets

Looks like THIS

What I want to do is use an app that uses my screensaver as my background, but the problem I am running into is that when I do so, the background/screensaver kills my geeklets. so what i have is THIS.

I can get around this by making my geeklets "always on top" but then my dock icons are behind the dock that I made.

So I hope that there is a way to make the dock stay on top even when the "always on top" option is selected for my geeklets
id try dragthing if i was you... its a lot more flexible than the dock... only problem, its not freeware... :(
 
only thing I would try, change your "mac hd" to "Macintosh HD". Else than that, i have no clue...

I fixed.... without png files is it hard, to run the Script ^^

Thx
 
Nice! How did you get that timetable on the bottom right corner? :D

its just an image where i erased the white background in preview, and where i ve put text boxes and rectangle annotations... its my school schedule, so i find it really useful! :p
 
anyone knows how to take off the ":" of the priority part in the "to do" list? i changed the Localization plist to make the word priority disappear, but i cant figure out how to get rid of the ":"... :mad:

and god i love icalbuddy... its so useful! :eek:

Still doesnt fix the problem :( does the same thing as the dock

sorry... cant help you then! :(
but cant you change the options? if my memory's good, there was tons of them!
 
Calendar and Other spacing

Thanks for all the posts, it is clear that GeekTool keeps some people busy, including me!
Does anybody know why the spacing of my text is not aligned as the other examples on this forum?
When I display a calendar or temperatures or a list, it doesn't space the text correctly.
An example of my calendar:
capture.jpg


Thanks for the help
 
Weather?

Hi guys, sorry to bother with Yet Another weather question!

Now... i've got lynx installed into applications and so on.

Then i placed this: lynx -dump http://printer.wunderground.com/global/stations/94767.html|awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }''/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }'
into the shell....

As a result.. i am getting in the box... only the word "conditions".... How can this be?

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