Nerd/Geektool
You can realize the following desktop effect with both
Anyways lets start to collect some code examples. As wordpress tends to eat my snippet code i’ll use screenshots for the code-quotes. That’s far away from perfect – but at least it should work.
As final note
It might make sense to play with different fonts to get better formatting results.
Date & Time

That’s based on a set of small shell commands.
Time

Day

Month

Date

If you are interested in more date-related commands consider the following list
- Month (string):
date +%B - Day of month (number):
date +%d - Full date:
date "+%A, %B %d" - Day of week (string):
date +%A - Time:
date +"%l:%M" - AM/PM:
date +"%p"
Calendar
Show simple calendar

via

Show advanced calendar

via

Show horizontal calendar

via

Show today in history

via

Weather
Show weather image and temperature
This time it’s a bit more complicated as you need to work with a script (which must be configured) and 2 entries in Geektool/Nerdtool but it should end in something similar to the following 2 images


via
Part 1: execute weather.sh weather.sh

Part 2: display script-output weather.jpg (the path must be configured in the script above)

Network
Show established network connections

via

Show ping results

via

Show external ip

via

System
Show system resources & top processes

via

Show processes and cpu usage

via

Show memory informations

via

Show system uptime

via

Show size of Trash

via

Show memory status (Mac Pro with Riser-cards and FB-Dimm)

via



October 11th, 2009 at 16:59
[...] Nerd/Geektool [...]
October 25th, 2009 at 17:29
Kleiner Nachtrag für SnowL (10.6.*) [stellt die CPU-Last in Prozent mit dem alten Skript nicht mehr dar]
Uptime / Ram / CPU
_____________________
uptime | awk ‘{print “UPTIME : ” $3 ” ” $4 ” ” $5 }’ | sed -e ’s/.$//g’; \
top -l 1 | awk ‘/PhysMem/ {print “RAM : ” $8 ” “}’ ; \
top -l 2 | awk ‘/CPU usage/ && NR > 5 {print $1, “:”, $3, $4, $5, $6, $7, $8}’
___________
Frage: Was ist denn mit dem Kalenderskript los?? Auch bei Dir sehe ich, wird der Monat Oktober für seine ersten Tage völlig falsch dargestellt. Bei mir auch. Kann man das nicht besser machen???
October 26th, 2009 at 08:54
@Susrich
mit dem Kalender hast du absolut recht …. witzig dabei das es mir bei der aufnahme garnicht aufgefallen ist.
Ich brauch Urlaub
Ansonsten danke für den Nachtrag.
Gruss
fidel
October 31st, 2009 at 23:39
bin mir sicher ihr seid schon draufgekommen dass das mit nem fixed width font nicht passiert beim kalender.
November 1st, 2009 at 15:20
@bernd:
danke …. manchmal denke ich einfach nicht an das relevante – obwohl ich den prinzipiellen Hinweis schon selber im Text verfasst hatte hehe
@Susrich:
hat sich jetzt erledigt oder ?
December 16th, 2009 at 17:40
[...] Nerd/Geektool [...]
December 27th, 2009 at 05:59
Alter Lachs!
Ist das ne coole Sache, dieses NerdTool! Vielen vielen Dank für die ganzen Codes hier!
February 18th, 2010 at 18:33
[...] ergänzende Geektool/Nerdtool Ideen findet ihr u.a. hier im [...]
May 17th, 2010 at 08:31
[...] Die Basics zum Programm bietet die Projektseite. Solltet ihr an Anwendungsfällen interessiert sein lohnt ein Blick auf die folgenden Tags (#geektool sowie #nerdtool) hier im Blog sowie ggf ein Blick auf die Mini-Script-Sammlung. [...]