<?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>Here comes the Sun &#187; ubuntu</title>
	<atom:link href="http://sunng.info/blog/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunng.info/blog</link>
	<description>47% users on this site use *nix</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:08:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Exaile sound menu support updated, now compatible with Natty</title>
		<link>http://sunng.info/blog/2011/04/exaile-sound-menu-support-updated-now-compatible-with-natty/</link>
		<comments>http://sunng.info/blog/2011/04/exaile-sound-menu-support-updated-now-compatible-with-natty/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 14:48:58 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[ANN]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2011/04/exaile-sound-menu-support-updated-now-compatible-with-natty/</guid>
		<description><![CDATA[Finally it was fixed. I just updated the plugin according to the new SoundMenu registration process. Now you can download the head version from github and extract it under ~/.local/share/exaile/plugins. You can fire an issue on github if you have &#8230; <a href="http://sunng.info/blog/2011/04/exaile-sound-menu-support-updated-now-compatible-with-natty/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Finally it was fixed. I just updated the plugin according to the new <a href="https://wiki.ubuntu.com/SoundMenu#For%20Natty">SoundMenu registration process</a>. Now you can download the head version from github and extract it under <font face="monospace">~/.local/share/exaile/plugins</font>.</p>
<p><img src="http://i.imgur.com/z2YSG.png" title="Hosted by imgur.com" /></p>
<p>You can fire an issue on github if you have problem of using it.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=ebfcb568-71a3-85d5-a381-5a9865617aae" /></div>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2011/04/exaile-sound-menu-support-updated-now-compatible-with-natty/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Update on exaile-soundmenu-indicator and exaile-doubanfm-plugin</title>
		<link>http://sunng.info/blog/2011/01/update-on-exaile-soundmenu-indicator-and-exaile-doubanfm-plugin/</link>
		<comments>http://sunng.info/blog/2011/01/update-on-exaile-soundmenu-indicator-and-exaile-doubanfm-plugin/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 15:32:24 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[ANN]]></category>
		<category><![CDATA[Douban]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2011/01/update-on-exaile-soundmenu-indicator-and-exaile-doubanfm-plugin/</guid>
		<description><![CDATA[Exaile-soundmenu-indicator As many users complaint about the &#8220;minimise to sound menu&#8221; issue, I updated exaile-soundmenu-indicator plugin. Now it is basically compliant with specification of SoundMenu: it will keep playing if you click the close button while the player is playing, &#8230; <a href="http://sunng.info/blog/2011/01/update-on-exaile-soundmenu-indicator-and-exaile-doubanfm-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Exaile-soundmenu-indicator</h3>
<p>As many users complaint about the &#8220;minimise to sound menu&#8221; issue, I updated exaile-soundmenu-indicator plugin. Now it is basically compliant with specification of <a href="https://wiki.ubuntu.com/SoundMenu">SoundMenu</a>: it will keep playing if you click the close button while the player is playing, and will exit if not playing. However, to be able to complete the functionality, you have to commentify the line <strong>1506</strong> of <strong>/usr/lib/exaile/xlgui/main.py</strong>, which is &#8220;<strong>return true</strong>&#8221; of method &#8220;<strong>delete_event</strong>&#8221; (On Ubuntu 10.10, exaile 0.3.2.0-ubuntu3). <strong>Otherwise</strong>, whenever you close the window it won&#8217;t exit.</p>
<p>I know this is a bad idea to require user to modify the source code, but it‘s not possible to override the behavior of a GTK callback, especially when you do not have the handler_id of the callback. If you do not mind the incompliant of closing behavior, you can just keep it as is, and exiting by menu and CRTL+Q.</p>
<p>Grab the snapshot of github repository to get the up-to-date version:<br />
<a href="https://github.com/sunng87/Exaile-Soundmenu-Indicator">https://github.com/sunng87/Exaile-Soundmenu-Indicator</a></p>
<h3>Exaile-doubanfm-plugin</h3>
<p>Exaile豆瓣电台插件更新。豆瓣最近调整了登录的策略：</p>
<ul>
<li>用户在首次访问豆瓣时被设置cookie bid</li>
<li>用户提交登陆表单时被要求提交cookie bid，否则不予通过。</li>
</ul>
<p>此外，这次更新开始使用HTTPS提交用户登录信息。</p>
<p><a href="https://github.com/sunng87/exaile-doubanfm-plugin">https://github.com/sunng87/exaile-doubanfm-plugin</a>，请下载最新0.0.6c。</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2011/01/update-on-exaile-soundmenu-indicator-and-exaile-doubanfm-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exaile doubanfm plugin 0.0.6b</title>
		<link>http://sunng.info/blog/2010/12/exaile-doubanfm-plugin-0-0-6b/</link>
		<comments>http://sunng.info/blog/2010/12/exaile-doubanfm-plugin-0-0-6b/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 12:12:28 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[ANN]]></category>
		<category><![CDATA[Douban]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/12/exaile-doubanfm-plugin-0-0-6b/</guid>
		<description><![CDATA[上周豆瓣电台增加了电影原声频道，这次的插件更新支持了这个新频道（OST）。 下载地址 https://github.com/sunng87/exaile-doubanfm-plugin/downloads 安装指南 https://github.com/sunng87/exaile-doubanfm-plugin/wiki/Installation 欢迎使用！]]></description>
			<content:encoded><![CDATA[<p>上周豆瓣电台增加了电影原声频道，这次的插件更新支持了这个新频道（OST）。</p>
<p>下载地址</p>
<p>https://github.com/sunng87/exaile-doubanfm-plugin/downloads</p>
<p>安装指南</p>
<p>https://github.com/sunng87/exaile-doubanfm-plugin/wiki/Installation</p>
<p>欢迎使用！</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/12/exaile-doubanfm-plugin-0-0-6b/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exaile sound menu integration</title>
		<link>http://sunng.info/blog/2010/11/exaile-sound-menu-integration/</link>
		<comments>http://sunng.info/blog/2010/11/exaile-sound-menu-integration/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 10:11:39 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/11/exaile-sound-menu-integration/</guid>
		<description><![CDATA[Sound menu indicator was introduced in Ubuntu Maverick(10.10). User can control playback from this menu, and view current track information. The control is based on mpris spec 2.0, which is a common specification of controlling media player with dbus. To &#8230; <a href="http://sunng.info/blog/2010/11/exaile-sound-menu-integration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="https://wiki.kubuntu.org/SoundMenu">Sound menu indicator</a> was introduced in Ubuntu Maverick(10.10).  User can control playback from this menu, and view current track information.</p>
<p>The control is based on mpris spec 2.0, which is a common specification of controlling media player with dbus. To enable sound menu support, media player should implement mpris 2.0, and register itself with libindicate.</p>
<p>So this week,  I have been working on an exaile plugin to support sound menu and finally got a workable version.</p>
<p><a href="http://www.flickr.com/photos/40741608@N08/5213528341/" title="Screenshot of exaile sound menu by 贝小塔, on Flickr"><img src="http://farm6.static.flickr.com/5004/5213528341_3587622fb5.jpg" width="500" height="313" alt="Screenshot of exaile sound menu" /></a></p>
<p>The code repo can be found at github:<br />
<a href="https://github.com/sunng87/Exaile-Soundmenu-Indicator">https://github.com/sunng87/Exaile-Soundmenu-Indicator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/11/exaile-sound-menu-integration/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>终于能用Unity和Gnome-shell了</title>
		<link>http://sunng.info/blog/2010/11/%e7%bb%88%e4%ba%8e%e8%83%bd%e7%94%a8unity%e5%92%8cgnome-shell%e4%ba%86/</link>
		<comments>http://sunng.info/blog/2010/11/%e7%bb%88%e4%ba%8e%e8%83%bd%e7%94%a8unity%e5%92%8cgnome-shell%e4%ba%86/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 17:04:04 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/11/%e7%bb%88%e4%ba%8e%e8%83%bd%e7%94%a8unity%e5%92%8cgnome-shell%e4%ba%86/</guid>
		<description><![CDATA[自从升级到Maverick之后，有两个问题就一直如鲠在喉，GNOME3会话和Ubuntu Netbook(Unity)会话能不能用。前者启动之后出现Panel后全部僵死，鼠标可以移动但是任何操作都没有响应；后者桌面背景图片一闪就黑屏，没有任何响应。 查看unity的xsession-error日志，其中的报错比较含糊，搜索也没有找到相似的问题。查看GNOME-Shell的xsession-error之后发现很多JS报错，搜索了一下，终于找到了一个bug报告： https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/618907 情况和我一样，都是之前曾经安装过PPA版本的GNOME-Shell尝鲜，升级之后出现了JS报错。按照说明打开synaptic，果然有两个包使用的是git版本，尽管PPA已经删除，但是已安装的软件包只会被标记为Local or Obsolete，恰好这个git版本是0.9.4比Maverick里的0.9.3还要高，这样更新的时候又不会提示。如果不细看还真的不容易发现。按下Ctrl+E， synaptic会提示Force Version对话框，选择仓库的旧版本，安装、重启。这下不仅GNOME-Shell正常工作了，同样依赖Mutter的Unity也正常了。 这次悲剧，说明使用PPA还是要慎重，尤其是跨版本升级之后，要小心PPA被禁用但软件包没有被升级的情况。]]></description>
			<content:encoded><![CDATA[<p>自从升级到Maverick之后，有两个问题就一直如鲠在喉，GNOME3会话和Ubuntu Netbook(Unity)会话能不能用。前者启动之后出现Panel后全部僵死，鼠标可以移动但是任何操作都没有响应；后者桌面背景图片一闪就黑屏，没有任何响应。</p>
<p>查看unity的xsession-error日志，其中的报错比较含糊，搜索也没有找到相似的问题。查看GNOME-Shell的xsession-error之后发现很多JS报错，搜索了一下，终于找到了一个bug报告：<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/618907">https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/618907</a></p>
<p>情况和我一样，都是之前曾经安装过PPA版本的GNOME-Shell尝鲜，升级之后出现了JS报错。按照说明打开synaptic，果然有两个包使用的是git版本，尽管PPA已经删除，但是已安装的软件包只会被标记为Local or Obsolete，恰好这个git版本是0.9.4比Maverick里的0.9.3还要高，这样更新的时候又不会提示。如果不细看还真的不容易发现。按下Ctrl+E， synaptic会提示Force Version对话框，选择仓库的旧版本，安装、重启。这下不仅GNOME-Shell正常工作了，同样依赖Mutter的Unity也正常了。</p>
<p>这次悲剧，说明使用PPA还是要慎重，尤其是跨版本升级之后，要小心PPA被禁用但软件包没有被升级的情况。</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/11/%e7%bb%88%e4%ba%8e%e8%83%bd%e7%94%a8unity%e5%92%8cgnome-shell%e4%ba%86/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Awesome autostart</title>
		<link>http://sunng.info/blog/2010/11/awesome-autostart/</link>
		<comments>http://sunng.info/blog/2010/11/awesome-autostart/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 09:06:23 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[装备]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/11/awesome-autostart/</guid>
		<description><![CDATA[Problem 让Awesome环境像Openbox一样在启动时，在根上下文中执行一个autostart脚本（启动程序、声明环境变量）。 Solution Ubuntu中GDM启动后会执行 /etc/gdm/Xsession 这个脚本，如果是custom会话（启动参数custom），会执行用户目录下的.xsession脚本，否则会执行 /etc/X11/Xsession.d/ 目录下的所有脚本。 为了支持autostart脚本，可以在 /etc/X11/Xsession.d/ 里创建一个新的脚本 55awesome-autostart BASESTARTUP=$&#40;basename &#34;$STARTUP&#34; &#124; cut -d\ &#160;-f1&#41; if &#91; &#34;$BASESTARTUP&#34; = x-session-manager &#93;; then &#160; &#160; BASESTARTUP=$&#40;basename $&#40;readlink /etc/alternatives/x-session-manager&#41;&#41; fi if &#91; &#34;$BASESTARTUP&#34; = &#34;awesome&#34; &#93;; then &#160; &#160; &#8230; <a href="http://sunng.info/blog/2010/11/awesome-autostart/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Problem</h3>
<p>让Awesome环境像Openbox一样在启动时，在根上下文中执行一个autostart脚本（启动程序、声明环境变量）。</p>
<h3>Solution</h3>
<p>Ubuntu中GDM启动后会执行<i> /etc/gdm/Xsession</i> 这个脚本，如果是custom会话（启动参数custom），会执行用户目录下的.xsession脚本，否则会执行 <i>/etc/X11/Xsession.d/</i> 目录下的所有脚本。</p>
<p>为了支持autostart脚本，可以在 <i>/etc/X11/Xsession.d/</i> 里创建一个新的脚本 55awesome-autostart</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">BASESTARTUP</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">basename</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$STARTUP</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> -d\ &nbsp;-f1<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$BASESTARTUP</span>&quot;</span> = x-session-manager <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #007800;">BASESTARTUP</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">basename</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">readlink</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>alternatives<span style="color: #000000; font-weight: bold;">/</span>x-session-manager<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$BASESTARTUP</span>&quot;</span> = <span style="color: #ff0000;">&quot;awesome&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #007800;">AWESOME_AUTOSTART</span>=<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.config<span style="color: #000000; font-weight: bold;">/</span>awesome<span style="color: #000000; font-weight: bold;">/</span>autostart.sh<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$AWESOME_AUTOSTART</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; . <span style="color: #ff0000;">&quot;<span style="color: #007800;">$AWESOME_AUTOSTART</span>&quot;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #000000; font-weight: bold;">fi</span></div></div>
<p>这个脚本会判断启动的session是否是awesome，如果是，并且autostart.sh存在的话，source这个文件。autostart.sh按照xdg的约定，放在配置文件目录 <i>$HOME/.config/awesome/</i> 里。</p>
<p>这样，在用户目录下的配置文件里，就可执行一些自启动程序，或者声明环境变量，典型的应用就是指定awesome会话专用的gtkrc：</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">AWESOME_CONFIG_PATH</span>=<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.config<span style="color: #000000; font-weight: bold;">/</span>awesome<br />
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GTK2_RC_FILES</span>=<span style="color: #007800;">$AWESOME_CONFIG_PATH</span><span style="color: #000000; font-weight: bold;">/</span>gtkrc<br />
<br />
xcompmgr <span style="color: #660033;">-cCfF</span> <span style="color: #660033;">-t-5</span> <span style="color: #660033;">-l-5</span> -r4.2 -o.55 <span style="color: #660033;">-D6</span> <span style="color: #000000; font-weight: bold;">&amp;</span><br />
awsetbg <span style="color: #660033;">-u</span> feh <span style="color: #660033;">-f</span> .config<span style="color: #000000; font-weight: bold;">/</span>awesome<span style="color: #000000; font-weight: bold;">/</span>ubuntu.jpg</div></div>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/11/awesome-autostart/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Weather Indicator on Maverick</title>
		<link>http://sunng.info/blog/2010/10/installing-weather-indicator-on-maverick/</link>
		<comments>http://sunng.info/blog/2010/10/installing-weather-indicator-on-maverick/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 10:20:46 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[手艺]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/10/installing-weather-indicator-on-maverick/</guid>
		<description><![CDATA[The appindicator has been enhanced again in Ubuntu 10.10 Maverick. The new datetime indicator has been introduced in the replace Gnome datetime applet. However, the datetime indicator is quite simple, which drops support for EDS (Evolution data server), location and &#8230; <a href="http://sunng.info/blog/2010/10/installing-weather-indicator-on-maverick/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The appindicator has been enhanced again in Ubuntu 10.10 Maverick. The new datetime indicator has been introduced in the replace Gnome datetime applet. However, the datetime indicator is quite simple, which drops support for EDS (Evolution data server), location and weather. So you need an indicator api based weather widget, and <a href="http://www.omgubuntu.co.uk/2010/06/weather-indicator-applet-genesis-of-an-itch-into-an-app-updated-with-ppa/">omgubuntu</a> says there is already such a project of <a href="https://launchpad.net/weather-indicator">weather-indicator</a>, on launchpad.</p>
<p><a href="http://www.flickr.com/photos/40741608@N08/5125055279/" title="indicator-weather by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4145/5125055279_19997d4c15_m.jpg" width="200" height="240" alt="indicator-weather" /></a></p>
<p>However, any attempt to install this package will result in a failure of 404. The ppa is no long maintained (Even the project has been in silent for a long time.) Fortunately, we can still build it from sources.</p>
<p>First, check out the sources with bzr:<br />
<i>bzr branch lp:weather-indicator</i></p>
<p>Then, change directory into <i>weather-indicator</i>, package it with debuild:<br />
<i>debuild binary</i></p>
<p>You will get the result in the parent directory:<br />
<i>indicator-weather_10.07.16_all.deb</i></p>
<p>Then you simply install the debian package with dpkg:<br />
<i>sudo dpkg -i indicator-weather_10.07.16_all.deb</i></p>
<p>Enjoy !</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/10/installing-weather-indicator-on-maverick/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Exaile 豆瓣电台插件 0.0.5</title>
		<link>http://sunng.info/blog/2010/10/exaile-doubanfm-0-0-5/</link>
		<comments>http://sunng.info/blog/2010/10/exaile-doubanfm-0-0-5/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 14:24:23 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[ANN]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/10/exaile-%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6-0-0-5/</guid>
		<description><![CDATA[趁热依旧打铁。Exaile 豆瓣电台插件 0.0.5 Features 界面快捷键 加心f 跳过s 删除d 调整了按钮的顺序，和官方一致 增强的菜单，可以在豆瓣模式里切换频道、关闭Exaile，无须回到主界面 推荐当前歌曲到豆瓣，可以在配置界面配置推荐语模板 Installation Wiki page Downloads Download from Github Screenshots Douban Mode Enhanced Douban Mode Menu More ? 豆瓣 on Ubuntu]]></description>
			<content:encoded><![CDATA[<p>趁热依旧打铁。Exaile 豆瓣电台插件 0.0.5</p>
<h4>Features</h4>
<ul>
<li>界面快捷键 加心f 跳过s 删除d</li>
<li>调整了按钮的顺序，和官方一致</li>
<li>增强的菜单，可以在豆瓣模式里切换频道、关闭Exaile，无须回到主界面</li>
<li><strong>推荐当前歌曲到豆瓣</strong>，可以在配置界面配置推荐语模板</li>
</ul>
<h4>Installation</h4>
<p><a href="http://github.com/sunng87/exaile-doubanfm-plugin/wiki/Installation">Wiki page</a></p>
<h4>Downloads</h4>
<p><a href="http://github.com/sunng87/exaile-doubanfm-plugin/downloads">Download from Github</a></p>
<h4>Screenshots</h4>
<p>Douban Mode<br />
<a href="http://www.flickr.com/photos/40741608@N08/5117860492/" title="screenshot_002 by 贝小塔, on Flickr"><img src="http://farm2.static.flickr.com/1318/5117860492_8daa067abf.jpg" width="402" height="148" alt="screenshot_002" /></a></p>
<p>Enhanced Douban Mode Menu<br />
<a href="http://www.flickr.com/photos/40741608@N08/5117860126/" title="screenshot_001 by 贝小塔, on Flickr"><img src="http://farm5.static.flickr.com/4106/5117860126_eb2ca09332.jpg" width="278" height="306" alt="screenshot_001" /></a></p>
<h4>More ?</h4>
<p><a href="http://sunng.info/doubantu/">豆瓣 on Ubuntu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/10/exaile-doubanfm-0-0-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exaile 豆瓣电台插件 0.0.4</title>
		<link>http://sunng.info/blog/2010/10/exaile-%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6-0-0-4/</link>
		<comments>http://sunng.info/blog/2010/10/exaile-%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6-0-0-4/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 11:29:24 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[ANN]]></category>
		<category><![CDATA[Douban]]></category>
		<category><![CDATA[exaile]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/10/exaile-%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6-0-0-4/</guid>
		<description><![CDATA[趁热打铁， Exaile豆瓣电台插件今天又有了一些更新： 支持今天豆瓣新发布的摇滚、民谣、NewAge频道 支持Exaile 0.3.2开始的界面透明 与官方保持一致，在非个人频道时禁用trash按钮 下载 http://github.com/sunng87/exaile-doubanfm-plugin/downloads 很多朋友纠结于安装，安装确实稍显麻烦，大家注意： 确认你的Exaile版本0.3.2。 下载，重命名下载的文件为doubanfm.tar.gz（Exaile要求压缩包内的文件名要以压缩包的名字开头，否则报错；而github上使用相同的文件名用作下载会有潜在的问题） 如果已经安装过这个插件，请删除 rm -r ~/.local/share/exaile/plugins/doubanfm 打开Exaile，打开Preferences，到Plugins页，安装 勾选doubanfm 如果plugins树下没有出现Douban Radio，关闭Preferences重开，找到Douban Radio，设置用户名密码 重启Exaile 打开文件菜单，Open Douban.fm，选择你需要的频道 双击音轨或点击播放开始播放 切换到豆瓣视图，菜单View->Doubanfm Mode，或快捷键 Ctrl+alt+d Enjoy！]]></description>
			<content:encoded><![CDATA[<p>趁热打铁， Exaile豆瓣电台插件今天又有了一些更新：</p>
<ol>
<li>支持今天豆瓣新发布的摇滚、民谣、NewAge频道</li>
<li>支持Exaile 0.3.2开始的界面透明</li>
<li>与官方保持一致，在非个人频道时禁用trash按钮</li>
</ol>
<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>确认你的Exaile版本0.3.2。</li>
<li>下载，<strong>重命名下载的文件为doubanfm.tar.gz</strong>（Exaile要求压缩包内的文件名要以压缩包的名字开头，否则报错；而github上使用相同的文件名用作下载会有潜在的问题）</li>
<li>如果已经安装过这个插件，请删除 rm -r ~/.local/share/exaile/plugins/doubanfm</li>
<li>打开Exaile，打开Preferences，到Plugins页，安装</li>
<li>勾选doubanfm</li>
<li>如果plugins树下没有出现Douban Radio，关闭Preferences重开，找到Douban Radio，设置用户名密码</li>
<li>重启Exaile</li>
<li>打开文件菜单，Open Douban.fm，选择你需要的频道</li>
<li><strong>双击音轨或点击播放开始播放</strong></li>
<li>切换到豆瓣视图，菜单View->Doubanfm Mode，或快捷键 Ctrl+alt+d</li>
</ol>
<p><a href="http://www.flickr.com/photos/40741608@N08/5101939181/" title="exaile douban radio by 贝小塔, on Flickr"><img src="http://farm2.static.flickr.com/1434/5101939181_949841f861.jpg" width="402" height="142" alt="exaile douban radio" /></a><br />
Enjoy！</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/10/exaile-%e8%b1%86%e7%93%a3%e7%94%b5%e5%8f%b0%e6%8f%92%e4%bb%b6-0-0-4/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>豆瓣 on Ubuntu</title>
		<link>http://sunng.info/blog/2010/10/%e8%b1%86%e7%93%a3-on-ubuntu/</link>
		<comments>http://sunng.info/blog/2010/10/%e8%b1%86%e7%93%a3-on-ubuntu/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 13:56:29 +0000</pubDate>
		<dc:creator>sunng</dc:creator>
				<category><![CDATA[ANN]]></category>
		<category><![CDATA[Douban]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sunng.info/blog/2010/10/%e8%b1%86%e7%93%a3-on-ubuntu/</guid>
		<description><![CDATA[半年来，围绕豆瓣做了几个应用，今天上班路上突然心血来潮，决定汇总一下，推广一下。如果你是豆瓣用户，也是Ubuntu用户，你可以尝试一下。 http://sunng.info/doubantu/]]></description>
			<content:encoded><![CDATA[<p>半年来，围绕豆瓣做了几个应用，今天上班路上突然心血来潮，决定汇总一下，推广一下。如果你是豆瓣用户，也是Ubuntu用户，你可以尝试一下。</p>
<p><a href="http://sunng.info/doubantu/">http://sunng.info/doubantu/</a><br />
<a href="http://www.flickr.com/photos/40741608@N08/5099029491/" title="douban on ubuntu by 贝小塔, on Flickr"><img src="http://farm2.static.flickr.com/1208/5099029491_24b01f5a0a.jpg" width="500" height="361" alt="douban on ubuntu" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2010/10/%e8%b1%86%e7%93%a3-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

