hivefert.blogg.se

Useful geektool scripts
Useful geektool scripts











useful geektool scripts
  1. USEFUL GEEKTOOL SCRIPTS HOW TO
  2. USEFUL GEEKTOOL SCRIPTS FOR MAC OS X
  3. USEFUL GEEKTOOL SCRIPTS FULL
  4. USEFUL GEEKTOOL SCRIPTS WINDOWS

If you try to fix this, you can, but you run into the fact that GeekTool keeps track of its geeklets by means of hexadecimal UIDs instead of the names that you already gave your geeklets when you created them. This can ruin a carefully-crafted desktop. For instance, it often reshuffles the order of which geeklets get loaded first. It could use improvement in certain areas. But if you are a Geek, it couldn't really much get easier to use. And most other things don't make a lot of sense then.

USEFUL GEEKTOOL SCRIPTS HOW TO

If you don't know what a shell script is, or how to write one, or are totally unfamiliar with things that live in /usr/bin, you won't be able to do much besides put images on your desktop. It's called GeekTool for a reason you have to already have some geekery ability to make it do much of interest. Look at for more examples and scripts.Fantastic app. A number of scripts and examples are available online, including my own that allow you to keep an eye on uptime/CPU/RAM usage, current weather conditions, and even upcoming items from The Hit List.

useful geektool scripts

This is a pretty simplistic example of what you can do with GeekTool.

USEFUL GEEKTOOL SCRIPTS WINDOWS

The Keep On Top checkbox is handy as it will cause the output of the Geeklet to float over any windows that also occupy that space on the desktop. Resize the window to make sure all of the text is visible.

useful geektool scripts

You can set a background color and opacity, change the text font and color, and whatever else you want in order to customize the text to your preference. Within the Geeklet square on the desktop, you should see this information now. With a script like this, you could set it to 3600 to run every hour as this information should not change often. Change the Refresh Every option to something like 600 to run the script every 10 minutes.

USEFUL GEEKTOOL SCRIPTS FULL

Switch back to GeekTool and in the Command field enter: /Users//bin/gt-scripts/gt-ipinfo.sh or the full path to where this script lives. The script simply displays the external IP (obtained from ) and the IP(s) assigned to the computer on the local network.

useful geektool scripts

Next, make the script executable and test it by executing: $ chmod a+x gt-ipinfo.sh. Create a new file called gt-ipinfo.sh in this directory with the following contents: #!/bin/sh external=$(curl -s | awk " fi I store my GeekTool scripts in ~/bin/gt-scripts/. Now open the Terminal and find a place to create your shell script. In the Command section of the Properties, we want to give it the path to a shell script to execute. You can move it around, resize it, and adjust the properties at this point. Drag the box to to the location on the desktop where you want it to be displayed. An empty box will appear and a Properties window will show up. As an illustration, we’ll create a Geeklet that displays the computer’s internal and external IP addresses.ĭrag the Shell icon to the desktop. Once the Preference Pane is installed, you can create a new “Geeklet” by dragging one of the icons to your desktop. The real power in GeekTool is displaying output from shell scripts, which makes the “Geek” in GeekTool apt for many. These can be used to display or tail the contents of files on the desktop (think log files), the output of shell scripts, and image graphics (like RRD or MRTG graphs), respectively.įor a lot of people, GeekTool may be nothing more than a novelty, but for system administrators and others, GeekTool can be a real boon. It comes with three modules: the file plugin, the shell plugin, and the image plugin.

USEFUL GEEKTOOL SCRIPTS FOR MAC OS X

GeekTool is a fantastic System Preference Pane for Mac OS X that allows you to display a variety of different pieces of information directly on the desktop. Vincent Danen introduces GeekTool, a System Preference Pane for Mac OS X that allows you to display system information of your choice directly on the desktop. Get system display options with GeekTool for the Mac













Useful geektool scripts