Geektool Geeklets

(OS X) GeekTool geeklets with a focus on system administration - jacobsalmela/geeklets. GeekTool is a solid attempt to remedy that situation by bringing an alternate way to handle many Mac system settings. The app installs quickly and opens to a simple interface allowing you to create. Even though there are only three geeklets available when you install GeekTool, Mac OS X Tips has a repository of user-submitted and custom-built geeklets that you can download and play with. I love GeekTool, but ran into a roadblock when one of my geeklets caused it to freeze on startup, and I couldn't remove the offending widget from within the System Preferences panel.So, after digging around, I discovered that the geeklets are stored as plist files at /Library » Preferences » org.tynsoe.geeklet. You can open these files in the Property List Editor (or PListEdit Pro),.

If you have a list of work that you need to perform in whole day, and you want to put that list on your desktop, todo list with Geek tool will help you out. By doing so, you could easily remind yourself which tasks you have done and which are remaining.

This article will tell you how to set up a desktop to do list with GeekTool in MAC OS X. To know deeply, continue to read below

Steps

  • Download GeekTool from the link given below and install on your MAC OS X.
  • To create a file having work list, go to any Text editor and type todos of whole day. Save file on desktop with the name “todo.txt”.
  • To make GeekTool configuration, open GeekTool. You will see three files on left panel of GeekTool application which are File, Image and Shell. These files are called Geeklets. To make a new Geeklets, you can simply drag them onto desktop. Drag “Shell” file to make todo list.
  • When you open the new Geeklets, it will show various options to configure Geeklets.
  • As we are using terminal command known as “cat”, so write “cat ~/Desktop/todo.txt” in Command text field. After completing these steps, your todo list should be displayed on desktop. That’s it!
Geeklets

I’ve been a big fan of GeekTool for a while. It’s been one of the subtle things that I’ve felt that separates OS X from Windows. For a while I had several widgets (called Geeklets) run by GeekTool to display various information on my desktop. A post last week by Patrick Welker (@_patrickwelker) opened me up to a new way to put widgets on my desktop.

Übersicht, from Felix Hageloh, is a great update to the GeekTool concept. Like GeekTool, Übersicht will alllow a user to create self contained widgets and have them rendered on your desktop. But what makes Übersicht stand apart from GeekTool is getting the widgets to be based on HTML 5 using either Javascript or Coffeescript as the widget file. Shifting over to using HTML 5 in Übersicht generates a much more visually appealing presentation than previously possible with GeekTool.

Widget Layout

The basic compoents of a widget includes:

  • command [required]: The shell command that will be used to help capture what information you want to see on your desktop.
  • refreshFrequency [required]: How often you want to run the shell command to refresh the information. The integer is listed in milliseconds.
  • style [required]: The CSS styling to render the information you want shown on your desktop.
  • render [required]: The function that is used to parse the information from the command to the style to display on your desktop.
  • update [optional]: When the widget is first run, it will take the command output and display the contents via the render section. The update section replace the contents displayed based on the refreshFrequency.

An example of a simple widget to show your public IP address using a simply Python script: Gist link

Felix Hageloh, lead on the Übersicht software project, has more details on widget development on GitHub.

Widget differences

There are some subtle differences how GeekTool and Übersicht parse commands. GeekTool can take a shell command that you’d run in Terminal and use it for a Shell Geeklet. One common GeekTool GeekLet is displaying the availabile hard drive space on your Mac, using the following shell command:

Geektool Geeklets

Geektool Scripts

Übersicht can parse the same command, but like most other scripting languages, it needs to know where to start and when to stop when parsing information. The section of a widget, labeled command, needs to be encapsulated in a set of double quotes - '. To do this with the disk space shell command it will need to be properly escaped like this:

If you get an error with your widget, and it includes actual text from your command, take a look at how well your command has been escaped.

Once you have the shell command working, you can start on laying out your widget.

Javascript vs Coffeescript

Widgets for Übersicht can be written in either Javascript or Coffeescript. Continuing on the example monitoring your hard drive space, I wrote two widgets as an example in Javascript and Coffeescript. Both widgets were written to display the same information from the following shell command:

Coffeescript verson: Gist link

Pure Javascript version: Gist link

Here’s a comparison of the output of the two scripts:

Widget Gallery

The makers of Übersicht also have a gallery of widgets other users have created and were willing to share.

Some other widgetsI’m looking at:

  • Sysmon Set: a whole set of widgets to monitor your system.
  • Pretty Weather: a stripped down version of the weather widget I’m currently using. Looking at replacing the predicted high temperature with the current temperature. [1]

Work in progress

I’ve moved over all my core GeekTool widgets to Übersicht and have started looking at some new ones too. Some progress pictures of my desktop as I’ve developed new or updated widgets for Übersicht.

Progress screenshot:

Rainmeter For Mac

Additional progress screenshot:

  1. This has caused me to learn more about the forecast.io API than I ever thought possible. ↩

Comments from original WP Post:

Jason.Verly: You'll need to make some adjustments to the widget placement in the 'Style' section. For some reason all the widget creators liked the bottom right corner.

Jason.Verly: I have some screencasts set for later this fall.

CrazedLeper: Ok, I installed the app and the widgets but, is there a way to customize them? I can't find a way to move those that are overlapping and some are just plopped in the middle of my screen.

GeekTool - Customize Your Mac Desktop!

Jose Duran: Hi, Would it be possible to get a quick explanation as to how to customize in youtube ???? also what is the program should we use to make adjustments in style ???? as long as it is impossible to do it via Debug Console. Thanks a lot