![]() At the bottom of the window is the style options, from which you can set the font to anything OS X supports, including custom fonts. From Geektool’s settings, click a Geeklet to open the Properties window. Set events_file to "Macintosh HD:Users:Nathan 2:Documents:ical-geektool:iCalevents. Shell Geeklets output text, and you can change the look and style of each one. this is the text file (the directory syncs to my iPod as well) I only use some of my calendars for this Set the end_day to (the start_day + (7 * days) - 1) go out 7 days to the last second before midnight ![]() Set the start_day to (this_date - (time of this_date)) GeekTool - Customize Your Mac Desktop GeekTool is a Mac OSX Application (or System Preference Pane) that lets you display various kinds of information on your. I'm going to write to a unix text file, because I use geektool and cat If you look closely some of the graffiti is my clock, date, month, weekday, CPU, RAM, Uptime, Top Processes, Weather, battery, to do list, and calendar. The script is here, with the original author’s annotations and details etc: - this script runs automatically at about 7.00 every morning, and can be run manually during the day for cleanup if necessary I’m fairly rubbish at scripting so any help would be massively appreciated. If anyone could come up with a totally different way to allow iCal to remain closed (parsing the calendar files?) it would be amazing. Naturally this impacts on geektool’s up-to-the-minute accuracy. Can anyone make any progress on this?Īlso does anyone have any better ideas? Currently I have made iCal dockless and it runs in the background invisibly taking up a tiny bit of CPU which is not ideal, but I have the scripts run every hour via Cronnix so iCal stays open inevitably. I want to make it as neat and sensible as possible basically. See what I mean? Rather like the brilliant icalevents widget here S p e c s a v e r s 0 9 : 4 0 t o 1 0 : 4 0ĭ i n n e r w i t h C h r i s 1 7 : 0 0 t o 1 8 : 0 0 It displays just fine when I enter: date date +d. T h u r s d a y, S e p t e m b e r 1 3, 2 0 0 7 Im trying to get Geektool to display a txt file, but the Geeklet stays blank. I don 't need to see each event with the individual date underneath. This is ok, but I want to make it better. T h u r s d a y, S e p t e m b e r 1 3, 2 0 0 7, 1 7 : 0 0 t o 1 8 : 0 0 T h u r s d a y, S e p t e m b e r 1 3, 2 0 0 7, 0 9 : 4 0 t o 1 0 : 4 0 To turn on 4 digit year display: date +'m-d-Y' Just display date as mm/dd/yy format: date +'D' Task: Display time only. I’ve already fiddled with it to get it to trim the seconds from the event start time and end time (which i thought were unnecessary.) I’ve also deleted the bit that tells you which calendar the event is from. Open a terminal and type the following date command: date +'m-d-y' Sample outputs: 02-27-07. The Events script is a little less perfect. I’m happy with the to-do list script - I’ve fiddled and managed to get it to include to-do’s without deadlines. Not that I know what ‘less’ does, but it seems to work well. Both of which write the events and to-dos to a text file that I then get Geektool to show on the desktop via the ‘less’ shell command. I’ve resorted to two Applescripts I found at. It had the advantage of working without opening iCal because it was parsing the calendar files themselves. ![]() One Perl script I found looked promising but was entirely beyond me and I couldn’t get it to work. Resize it, move it, do whatever with it, and you’re all set.I’ve been playing around with iCal and Geektool trying to come up with a way to show Upcoming Events and my To-Do’s on the Desktop. You should see text in the blue box from GeekTool: If you do that, the path should be “/Users/YourName/Documents/new.command”. I’d recommend putting it in your home folder, possibly in Documents. Now in the “Command” text box put the path to the script. Click “New Entry” and then choose “Shell” from the drop-down menu: Now install GeekTool, and open it in System Preferences. Hit enter, type your password, and that’s it. Open a terminal and type “sudo chmod +x” and drag the file into the window (or enter the path manually). First, rename the shell script as “mand”. To get it on your desktop, you’ll need to download GeekTool, and then the shell script from Novak (it’s the one entitled “news.sh”). That means you can configure GeekTool to embed the output from Novak’s script on your desktop, like so: GeekTool is a preference pane for embedding images, system logs, and output from Unix commands. By itself, not very useful unless you love the terminal (like I do). A man by the name of Rodolfo Novak has created a shell script that parses RSS feeds and generates excerpts for the last few entries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |