Questions tagged [geektool]

GeekTool is an application for Mac OS 10.6+. It lets you display various kinds of information on your desktop via 3 default plug-ins:

GeekTool is an application for Mac OS 10.6+. It lets you display various kinds of information on your desktop via 3 default plug-ins:

File plugin to monitor MacOS X activity with /var/log/system.log, or any file that you want to follow. Shell mode to launch custom scripts or commands like "df" to check space left on filesystems or "uptime" to monitor load on your machine. Finally, image mode helps you monitor bandwith usage, CPU load, memory availability on your server with tools like MRTG or RRD.

Website : http://projects.tynsoe.org/en/geektool/

36 questions
4
votes
1 answer

Coffee Script Replace

Found this new app called Ubersicht. It's seems to be a decent GeekTool desktop replacement on mac, the widgets use coffee script. I found a great script : https://github.com/bgartenmann/uebersicht-only-this-widget The script has no…
4
votes
1 answer

ANSI Escape Sequences Disappear When Running a Ruby Script to Output to Geektool

I am trying to use the OS X app GeekTool to print colorized text output onto my Desktop. GeekTool allows you to place little windows called "geeklets" onto the Desktop. One kind of Geeklet displays the output of a shell command. My desired…
Sean Mackesey
  • 10,701
  • 11
  • 40
  • 66
1
vote
1 answer

Parse calendar (ICS) with AppleScript

Iam having a hard time cracking this. I have read an ICS file into AppleScript and I need to parse it. This is my code set calURL to "https://url.to.ics" set calenderData to do shell script "curl " & calURL The data reads in fine, but I need to…
1
vote
0 answers

How else should I call the reverse function? The output shows only one link when reverse is performed on Rlist

Main function: public static void main(String[] args) { AdditionLL Alist = new AdditionLL(); AdditionLL Blist = new AdditionLL(); AdditionLL Rlist = new AdditionLL(); Alist.addNode(3); Alist.addNode(7); Alist.addNode(0);…
Bhoomika S
  • 21
  • 2
1
vote
2 answers

How to get combine result for 2 different Query of different schema and tables with different datatypes into same table

I have 2 table. Table A Payment Table B Phone I want combine result of below 2 query of difference schema into 1 table. select Payment_DT from DW.Payment SELECT PHONE_NUMBER FROM STG_ANALYSIS.PHONE This is the output I am looking…
1
vote
1 answer

Peroidcly running osascript in shell script to run apple script

What I'm doing I running a shell script periodically that checks the resolution of my screen. Based on this it will run one of two apple scripts which basically changes the visibility on another application (geek tools). My problem The apple scrip…
Howard
  • 87
  • 1
  • 12
1
vote
1 answer

Geektool internet on/of image

Trying to display an image when I am connected to the internet and another when I am not, I managed to come up with this 2 geeklet system: 1 shell: if curl -f -s http://google.com > /dev/null ; then cp /Users/mike/Documents/net.png…
Miguel
  • 310
  • 1
  • 5
  • 17
1
vote
1 answer

GeekTool only iterates through my python loop once

I built a very simple script with PRAW that prints the top 10 link titles on reddit.com/r/worldnews. I want this to work with GeekTool, but only the following shows up: "TOP 10 NEWS ON REDDIT 1 NEWS TITLE 2 " I don't know why that happens since when…
alexis_egf
  • 15
  • 5
1
vote
1 answer

Geektool not working with python3

When I try to run a python script with python3 it does not work but it works when I just use python. Why is this? I have a simple hello.py file: __author__ = 'A' print("hellow") When I use python ~/path/hello.py with geektool it works, but not with…
Aravind
  • 550
  • 7
  • 17
1
vote
3 answers

Ruby, Mac, Geektool question, file access rights?

I have a Ruby script that I built in TextMate and can successfully run in TextMate. I can also successfully run this script straight from the terminal. The script has this chunk of code in it: # Get the XML file puts 'Opening the…
James P. Wright
  • 8,991
  • 23
  • 79
  • 142
1
vote
2 answers

Ruby system command not working outside console

I am trying to run growlnotify from inside a ruby script. The command I am using is this system("growlnotify Test -m message"). If I use the terminal to execute the script it works fine. If I use Textmate to run the script or Geektool (the eventual…
James P. Wright
  • 8,991
  • 23
  • 79
  • 142
1
vote
2 answers

Create newline with awk Command?

Im trying to edit a script in geek tool (mac app for desktop widgets), could someone help me make this statement only print out 10 or so words per line? curl -s www.brainyquote.com/quotes_of_the_day.html | egrep '(div class="bqQuoteLink")| …
Kevvvvyp
  • 1,704
  • 2
  • 18
  • 38
1
vote
0 answers

Geektool and TextMate Error

I am giving myself little projects during the winter break, and am trying to write little geektool scripts I can use for my desktop. I wrote this for ruby and it works in terminal, but when I run it in textmate I get a host is down error, and when I…
Chris Cruz
  • 171
  • 1
  • 1
  • 3
1
vote
1 answer

Get the Date of an Email via AppleScript

I am currently trying to customize an AppleScript that is reading the unread Mails in the Inbox. That basically works fine except the fact, that I can#T manage to get the date of the mails. After about 2 hours of googling around I found out that…
Jochen Birkle
  • 335
  • 4
  • 14
1
vote
0 answers

Resize Image with AppleScript

I've encountered a little problem when I wanted to modify a ApplScript, that I am using to get my current iTunes Coverinto a image file that I display on my Desktop via GeekTool. Now I wanted also to resize this Image because some Images are a bit…
Jochen Birkle
  • 335
  • 4
  • 14
1
2 3