<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>bhaviksBlog</title>
	
	<link>http://bhaviksblog.com</link>
	<description />
	<lastBuildDate>Fri, 06 Nov 2009 20:25:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Bhaviksblog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="bhaviksblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>A Must Have iPhone App – Streaks</title>
		<link>http://bhaviksblog.com/05/a-must-have-iphone-app-streaks/</link>
		<comments>http://bhaviksblog.com/05/a-must-have-iphone-app-streaks/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:06:44 +0000</pubDate>
		<dc:creator>Bhavik</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://bhaviksblog.com/?p=314</guid>
		<description><![CDATA[I finally got myself an iPhone recently, thanks to my cousin randomly buying me one outta nowhere! The things amazing, theres nothing it can&#8217;t do. The first day I went on an app shopping spree. I think I had around 7 pages of apps within 6 hours of having the phone So anyway, I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got myself an iPhone recently, thanks to my cousin randomly buying me one outta nowhere! The things amazing, theres nothing it can&#8217;t do. The first day I went on an app shopping spree. I think I had around 7 pages of apps within 6 hours of having the phone <img src='http://bhaviksblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So anyway, I wanted to share my favorite app with you guys.</p>
<p>Some background info&#8230;<br />
I could never stay motivated to workout. I&#8217;d always start and go strong for 2 weeks and then stop for months. So I found this iPhone app called Streaks. It tracks how often you do something. You can setup a calendar for each thing you want to track. The thing I wanted to tackle was pushups. Each day I did them i&#8217;d mark an X in my Streaks app. Today I&#8217;m up to 29 days in a row! That&#8217;s pretty much unheard of for me, so the app works wonders. You can even track things every other day, every week, and every month.<br />
<span id="more-314"></span><br />
There was one incident that made me want to write about this app. I&#8217;ve got terrible allergies. My nose was running non-stop, eyes were red and itchy, head hurt, had a tissue stuffed up my nose to block the snot (pretty picture right?). I finally went to bed, got all cozy around 1:30 am and set my alarm for the next day on my iPhone. I noticed the streaks application and saw that my streak was gone because I forgot to do pushups that day. I had a 28 day streak at this point and didn&#8217;t wanna break it. So at 2 in the morning, feeling like complete trash and looking like a drug addict, I did my pushups and went to bed. If it wasn&#8217;t for that app, there was absolutely no way I was getting up.</p>
<p>This is a screenshot of their interface. Nice and simple.<br />
<a href="http://bhaviksblog.com/wp-content/uploads/2009/05/img_0001.png"><img src="http://bhaviksblog.com/wp-content/uploads/2009/05/img_0001.png" alt="streaks_iphone_app" title="streaks_iphone_app" width="320" height="480" class="alignnone size-full wp-image-315" /></a></p>
<p>The app is $2.99 right now, they also have a free version that only allows one calendar to track. Definitely something to check out for those that have a hard time keeping something going. </p>
<p>Thanks Streaks developers!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Hw2CgfVxqzsJwuPAKSQeDg-SsVA/0/da"><img src="http://feedads.g.doubleclick.net/~a/Hw2CgfVxqzsJwuPAKSQeDg-SsVA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Hw2CgfVxqzsJwuPAKSQeDg-SsVA/1/da"><img src="http://feedads.g.doubleclick.net/~a/Hw2CgfVxqzsJwuPAKSQeDg-SsVA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Yf3TCBnLHVQ:SjMVNBiQh5g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Yf3TCBnLHVQ:SjMVNBiQh5g:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=Yf3TCBnLHVQ:SjMVNBiQh5g:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Yf3TCBnLHVQ:SjMVNBiQh5g:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Yf3TCBnLHVQ:SjMVNBiQh5g:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=Yf3TCBnLHVQ:SjMVNBiQh5g:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Yf3TCBnLHVQ:SjMVNBiQh5g:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=dnMXMwOfBR0" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://bhaviksblog.com/05/a-must-have-iphone-app-streaks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Replace Gnome-Panel with Tint2</title>
		<link>http://bhaviksblog.com/04/replace-gnome-panel-with-tint2/</link>
		<comments>http://bhaviksblog.com/04/replace-gnome-panel-with-tint2/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 08:15:38 +0000</pubDate>
		<dc:creator>Bhavik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[desktop eye candy]]></category>
		<category><![CDATA[gnome panel]]></category>
		<category><![CDATA[task panel]]></category>
		<category><![CDATA[taskbar]]></category>
		<category><![CDATA[tint2]]></category>

		<guid isPermaLink="false">http://bhaviksblog.com/?p=153</guid>
		<description><![CDATA[Tint2 is a fully customizable taskbar that you can replace gnome-panel with. You can edit a config file to make it look exactly the way you want. Make your linux desktop look even more incredible with Tint2!]]></description>
			<content:encoded><![CDATA[<p>Hey guys, Today we&#8217;re going to get rid of gnome-panel and replace it with something much better looking&#8230;</p>
<p>Tint2 is a a fully customizable taskbar that can add some more eyecandy to your linux desktop. It features custom color and transparency on fonts, icons, borders and background. It also has a clock you can setup.</p>
<p>To get it, download it <a href="http://code.google.com/p/tint2/downloads/list">from this link.</a> Save it to your desktop and open up a terminal. Type in the following commands to extract and install tint2 (your folders may be different if you downloaded a different version)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> Desktop<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> tint2-<span style="color: #000000;">0.7</span>-beta1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> tint2-<span style="color: #000000;">0.7</span>-beta1.tar.gz<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> src<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>After the install, I tried to run it in my terminal and got this error&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">tint2: error <span style="color: #000000; font-weight: bold;">while</span> loading shared libraries: libImlib2.so.1: cannot open shared object <span style="color: #c20cb9; font-weight: bold;">file</span>: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory</pre></div></div>

<p>This can be fixed by installing the libimlib2 library. You can look for it in synaptic or type</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libimlib2</pre></div></div>

<p><span id="more-153"></span><br />
Now you need to play with the config file to get your desired look. The default config file should be under /etc/xdg/tint2/tint2rc. I was going for a transparent style with each open task as a floating element. Here is my tint2rc with a screenshot under it (tint2 is the bottom panel).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># TINT CONFIG FILE</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># PANEL</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
panel_mode = multi_monitor
panel_monitor = <span style="color: #000000;">1</span>
panel_position = bottom center
panel_size = <span style="color: #000000;">900</span> <span style="color: #000000;">28</span>
panel_margin = <span style="color: #000000;">15</span> <span style="color: #000000;">0</span>
panel_padding = <span style="color: #000000;">9</span> <span style="color: #000000;">3</span>
font_shadow = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># PANEL BACKGROUND AND BORDER</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
panel_rounded = <span style="color: #000000;">7</span>
panel_border_width = <span style="color: #000000;">1</span>
panel_background_color = <span style="color: #666666; font-style: italic;">#000000 60</span>
panel_border_color = <span style="color: #666666; font-style: italic;">#ffffff 18</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># TASKS</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
task_text_centered = <span style="color: #000000;">1</span>
task_width = <span style="color: #000000;">120</span>
task_margin = <span style="color: #000000;">2</span>
task_padding = <span style="color: #000000;">6</span>
task_icon_size = <span style="color: #000000;">13</span>
task_font = sans <span style="color: #000000;">7</span>
task_font_color = <span style="color: #666666; font-style: italic;">#ffffff 70</span>
task_active_font_color = <span style="color: #666666; font-style: italic;">#ffffff 85</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># TASK BACKGROUND AND BORDER</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
task_rounded = <span style="color: #000000;">5</span>
task_background_color = <span style="color: #666666; font-style: italic;">#ffffff 30</span>
task_active_background_color = <span style="color: #666666; font-style: italic;">#ffffff 50</span>
task_border_width = <span style="color: #000000;">0</span>
task_border_color = <span style="color: #666666; font-style: italic;">#ffffff 18</span>
task_active_border_color = <span style="color: #666666; font-style: italic;">#ffffff 70</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># CLOCK</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
time1_format = <span style="color: #000000; font-weight: bold;">%</span>H:<span style="color: #000000; font-weight: bold;">%</span>M
time1_font = sans <span style="color: #000000;">8</span>
time2_format = <span style="color: #000000; font-weight: bold;">%</span>A <span style="color: #000000; font-weight: bold;">%</span>d <span style="color: #000000; font-weight: bold;">%</span>B
time2_font = sans <span style="color: #000000;">6</span>
clock_font_color = <span style="color: #666666; font-style: italic;">#ffffff 76</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># MOUSE ACTION ON TASK</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------</span>
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify</pre></div></div>

<p><strong><a href="http://bhaviksblog.com/wp-content/uploads/2009/02/tint2_screenshot.png">Screenshot:</a></strong><br />
<a href="http://bhaviksblog.com/wp-content/uploads/2009/02/tint2_screenshot.png"><img src="http://bhaviksblog.com/wp-content/uploads/2009/02/tint2_screenshot-150x150.png" alt="tint2_screenshot" title="tint2_screenshot" width="150" height="150" class="alignnone size-thumbnail wp-image-300" /></a></p>
<p>Hope this helps make your desktop look even more incredible <img src='http://bhaviksblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p><a href="http://feedads.g.doubleclick.net/~a/Kb31RNheq0CMDnTclYVmJD1HQME/0/da"><img src="http://feedads.g.doubleclick.net/~a/Kb31RNheq0CMDnTclYVmJD1HQME/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Kb31RNheq0CMDnTclYVmJD1HQME/1/da"><img src="http://feedads.g.doubleclick.net/~a/Kb31RNheq0CMDnTclYVmJD1HQME/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=dpA3QzjPTao:X3335lwXr8s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=dpA3QzjPTao:X3335lwXr8s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=dpA3QzjPTao:X3335lwXr8s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=dpA3QzjPTao:X3335lwXr8s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=dpA3QzjPTao:X3335lwXr8s:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=dpA3QzjPTao:X3335lwXr8s:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=dpA3QzjPTao:X3335lwXr8s:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=dnMXMwOfBR0" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://bhaviksblog.com/04/replace-gnome-panel-with-tint2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Have Conky Check Your Email!</title>
		<link>http://bhaviksblog.com/03/have-conky-check-your-email/</link>
		<comments>http://bhaviksblog.com/03/have-conky-check-your-email/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 19:43:44 +0000</pubDate>
		<dc:creator>Bhavik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://bhaviksblog.com/?p=265</guid>
		<description><![CDATA[A python script that logs into an IMAP mail server, retrieves your mailbox info and displays it in conky. Shows the number of unread and total messages. Tested to work with gmail but should work with any IMAP server. Check it out!]]></description>
			<content:encoded><![CDATA[<p>So I think it&#8217;s pretty clear that I don&#8217;t like doing things in my browser that a script can do for me. <a href="http://bhaviksblog.com/02/woot-item-of-the-day-on-your-desktop/">Woot.com</a>, <a href="http://bhaviksblog.com/02/stock-quotes-on-your-desktop-with-conky/">Stock Quotes</a> and <a href="http://bhaviksblog.com/02/nhl-scoreboard-right-on-your-desktop/">NHL Scores</a> have all been taken care of. Now if only conky could tell me if I have new mail. This would save me from logging in and checking manually&#8230;</p>
<p>Thanks to python&#8217;s easy to use IMAP library this is a piece of cake. The script should work with any IMAP mail server. I have tested it with my Gmail and Drexel University accounts. Your mail server info should be publicly available. Google has theirs under the gmail settings >> imap/pop3 tab (You may have to enable imap under this tab). Best bet is to search google.</p>
<p>The script shows you the total number of messages in your inbox and the number that are unread.</p>
<p>To get it working edit your .conkyrc file. Add the following line under the TEXT section. Change the path to where your script is</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #800000;">${execi 60 python /path/to/script/imap.py}</span></pre></div></div>

<p>This&#8217;ll make obsessive email checking much easier&#8230;no need to login manually <img src='http://bhaviksblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-265"></span><br />
<strong>Screenshot</strong><br />
<a href="http://bhaviksblog.com/wp-content/uploads/2009/03/gmail_imap_email_conky.png"><img src="http://bhaviksblog.com/wp-content/uploads/2009/03/gmail_imap_email_conky-150x150.png" alt="gmail_imap_email_conky" title="gmail_imap_email_conky" width="150" height="150" class="alignnone size-thumbnail wp-image-267" /></a></p>
<p><a href='http://bhaviksblog.com/wp-content/uploads/2009/03/imap.py'>Download IMAP.py here</a> (Right click and Save link as&#8230;)</p>

<p><a href="http://feedads.g.doubleclick.net/~a/A8uk9dbOgU-xOnvOrGyH_KB8_kk/0/da"><img src="http://feedads.g.doubleclick.net/~a/A8uk9dbOgU-xOnvOrGyH_KB8_kk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/A8uk9dbOgU-xOnvOrGyH_KB8_kk/1/da"><img src="http://feedads.g.doubleclick.net/~a/A8uk9dbOgU-xOnvOrGyH_KB8_kk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Eqg-VhqGBrk:zPEDgemsUrY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Eqg-VhqGBrk:zPEDgemsUrY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=Eqg-VhqGBrk:zPEDgemsUrY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Eqg-VhqGBrk:zPEDgemsUrY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Eqg-VhqGBrk:zPEDgemsUrY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=Eqg-VhqGBrk:zPEDgemsUrY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=Eqg-VhqGBrk:zPEDgemsUrY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=dnMXMwOfBR0" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://bhaviksblog.com/03/have-conky-check-your-email/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Woot.com Item of the Day on your Desktop</title>
		<link>http://bhaviksblog.com/02/woot-item-of-the-day-on-your-desktop/</link>
		<comments>http://bhaviksblog.com/02/woot-item-of-the-day-on-your-desktop/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 20:14:37 +0000</pubDate>
		<dc:creator>Bhavik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[item]]></category>
		<category><![CDATA[woot]]></category>
		<category><![CDATA[woot.com]]></category>

		<guid isPermaLink="false">http://bhaviksblog.com/?p=245</guid>
		<description><![CDATA[The first thing I check in my browser everyday is what&#8217;s for sale on woot.com. Its a site that features one deal per day and charges 5 bucks for shipping no matter what the product is. This morning I decided to write a script to stick the deal in my conky. Having it sit on [...]]]></description>
			<content:encoded><![CDATA[<p>The first thing I check in my browser everyday is what&#8217;s for sale on <a href="http://www.woot.com">woot.com</a>. Its a site that features one deal per day and charges 5 bucks for shipping no matter what the product is.</p>
<p>This morning I decided to write a script to stick the deal in my conky. Having it sit on my desktop means one less thing to manually check in my browser <img src='http://bhaviksblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you don&#8217;t know what conky is <a href="http://bhaviksblog.com/02/awesome-system-monitoring-with-conky">here&#8217;s my conky tutorial</a><br />
I used the same method as I do in the rest of my scripts&#8230;set flags around our data, extract the info between the flags and shoot it out to conky.<br />
<span id="more-245"></span><br />
To get it working add this line to your .conkyrc under the TEXT section</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #800000;">${execi 12000 python /path/to/script/woot.py}</span></pre></div></div>

<p>Now you&#8217;ll know what&#8217;s on Woot as soon as you turn on your computer <img src='http://bhaviksblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Screenshot</strong><br />
<a href="http://bhaviksblog.com/wp-content/uploads/2009/02/wootcom_item_conky.png" target="_blank"><img src="http://bhaviksblog.com/wp-content/uploads/2009/02/wootcom_item_conky-150x150.png" alt="wootcom_item_conky" title="wootcom_item_conky" width="150" height="150" class="alignnone size-thumbnail wp-image-252" /></a></p>
<p><a href='http://bhaviksblog.com/wp-content/uploads/2009/03/woot.py'>Download woot.py here</a> (Right click and Save link as&#8230;)</p>

<p><a href="http://feedads.g.doubleclick.net/~a/xqkvwOqpjVi7uD_F0pe4s9fmVpI/0/da"><img src="http://feedads.g.doubleclick.net/~a/xqkvwOqpjVi7uD_F0pe4s9fmVpI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xqkvwOqpjVi7uD_F0pe4s9fmVpI/1/da"><img src="http://feedads.g.doubleclick.net/~a/xqkvwOqpjVi7uD_F0pe4s9fmVpI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=leBCwlosyd0:m-haIRRzYVE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=leBCwlosyd0:m-haIRRzYVE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=leBCwlosyd0:m-haIRRzYVE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=leBCwlosyd0:m-haIRRzYVE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=leBCwlosyd0:m-haIRRzYVE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=leBCwlosyd0:m-haIRRzYVE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=leBCwlosyd0:m-haIRRzYVE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=dnMXMwOfBR0" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://bhaviksblog.com/02/woot-item-of-the-day-on-your-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stock Quotes on your Desktop with Conky</title>
		<link>http://bhaviksblog.com/02/stock-quotes-on-your-desktop-with-conky/</link>
		<comments>http://bhaviksblog.com/02/stock-quotes-on-your-desktop-with-conky/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 20:09:22 +0000</pubDate>
		<dc:creator>Bhavik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[quotes]]></category>
		<category><![CDATA[stock widget]]></category>
		<category><![CDATA[stocks]]></category>
		<category><![CDATA[stocks on desktop]]></category>
		<category><![CDATA[ticker]]></category>

		<guid isPermaLink="false">http://bhaviksblog.com/?p=235</guid>
		<description><![CDATA[A script that pulls stock quotes from yahoo finance and displays them inside conky right on your desktop!]]></description>
			<content:encoded><![CDATA[<p>I wrote another script today to save me from needing to open up a browser.<br />
The old process for stock quotes was, go to yahoo, type in each stock, get the price.<br />
The new process involves only directing my attention to the bottom right corner of my desktop. All stocks of interest are lined up inside my conky. They auto refresh every 2 minutes for me. I can see the current value, what it opened at, and the change.</p>
<p>If you don&#8217;t know what conky is <a href="http://bhaviksblog.com/awesome-system-monitoring-with-conky">click here</a> for my conky tutorial.</p>
<p>To get it working, download the script and add the following line to your .conkyrc<br />
<span id="more-235"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #800000;">${execi 120 python /path/to/script/stocks.py stock1 stock2 stock3}</span></pre></div></div>

<p>Replace 120 with your interval, use your path to the script, and change the stocks to actual stock quotes.<br />
Example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#123;</span>execi <span style="color: #000000;">120</span> python <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>bhavik<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>stocks.py goog msft aapl<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>Hope it helps any of the linux users out there that also like to trade =)</p>
<p><strong>Changes:</strong><br />
3/5/09 &#8211; Removed decimal conversion to float&#8230;<br />
            If the market was closed the value was N/A.<br />
            Since you can&#8217;t convert a string to float it was getting errors.<br />
            Should be good now.</p>
<p><strong>Screenshot</strong><br />
<a href="http://bhaviksblog.com/wp-content/uploads/2009/02/conky_stocks_screenshot.png"><img src="http://bhaviksblog.com/wp-content/uploads/2009/02/conky_stocks_screenshot-150x150.png" alt="conky_stocks_screenshot" title="conky_stocks_screenshot" width="150" height="150" class="alignnone size-thumbnail wp-image-237" /></a><br />
<a href='http://bhaviksblog.com/wp-content/uploads/2009/02/stocks.py'>Download Stocks.py Here</a> (Right click and Save link as&#8230;)</p>

<p><a href="http://feedads.g.doubleclick.net/~a/UQn2tx5otV0VTe7tW8JJvPJu2jk/0/da"><img src="http://feedads.g.doubleclick.net/~a/UQn2tx5otV0VTe7tW8JJvPJu2jk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/UQn2tx5otV0VTe7tW8JJvPJu2jk/1/da"><img src="http://feedads.g.doubleclick.net/~a/UQn2tx5otV0VTe7tW8JJvPJu2jk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=6qorMvmtAkY:QrNQPg0XDh0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=6qorMvmtAkY:QrNQPg0XDh0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=6qorMvmtAkY:QrNQPg0XDh0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=6qorMvmtAkY:QrNQPg0XDh0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=6qorMvmtAkY:QrNQPg0XDh0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?i=6qorMvmtAkY:QrNQPg0XDh0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Bhaviksblog?a=6qorMvmtAkY:QrNQPg0XDh0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Bhaviksblog?d=dnMXMwOfBR0" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://bhaviksblog.com/02/stock-quotes-on-your-desktop-with-conky/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>
