<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ryanlineker.com &#187; Mac</title>
	<atom:link href="http://www.ryanlineker.com/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryanlineker.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 18 Oct 2011 22:09:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Dropbox on Mac OSX Lion 10.7 Developer Preview</title>
		<link>http://www.ryanlineker.com/2011/02/dropbox-on-mac-osx-lion-10-7/</link>
		<comments>http://www.ryanlineker.com/2011/02/dropbox-on-mac-osx-lion-10-7/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 21:20:47 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[lion]]></category>

		<guid isPermaLink="false">http://www.ryanlineker.com/?p=144</guid>
		<description><![CDATA[When testing out the Lion developer preview, I found that when I opened Dropbox it returned an error saying that the current version wasn&#8217;t compatible with the operating system. The fact of the matter is that this is utter rubbish and Dropbox seems to work fine for me on Lion. So if you are wanting [...]]]></description>
			<content:encoded><![CDATA[<p>When testing out the Lion developer preview, I found that when I opened Dropbox it returned an error saying that the current version wasn&#8217;t compatible with the operating system.</p>
<p>The fact of the matter is that this is utter rubbish and Dropbox seems to work fine for me on Lion. So if you are wanting to run Dropbox on 10.7 all you need to do is follow the simple steps below:</p>
<p>1. Show package contents on &#8216;Dropbox.app&#8217;<br />
2. Open &#8216;Info.plist&#8217; with your favourite editing program.<br />
3. Change the &#8216;Bundle Version&#8217; from &#8217;1.0.20&#8242; to &#8217;2.0&#8242;.</p>
<p>Now you should be able to run Dropbox on the Lion developer preview. </p>
<p>*Note that the Dropbox developers are working on an update to  fix this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanlineker.com/2011/02/dropbox-on-mac-osx-lion-10-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geektool Scripts</title>
		<link>http://www.ryanlineker.com/2010/05/geektool-scripts/</link>
		<comments>http://www.ryanlineker.com/2010/05/geektool-scripts/#comments</comments>
		<pubDate>Mon, 31 May 2010 10:10:01 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[geektool]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.ryanlineker.com/?p=23</guid>
		<description><![CDATA[Fed up of a plain boring desktop? Well I was too. Then while I was browsing various Mac forums, I stumbled upon a thread about Geektool and Geektool Scripts. Geektool is basically a &#8216;.prefpane&#8217; which is added to your System Preferences which then allows you to set up widget&#8217;s on your desktop. These widgets include: shell [...]]]></description>
			<content:encoded><![CDATA[<p>Fed up of a plain boring desktop? Well I was too. Then while I was browsing various Mac forums, I stumbled upon a thread about Geektool and Geektool Scripts. <a href="http://projects.tynsoe.org/en/geektool/">Geektool</a> is basically a &#8216;.prefpane&#8217; which is added to your System Preferences which then allows you to set up widget&#8217;s on your desktop. These widgets include: shell scripts, images or files on your PC. Below are some of the shell scripts I you can use with Geektool.<span id="more-23"></span></p>
<p>To display my computer information (computer name, os details, ram and processor) I use the code:</p>
<pre>scutil --get ComputerName;
sw_vers | awk -F':\t' '{print $2}' | paste -d ' ' - - - ;
sysctl -n hw.memsize | awk '{print $0/1073741824"gb RAM"}';
sysctl -n machdep.cpu.brand_string;</pre>
<p>For the numerical value of the day:</p>
<pre>date +%d</pre>
<p>For the name of  the month:</p>
<pre>date +%B</pre>
<p>For the time (hours:minutes):</p>
<pre>date +%H:%M</pre>
<p>For the day of the week:</p>
<pre>date +%A</pre>
<p>For the harddrive information (just replace disk0s1 with the drive number and partition you want to show) I used the following code:</p>
<pre>df -hl | grep 'disk0s1' |
awk '{print $4 " free " "("$2")"}' |
sed s/Gi/gb/g</pre>
<p>Also with icalBuddy you can have it display uncompleted tasks, upcoming events and much more on your desktop all form your iCal calendar. The script below is for tasks that need to be done:</p>
<pre>/usr/local/bin/icalBuddy uncompletedTasks</pre>
<p>This script is for upcoming events in your calendar in the next 31 days:</p>
<pre>/usr/local/bin/icalBuddy eventsToday+31</pre>
<p>To get any text label just create a script and insert the text you want between the speech marks.</p>
<pre>echo " "</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanlineker.com/2010/05/geektool-scripts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

