<?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/"
	xmlns:georss="http://www.georss.org/georss">

<channel>
	<title>Here comes the Sun &#187; linux</title>
	<atom:link href="http://sunng.info/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunng.info/blog</link>
	<description>Life ramblings</description>
	<lastBuildDate>Thu, 02 Sep 2010 12:29:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Next to Richard Stallman</title>
		<link>http://sunng.info/blog/2010/08/next-to-richard-stallman/</link>
		<comments>http://sunng.info/blog/2010/08/next-to-richard-stallman/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 06:23:50 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[自话]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/08/next-to-richard-stallman/</guid>
		<description><![CDATA[我这个人一般不八卦，你知道的。但是个别时候实在是情难以堪。 Bug 626593 &#8211; Gnome ate my boyfriend! Help! https://bugzilla.gnome.org/show_bug.cgi?id=626593 这位女士在GNOME bugzilla上提交bug，bug提交在empathy项目下。（注 dict empathy: 心意相通） 先不看正文，备注信息就极具幽默感： Status: RESOLVED INVALID Product: empathy Component: User Guide Version: unspecified OS: Windows Importance: Normal critical 是不是真的RESOLVED就不知道了。 事情的直接原因是上周海牙GUADEC，此男cancel了周末和这位reporter的约会。此女不堪长期忍受此男、Linux、Maemo、C等等，彻底爆发了。 He even tried to put Linux on my computer and I simply could not take it. I came home from work one [...]]]></description>
			<content:encoded><![CDATA[<p>我这个人一般不八卦，你知道的。但是个别时候实在是情难以堪。</p>
<p>Bug 626593 &#8211; Gnome ate my boyfriend! Help!<br />
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=626593">https://bugzilla.gnome.org/show_bug.cgi?id=626593</a></p>
<p>这位女士在GNOME bugzilla上提交bug，bug提交在empathy项目下。（注 dict empathy: 心意相通）</p>
<p>先不看正文，备注信息就极具幽默感：<br />
Status:  	 RESOLVED INVALID<br />
Product: 	empathy<br />
Component: 	User Guide<br />
Version: 	unspecified<br />
OS: 	Windows<br />
Importance:  	Normal critical </p>
<p>是不是真的RESOLVED就不知道了。</p>
<p>事情的直接原因是上周海牙GUADEC，此男cancel了周末和这位reporter的约会。此女不堪长期忍受此男、Linux、Maemo、C等等，彻底爆发了。</p>
<p>He even tried to put Linux on my computer and I simply could not take it.  I came home from work one day and my computer said &#8220;UNIX&#8221; all over it!<br />
这句有力的证明了我曾经看到的一句箴言，给女生装linux，对她们、对电脑、对linux都是一种折磨。</p>
<p>接下来搞笑开始了。一楼就是一位极缺乏幽默感的大叔：<br />
Akhil Laddha      2010-08-11 06:45:46 UTC<br />
This is a GNOME bug tracking system, not any family consultancy.</p>
<p>二楼是位好心人，提出了一个Linux week计划，还一厢情愿整了个交易计划：<br />
for each bug you report, he has to spend one night with you without the computer.</p>
<p>八楼精华：<br />
 David Liang      2010-08-12 08:53:16 UTC<br />
不得不顶</p>
<p>九楼亮出一个家属俱乐部的邮件列表：<br />
gnome-women-list@gnome.org，说你要是在家属圈子里麻将打得无敌手，自然你的boyfriend就崇拜你了，到时你就是爷了</p>
<p>高潮在十楼出现了，“你不说这男的是谁我们怎么帮你？”</p>
<p>紧接着十一楼一位神秘人士笑而不语。</p>
<p>十四楼比较直接<br />
#apt-get remove boyfriend &#8211;purge</p>
<p>十九楼知道宁拆十座庙的道理，建议先查看一下情况再说：<br />
cat /dev/boyfriend | grep love</p>
<p>最冷的是十六楼说咱们有这么个项目的：<br />
<a href="http://projects.gnome.org/outreach/women/">http://projects.gnome.org/outreach/women/</a></p>
<p>你以为故事就这么结束了，你错了。<br />
没想到男主人公的网站被我不经意间人肉出来了：<br />
<a href="http://zachgoldberg.com">http://zachgoldberg.com</a></p>
<p>一上来第一篇就说这事：<br />
<a href="http://zachgoldberg.com/2010/08/12/help-my-girlfriend-learned-how-to-use-a-bug-tracker/">HELP! My Girlfriend Learned How To Use A Bug Tracker</a></p>
<p>I never thought it would happen.</p>
<p>此男字字珠玑：<br />
It all started one night when I got home very late from work (where I get to play with Linux all day… who would ever go home?).  I got the usual “you need to pay more attention to me” and “Linux will never have sex with you!”.  I sat through it all and when it was over she went to sleep and I…. opened up my Laptop (running Ubuntu Linux, of course) and started hacking.  All is right with the world.</p>
<p>于是他发现自己上了LWN的Quote of the Week，和RMS的新闻并列，然后又被转载到hacker news, geek.com, slashdot。他感叹道 I never imagined my entry into the “slashdot number of zero” (think Erdos or Kevin Bacon) club would happen in this way.</p>
<p>最后他说他要开一个bugs.zachgoldberg.com专门解决这类的问题，If you want your own component in the bugtracker to help you and your loved one vent your problems all you need to do is ask!</p>
<p>哈哈哈哈</p>
<p>补充个精华链接：http://www.reddit.com/r/linux/comments/d02j6/bug_626593_gnome_ate_my_boyfriend/</p>
<p>最后daf同学总结性地指出，她不会学习使用bug tracker。</p>
<p>The post is brought to you by <a href="http://fedorahosted.org/lekhonee">lekhonee</a> v0.7</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/08/next-to-richard-stallman/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>用markdown书写文档</title>
		<link>http://sunng.info/blog/2010/07/%e7%94%a8markdown%e4%b9%a6%e5%86%99%e6%96%87%e6%a1%a3/</link>
		<comments>http://sunng.info/blog/2010/07/%e7%94%a8markdown%e4%b9%a6%e5%86%99%e6%96%87%e6%a1%a3/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 11:36:54 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/07/%e7%94%a8markdown%e4%b9%a6%e5%86%99%e6%96%87%e6%a1%a3/</guid>
		<description><![CDATA[写文档是头疼事，没人愿意写文档。在word里写文档，时间长了都怀疑自己是不是搞技术的。我阅历有限，在我的印象里就没有用word格式看过什么有价值的东西。只要一打开word想到的就是连篇累牍的废话、码字。word最重要的功能是什么？保存。其次呢？字数统计。我所写过的word文档绝大多数都是“只写”的，通常作为流程里的一个附件，没有人真正去看。 以上是人身攻击，接下来比较实际的问题，word文档不是符合unix哲学的东西。格式不开放，你就没有办法进行diff操作，把word文档放到svn里，只能使用最基本的版本控制，没法查看changeset，只知道改了，不知道改了什么。 为了改变这种情况，我试过用docbook格式。docbook用xml书写，定义了一套复杂的Schema，详细到作者的email都有定义。docbook还有丰富的工具集，可以通过xsl把docbook转换成所有你知道的文档格式。Maven: the Definitive Guide就是用docbook写成的。不过用docbook也存在一些问题，docbook太复杂了，用纯文本编辑器很难处理，作者的学习曲线也比较高，需要所见即所得的编辑器支持。与docbook相类似的DITA，也存在这样的问题，它们是重量级的格式。 轻量级的Wiki格式不错，但是Wiki格式很让人头疼就是没有统一的规范。举例，dokuwiki里顶级标题是6个=，而moinmoin里顶级标题恰恰相反是一个=，不portable，文档维护起来就非常麻烦。 铺垫了这么多，委屈以上格式了，该markdown出场了。markdown是简单的html原型，用来生成html，它的设计目标就是为了KISS，兼容html。看看一些必要的格式吧：（或者直接看Wikipedia） 标题 # 标题 ## 二级标题 &#8230; ###### 六级标题 对于一级标题还可以这么写 headline ======== 二级标题可以 headline &#8212;&#8212;&#8211; 这个怎么输入呢，我想起来前几天看vim hacks里的一组快捷键 yypoVr= yypoVr- 谁用谁知道 段落： 一段文本以两个换行结束。 换行： 一行文本行末两个空格。 图片 ![alternative text](image-url &#8220;image-title&#8221;) 用markdown，图片的alt你不写都不行。 链接 [Linktext](link &#8220;linktitle&#8221;) 列表 ul 无序列表 * * ol 有序列表 1. 2. 以上就是主要的格式支持。用标题来划分文档层次，没有多余的格式，没有机会让你五颜六色。 在linux上可以安装markdown的处理脚本： apt-get install markdown 安装vim的语法文件： http://www.vim.org/scripts/script.php?script_id=1242 [...]]]></description>
			<content:encoded><![CDATA[<p>写文档是头疼事，没人愿意写文档。在word里写文档，时间长了都怀疑自己是不是搞技术的。我阅历有限，在我的印象里就没有用word格式看过什么有价值的东西。只要一打开word想到的就是连篇累牍的废话、码字。word最重要的功能是什么？保存。其次呢？字数统计。我所写过的word文档绝大多数都是“只写”的，通常作为流程里的一个附件，没有人真正去看。</p>
<p>以上是人身攻击，接下来比较实际的问题，word文档不是符合unix哲学的东西。格式不开放，你就没有办法进行diff操作，把word文档放到svn里，只能使用最基本的版本控制，没法查看changeset，只知道改了，不知道改了什么。</p>
<p>为了改变这种情况，我试过用<a href="http://www.docbook.org/">docbook</a>格式。docbook用xml书写，定义了一套复杂的Schema，详细到作者的email都有定义。docbook还有丰富的工具集，可以通过xsl把docbook转换成所有你知道的文档格式。<a href="http://www.sonatype.com/products/maven/documentation/book-defguide">Maven: the Definitive Guide</a>就是用docbook写成的。不过用docbook也存在一些问题，docbook太复杂了，用纯文本编辑器很难处理，作者的学习曲线也比较高，需要所见即所得的编辑器支持。与docbook相类似的DITA，也存在这样的问题，它们是重量级的格式。</p>
<p>轻量级的Wiki格式不错，但是Wiki格式很让人头疼就是没有统一的规范。举例，dokuwiki里顶级标题是6个=，而moinmoin里顶级标题恰恰相反是一个=，不portable，文档维护起来就非常麻烦。</p>
<p>铺垫了这么多，委屈以上格式了，该<a href="http://daringfireball.net/projects/markdown/">markdown</a>出场了。markdown是简单的html原型，用来生成html，它的设计目标就是为了KISS，兼容html。看看一些必要的格式吧：（或者直接看<a href="http://en.wikipedia.org/wiki/Markdown">Wikipedia</a>）<br />
标题<br />
# 标题<br />
## 二级标题<br />
&#8230;<br />
###### 六级标题</p>
<p>对于一级标题还可以这么写<br />
headline<br />
========<br />
二级标题可以<br />
headline<br />
&#8212;&#8212;&#8211;<br />
这个怎么输入呢，我想起来前几天看vim hacks里的一组快捷键<br />
yypoVr=<br />
yypoVr-<br />
谁用谁知道</p>
<p>段落：<br />
一段文本以两个换行结束。<br />
换行：<br />
一行文本行末两个空格。</p>
<p>图片<br />
![alternative text](image-url &#8220;image-title&#8221;)<br />
用markdown，图片的alt你不写都不行。</p>
<p>链接<br />
[Linktext](link &#8220;linktitle&#8221;)</p>
<p>列表<br />
ul 无序列表<br />
*<br />
*<br />
ol 有序列表<br />
1.<br />
2.</p>
<p>以上就是主要的格式支持。用标题来划分文档层次，没有多余的格式，没有机会让你五颜六色。</p>
<p>在linux上可以安装markdown的处理脚本：<br />
apt-get install markdown<br />
安装vim的语法文件：</p>
<p>http://www.vim.org/scripts/script.php?script_id=1242</p>
<p>这里是一个简单的例子：</p>
<p>http://github.com/sunng87/exaile-doubanfm-plugin/blob/master/README.mkd</p>
<p>The post is brought to you by <a href="http://fedorahosted.org/lekhonee">lekhonee</a> v0.7</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/07/%e7%94%a8markdown%e4%b9%a6%e5%86%99%e6%96%87%e6%a1%a3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>exaile豆瓣电台插件(exaile-doubanfm-plugin)</title>
		<link>http://sunng.info/blog/2010/07/exaile%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6exaile-doubanfm-plugin/</link>
		<comments>http://sunng.info/blog/2010/07/exaile%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6exaile-doubanfm-plugin/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 10:07:04 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[广告]]></category>
		<category><![CDATA[Douban]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/07/exaile%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6exaile-doubanfm-plugin/</guid>
		<description><![CDATA[豆瓣电台一直是flash客户端，嵌入浏览器，出于对flash的厌恶，本人开发了这个exaile插件，让广大linux同学在exaile里享受豆瓣电台一目了然桌面集成和全部豆瓣电台功能。 exaile-doubanfm-plugin features: 登录豆瓣，获取豆瓣电台播放列表 持续下载电台播放列表，实现不重复的持续播放 标记/取消“喜爱”、标记“回收站”、跳过 显示歌曲信息 项目地址： http://github.com/sunng87/exaile-doubanfm-plugin 下载页： http://github.com/sunng87/exaile-doubanfm-plugin/downloads 使用： 激活插件，填写用户名密码 重启exaile 文件菜单，open douban.fm，选择频道 点击播放开始 将rating设置为5 标记喜欢 rating设置2 豆瓣标准跳过 rating设置1 豆瓣删除 The post is brought to you by lekhonee v0.7]]></description>
			<content:encoded><![CDATA[<p>豆瓣电台一直是flash客户端，嵌入浏览器，出于对flash的厌恶，本人开发了这个exaile插件，让广大linux同学在exaile里享受豆瓣电台一目了然桌面集成和全部豆瓣电台功能。</p>
<p>exaile-doubanfm-plugin features:</p>
<ul>
<li>登录豆瓣，获取豆瓣电台播放列表</li>
<li>持续下载电台播放列表，实现不重复的持续播放</li>
<li>标记/取消“喜爱”、标记“回收站”、跳过</li>
<li>显示歌曲信息</li>
</ul>
<p><a href="http://www.flickr.com/photos/40741608@N08/4754619030/" title="screenshot_001 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4094/4754619030_933e00fcfa.jpg" width="500" height="359" alt="screenshot_001" /></a></p>
<p><a href="http://www.flickr.com/photos/40741608@N08/4754615592/" title="screenshot_002 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4079/4754615592_0c1486c2df.jpg" width="500" height="359" alt="screenshot_002" /></a></p>
<p><a href="http://www.flickr.com/photos/40741608@N08/4754666940/" title="screenshot_002 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4141/4754666940_b998d99c4b.jpg" width="500" height="412" alt="screenshot_002" /></a></p>
<p>项目地址：<br />
<a href="http://github.com/sunng87/exaile-doubanfm-plugin">http://github.com/sunng87/exaile-doubanfm-plugin</a></p>
<p>下载页：<br />
<a href="http://github.com/sunng87/exaile-doubanfm-plugin/downloads">http://github.com/sunng87/exaile-doubanfm-plugin/downloads</a></p>
<p>使用：</p>
<ol>
<li>激活插件，填写用户名密码</li>
<li>重启exaile</li>
<li>文件菜单，open douban.fm，选择频道</li>
<li>点击播放开始</li>
<li>将rating设置为5 标记喜欢</li>
<li>rating设置2 豆瓣标准跳过</li>
<li>rating设置1 豆瓣删除</li>
</ol>
<p>The post is brought to you by <a href="http://fedorahosted.org/lekhonee">lekhonee</a> v0.7</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/07/exaile%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6exaile-doubanfm-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exaile-Douban-Covers 0.0.3 Released</title>
		<link>http://sunng.info/blog/2010/06/exaile-douban-covers-0-0-3-released/</link>
		<comments>http://sunng.info/blog/2010/06/exaile-douban-covers-0-0-3-released/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 12:26:36 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[广告]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/06/exaile-douban-covers-0-0-3-released/</guid>
		<description><![CDATA[一眨眼有大半年没有维护这个插件了，Exaile从0.3.0升级到了0.3.2。严重的是这三个版本的插件接口各不相同，0.3.1新增了cover providers管理， 修改了track获得相应字段的api，简化了CoverSearchMethod的职责（去掉了缓存管理，只负责find_convers和get_conver_data两个功能）。而0.3.2至少也修改了配置管理界面的API，所以可以在0.3.1上工作的版本也不能在0.3.2上工作。 这次升级维护把插件升级到0.0.3，兼容目前Ubuntu仓库里的Exaile 0.3.1.1。0.3.1.1新提供了一个cover provider的配置界面，可以调整cover provider的优先级，如果你听中文歌比较多，建议可以把douban cover放在第一位。 下载页面（doubancovers-0.0.3.exz ）： http://bitbucket.org/sunng/exailedoubancovers/downloads 新版本和0.3.0已经无法兼容，0.3.0的用户可以继续使用0.0.2 。而兼容0.3.2的版本预计要等到10月份之后推出了，用Archlinux和其他自己安装的用户要稍等一阵了。 The post is brought to you by lekhonee v0.7]]></description>
			<content:encoded><![CDATA[<p>一眨眼有大半年没有维护这个插件了，Exaile从0.3.0升级到了0.3.2。严重的是这三个版本的插件接口各不相同，0.3.1新增了cover providers管理， 修改了track获得相应字段的api，简化了CoverSearchMethod的职责（去掉了缓存管理，只负责find_convers和get_conver_data两个功能）。而0.3.2至少也修改了配置管理界面的API，所以可以在0.3.1上工作的版本也不能在0.3.2上工作。</p>
<p>这次升级维护把插件升级到0.0.3，兼容目前Ubuntu仓库里的Exaile 0.3.1.1。0.3.1.1新提供了一个cover provider的配置界面，可以调整cover provider的优先级，如果你听中文歌比较多，建议可以把douban cover放在第一位。</p>
<p>下载页面（doubancovers-0.0.3.exz ）：<br />
<a href="http://bitbucket.org/sunng/exailedoubancovers/downloads">http://bitbucket.org/sunng/exailedoubancovers/downloads</a></p>
<p>新版本和0.3.0已经无法兼容，0.3.0的用户可以继续使用0.0.2 。而兼容0.3.2的版本预计要等到10月份之后推出了，用Archlinux和其他自己安装的用户要稍等一阵了。</p>
<p>The post is brought to you by <a href="http://fedorahosted.org/lekhonee">lekhonee</a> v0.7</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/06/exaile-douban-covers-0-0-3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python获取本机IP</title>
		<link>http://sunng.info/blog/2010/06/python%e8%8e%b7%e5%8f%96%e6%9c%ac%e6%9c%baip/</link>
		<comments>http://sunng.info/blog/2010/06/python%e8%8e%b7%e5%8f%96%e6%9c%ac%e6%9c%baip/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 14:38:01 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[把戏]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=581</guid>
		<description><![CDATA[除了用inetface库和分析ifconfig输出以外，一个比较简单的获取本机IP的方法： import socket def get_local_ip&#40;&#41;: &#160; &#160; s = socket.socket&#40;socket.AF_INET, socket.SOCK_DGRAM&#41; &#160; &#160; s.connect&#40;&#40;&#34;sdo.com&#34;,80&#41;&#41; &#160; &#160; return s.getsockname&#40;&#41;&#91;0&#93; 参考 http://stackoverflow.com/questions/166506/finding-local-ip-addresses-in-python]]></description>
			<content:encoded><![CDATA[<p>除了用<a href="http://alastairs-place.net/netifaces/">inetface</a>库和分析ifconfig输出以外，一个比较简单的获取本机IP的方法：</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">socket</span><br />
<span style="color: #ff7700;font-weight:bold;">def</span> get_local_ip<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:<br />
&nbsp; &nbsp; s = <span style="color: #dc143c;">socket</span>.<span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">socket</span>.<span style="color: black;">AF_INET</span>, <span style="color: #dc143c;">socket</span>.<span style="color: black;">SOCK_DGRAM</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; s.<span style="color: black;">connect</span><span style="color: black;">&#40;</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;sdo.com&quot;</span>,<span style="color: #ff4500;">80</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">return</span> s.<span style="color: black;">getsockname</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span></div></div>
<p>参考 http://stackoverflow.com/questions/166506/finding-local-ip-addresses-in-python</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/06/python%e8%8e%b7%e5%8f%96%e6%9c%ac%e6%9c%baip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>31.2013666 121.6192502</georss:point>	</item>
		<item>
		<title>Reset default cursor theme and web browser after installing kubuntu</title>
		<link>http://sunng.info/blog/2010/04/reset-default-cursor-theme-and-web-browser-after-installing-kubuntu/</link>
		<comments>http://sunng.info/blog/2010/04/reset-default-cursor-theme-and-web-browser-after-installing-kubuntu/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 12:28:23 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[把戏]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=530</guid>
		<description><![CDATA[If you installed kubuntu parallel to ubuntu, you might find that the default browser is set to konqueror and cursor theme is oxygen which cannot modified by &#8220;gnome-default-applications-properties&#8221; and &#8220;gnome-appearance-properties&#8221;. To fix this, use Debian update-alternatives tool: update-alternatives &#8211;config x-www-browser update-alternatives &#8211;config x-cursor-theme All configurable options are listed at /var/lib/dkpg/alternatives]]></description>
			<content:encoded><![CDATA[<p>If you installed kubuntu parallel to ubuntu, you might find that the default browser is set to konqueror and cursor theme is oxygen which cannot modified by &#8220;gnome-default-applications-properties&#8221; and &#8220;gnome-appearance-properties&#8221;.</p>
<p>To fix this, use Debian update-alternatives tool:<br />
<em>update-alternatives &#8211;config x-www-browser</em><br />
<em>update-alternatives &#8211;config x-cursor-theme</em></p>
<p>All configurable options are listed at <em>/var/lib/dkpg/alternatives</em></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/04/reset-default-cursor-theme-and-web-browser-after-installing-kubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>31.203057 121.6174866</georss:point>	</item>
		<item>
		<title>Get your conky location aware</title>
		<link>http://sunng.info/blog/2010/02/get-your-conky-location-aware/</link>
		<comments>http://sunng.info/blog/2010/02/get-your-conky-location-aware/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 15:17:26 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[location]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=494</guid>
		<description><![CDATA[Add this in your conkyrc ${exec curl -s &#34;http://api.hostip.info&#34; &#124; xpath -e &#34;//gml:featureMember/Hostip/gml:name/text()&#34; -q} ${exec curl -s &#34;http://api.hostip.info&#34; &#124; xpath -e &#34;//gml:featureMember/Hostip//gml:coordinates/text()&#34; -q} Hostip is well known as a service provider of the geoclue framework. It translates IP address to geolocation information. The API we use will return a GML document like &#60;?xml version=&#34;1.0&#34; encoding=&#34;ISO-8859-1&#34; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/40741608@N08/4370628754/" title="2010-02-19-225826_188x44_scrot by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4014/4370628754_5a22522b80_o.png" width="188" height="44" alt="2010-02-19-225826_188x44_scrot" /></a></p>
<p>Add this in your conkyrc</p>
<div class="codecolorer-container text default" style="border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">${exec curl -s &quot;http://api.hostip.info&quot; | xpath -e &quot;//gml:featureMember/Hostip/gml:name/text()&quot; -q} ${exec curl -s &quot;http://api.hostip.info&quot; | xpath -e &quot;//gml:featureMember/Hostip//gml:coordinates/text()&quot; -q}</div></div>
<p>Hostip is well known as a service provider of the geoclue framework. It translates IP address to geolocation information. The API we use will return a GML document like</p>
<div class="codecolorer-container xml default" style="border:1px solid #9F9F9F;width:435px;height:300px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;ISO-8859-1&quot;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;hostipLookupResultSet</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0.1&quot;</span> <span style="color: #000066;">xmlns:gml</span>=<span style="color: #ff0000;">&quot;http://www.opengis.net/gml&quot;</span> <span style="color: #000066;">xmlns:xsi</span>=<span style="color: #ff0000;">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span> <span style="color: #000066;">xsi:noNamespaceSchemaLocation</span>=<span style="color: #ff0000;">&quot;http://www.hostip.info/api/hostip-1.0.1.xsd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>This is the Hostip Lookup Service<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>hostip<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:boundedBy<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:Null<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>inapplicable<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:Null<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:boundedBy<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:featureMember<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;hostip<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ip<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>58.212.88.212<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ip<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Nanjing<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;countryName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>CHINA<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/countryName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;countryAbbrev<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>CN<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/countryAbbrev<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp;<span style="color: #808080; font-style: italic;">&lt;!-- Co-ordinates are available as lng,lat --&gt;</span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ipLocation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:pointProperty<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:Point</span> <span style="color: #000066;">srsName</span>=<span style="color: #ff0000;">&quot;http://www.opengis.net/gml/srs/epsg.xml#4326&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;gml:coordinates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>118.883,32.05<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:coordinates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:Point<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:pointProperty<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ipLocation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/hostip<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/gml:featureMember<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/hostipLookupResultSet<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>Because it uses ip to lookup your address, you cannot expect higher resolution and precision currently.</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/02/get-your-conky-location-aware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>32.032377 118.793506</georss:point>	</item>
		<item>
		<title>Using weather</title>
		<link>http://sunng.info/blog/2010/02/using-weather/</link>
		<comments>http://sunng.info/blog/2010/02/using-weather/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 13:43:23 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[util]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=491</guid>
		<description><![CDATA[Ubuntu仓库里有个weather-util包，可以用来查看天气信息。weather工具从weather.noaa.gov网站获得天气信息，对美国的城市可以直接用名字查询，其他国家只能使用id查询。id的规则和weather.com不太相同。 中国的天气站点id可以在这个页面上查到。比如南京ZSNJ，上海浦东ZSPD。使用weather工具查询： weather -i ZSNJ Current conditions at China (ZSNJ) 32-00N 118-48E 12M (ZSNJ) Last updated Feb 18, 2010 &#8211; 08:00 AM EST / 2010.02.18 1300 UTC Temperature: 35 F (2 C) Relative Humidity: 59% Wind: from the SSW (210 degrees) at 4 MPH (4 KT) 简化操作，可以在$HOME下创建.weatherrc文件，形如 &#91;default&#93; ID = ZSPD &#91;nj&#93; ID = ZSNJ [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu仓库里有个weather-util包，可以用来查看天气信息。weather工具从weather.noaa.gov网站获得天气信息，对美国的城市可以直接用名字查询，其他国家只能使用id查询。id的规则和weather.com不太相同。</p>
<p>中国的天气站点id可以在<a href="http://weather.noaa.gov/weather/CN_cc.html">这个页面</a>上查到。比如南京ZSNJ，上海浦东ZSPD。使用weather工具查询：<br />
<em>weather -i ZSNJ</em></p>
<blockquote><p>Current conditions at China (ZSNJ) 32-00N 118-48E 12M (ZSNJ)<br />
Last updated Feb 18, 2010 &#8211; 08:00 AM EST / 2010.02.18 1300 UTC<br />
   Temperature: 35 F (2 C)<br />
   Relative Humidity: 59%<br />
   Wind: from the SSW (210 degrees) at 4 MPH (4 KT)</p></blockquote>
<p>简化操作，可以在$HOME下创建.weatherrc文件，形如</p>
<div class="codecolorer-container ini default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ini codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>default<span style="">&#93;</span></span><br />
<span style="color: #000099;">ID</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> ZSPD</span><br />
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>nj<span style="">&#93;</span></span><br />
<span style="color: #000099;">ID</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> ZSNJ</span></div></div>
<p>就可以直接使用<br />
<em>weather</em></p>
<blockquote><p>
Current conditions at China (ZSPD) 31-07N 121-46E (ZSPD)<br />
Last updated Feb 18, 2010 &#8211; 08:00 AM EST / 2010.02.18 1300 UTC<br />
   Temperature: 35 F (2 C)<br />
   Relative Humidity: 47%<br />
   Wind: from the NE (050 degrees) at 7 MPH (6 KT) (direction variable)
</p></blockquote>
<p>和<br />
<em>weather nj</em></p>
<blockquote><p>Current conditions at China (ZSNJ) 32-00N 118-48E 12M (ZSNJ)<br />
Last updated Feb 18, 2010 &#8211; 08:00 AM EST / 2010.02.18 1300 UTC<br />
   Temperature: 35 F (2 C)<br />
   Relative Humidity: 59%<br />
   Wind: from the SSW (210 degrees) at 4 MPH (4 KT)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/02/using-weather/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<georss:point>32.032377 118.793506</georss:point>	</item>
		<item>
		<title>老物什 / Old Stuff</title>
		<link>http://sunng.info/blog/2010/02/%e8%80%81%e7%89%a9%e4%bb%80-old-stuff/</link>
		<comments>http://sunng.info/blog/2010/02/%e8%80%81%e7%89%a9%e4%bb%80-old-stuff/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 09:12:02 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[留影]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=482</guid>
		<description><![CDATA[大年初一翻旧物，找到一些让人颇有感触的旧物件。2004年买的RH9，2005年夏天买的Fedora 4。前者至今还安装在我家最旧的电脑里，虽然我都忘了它的样子了。 包装 手册 CDs 这个代理商里仁软件似乎已经倒闭了。]]></description>
			<content:encoded><![CDATA[<p>大年初一翻旧物，找到一些让人颇有感触的旧物件。2004年买的RH9，2005年夏天买的Fedora 4。前者至今还安装在我家最旧的电脑里，虽然我都忘了它的样子了。</p>
<p>包装<br />
<a href="http://www.flickr.com/photos/40741608@N08/4355891380/" title="00011 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4044/4355891380_b32fe9d173.jpg" width="500" height="335" alt="00011" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355892466/" title="00012 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4008/4355892466_04bca6512d.jpg" width="500" height="335" alt="00012" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355894700/" title="00014 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4061/4355894700_a83995eaca.jpg" width="500" height="335" alt="00014" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355150633/" title="00013 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4049/4355150633_106e97e909.jpg" width="500" height="335" alt="00013" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355155529/" title="00018 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4057/4355155529_d0397b83d3.jpg" width="500" height="335" alt="00018" /></a></p>
<p>手册<br />
<a href="http://www.flickr.com/photos/40741608@N08/4355153647/" title="00016 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4010/4355153647_7877938213.jpg" width="500" height="335" alt="00016" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355171643/" title="00022 by 贝小塔, on Flickr"><img src="http://farm3.static.flickr.com/2708/4355171643_d7c67e9d3a.jpg" width="500" height="335" alt="00022" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355170579/" title="00021 by 贝小塔, on Flickr"><img src="http://farm3.static.flickr.com/2744/4355170579_18ee80953a.jpg" width="500" height="335" alt="00021" /></a></p>
<p>CDs<br />
<a href="http://www.flickr.com/photos/40741608@N08/4355152825/" title="00015 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4042/4355152825_d7b6d44328.jpg" width="500" height="335" alt="00015" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355897540/" title="00017 by 贝小塔, on Flickr"><img src="http://farm3.static.flickr.com/2802/4355897540_6ff0e17b46.jpg" width="500" height="335" alt="00017" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355899486/" title="00019 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4064/4355899486_a9a618f68f.jpg" width="500" height="335" alt="00019" /></a><br />
<a href="http://www.flickr.com/photos/40741608@N08/4355900468/" title="00020 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4004/4355900468_ec4c180d79.jpg" width="500" height="335" alt="00020" /></a></p>
<p>这个代理商里仁软件似乎已经倒闭了。</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/02/%e8%80%81%e7%89%a9%e4%bb%80-old-stuff/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<georss:point>31.790957 118.8661782</georss:point>	</item>
		<item>
		<title>Virtual Machine Searcher for Gnome Deskbar Applet</title>
		<link>http://sunng.info/blog/2010/02/virtual-machine-searcher-for-gnome-deskbar-applet/</link>
		<comments>http://sunng.info/blog/2010/02/virtual-machine-searcher-for-gnome-deskbar-applet/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 08:18:33 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[广告]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/?p=475</guid>
		<description><![CDATA[Very glad to announce another daily-coding work: an extension for gnome deskbar applet to search and launch virtual machine. There is a plugin for gnome-do that does the same job. That&#8217;s what I create the the plugin for. I switched to deskbar because gnome-do&#8217;s Do.exe reminds me nightmares when I was a M$ Windows user. [...]]]></description>
			<content:encoded><![CDATA[<p>Very glad to announce another daily-coding work: an extension for gnome deskbar applet to search and launch virtual machine. There is a plugin for gnome-do that does the same job. That&#8217;s what I create the the plugin for. I switched to deskbar because gnome-do&#8217;s Do.exe reminds me nightmares when I was a M$ Windows user. The deskbar applet has been a great replacement, however, the virtualbox plugin in Do is really impressive while deskbar doesn&#8217;t provide me the same functionality.</p>
<p>You can ignore words above and just take a look at the screenshot:<br />
<a title="deskbar-virtualbox by 贝小塔, on Flickr" href="http://www.flickr.com/photos/40741608@N08/4350951202/"><img src="http://farm5.static.flickr.com/4062/4350951202_9ede9c4318_o.png" alt="deskbar-virtualbox" width="560" height="400" /></a></p>
<h3>Download</h3>
<p>Download the extension from (the highlighted one):<br />
<a href="http://bitbucket.org/sunng/daily-coding/downloads/?highlight=8792">http://bitbucket.org/sunng/daily-coding/downloads/?highlight=5137</a></p>
<p>You can also trace the development at bitbucket project. However, the repository is mixed with other small code snippets. Currently, mercurial doesn&#8217;t support subdirectory pull. So there is no way to grab the deskbar-applet individually.</p>
<h3>Installation</h3>
<p>copy this file to <em>/usr/lib/deskbar-applet/deskbar-applet/modules-2.20-compatible/</em> (Ubuntu installation for example) with super user privilege. Right click desktbar applet, select Preference, Searchers tab, hit &#8220;Reload&#8221; button, then check the Virtualbox Deskbar Module.<br />
<a title="deskbar-preference by 贝小塔, on Flickr" href="http://www.flickr.com/photos/40741608@N08/4350219097/"><img src="http://farm5.static.flickr.com/4006/4350219097_126cdb3c8d.jpg" alt="deskbar-preference" width="500" height="346" /></a></p>
<h3>Issue</h3>
<p>Feel free the report issues on bitbucket:<br />
<a href="http://bitbucket.org/sunng/daily-coding/issues/">http://bitbucket.org/sunng/daily-coding/issues/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/02/virtual-machine-searcher-for-gnome-deskbar-applet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<georss:point>31.203057 121.6174866</georss:point>	</item>
	</channel>
</rss>
