<?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>蓝色的华 &#187; ubuntu</title>
	<atom:link href="http://bluehua.org/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://bluehua.org</link>
	<description>分享所学,backup一切~</description>
	<lastBuildDate>Fri, 27 Aug 2010 08:41:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>小优化一下qwit</title>
		<link>http://bluehua.org/2010/05/16/1274.html</link>
		<comments>http://bluehua.org/2010/05/16/1274.html#comments</comments>
		<pubDate>Sun, 16 May 2010 05:56:05 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[soft]]></category>
		<category><![CDATA[qwit]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=1274</guid>
		<description><![CDATA[昨天给gwibber加了代理功能，用了一会，感觉还是不如qwit。
1 . 使用gnome 的 notify 提示代替qt的气泡提示, qt默认的那个太丑了

2  .  修正一个细节bug，阅读新tweets时，任务栏的图标依然提示有新的tweets。﻿
3  .  添加了自己的短网址

4 . 换了两个高分好看点的图标～
正常

有新tweets

修改过的源代码：qwit-1.0-beta-src，ubuntu 10.04 编译通过

qmake
make
sudo make install

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
另：推荐一个开源的短网址软件 http://yourls.org/，绝对出自geek之手。
]]></description>
			<content:encoded><![CDATA[<p>昨天给gwibber加了代理功能，用了一会，感觉还是不如qwit。</p>
<p>1 . 使用gnome 的 notify 提示代替qt的气泡提示, qt默认的那个太丑了</p>
<p><a href="http://bluehua.org/wp-content/uploads/2010/05/screenshot_065.png"><img class="alignnone size-full wp-image-1275" title="screenshot_065" src="http://bluehua.org/wp-content/uploads/2010/05/screenshot_065.png" alt="" width="379" height="152" /></a></p>
<p>2  .  修正一个细节bug，阅读新tweets时，任务栏的图标依然提示有新的tweets。﻿</p>
<p>3  .  添加了自己的短网址</p>
<p><a href="http://bluehua.org/wp-content/uploads/2010/05/screenshot_067.png"><img class="alignnone size-full wp-image-1276" title="screenshot_067" src="http://bluehua.org/wp-content/uploads/2010/05/screenshot_067.png" alt="" width="317" height="101" /></a></p>
<p>4 . 换了两个高分好看点的图标～</p>
<p>正常</p>
<p><a href="http://bluehua.org/wp-content/uploads/2010/05/screenshot_063.png"><img class="alignnone size-full wp-image-1277" title="screenshot_063" src="http://bluehua.org/wp-content/uploads/2010/05/screenshot_063.png" alt="" width="231" height="25" /></a></p>
<p>有新tweets</p>
<p><a href="http://bluehua.org/wp-content/uploads/2010/05/screenshot_064.png"><img class="alignnone size-full wp-image-1278" title="screenshot_064" src="http://bluehua.org/wp-content/uploads/2010/05/screenshot_064.png" alt="" width="222" height="25" /></a></p>
<p>修改过的源代码：<a href="http://bluehua.org/wp-content/uploads/2010/05/qwit-1.0-beta-src.zip">qwit-1.0-beta-src</a>，ubuntu 10.04 编译通过</p>

<div class="wp_syntax"><div class="code overflow"><pre class="bash" style="font-family:monospace;">qmake
<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>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
另：推荐一个开源的短网址软件 <a href="http://yourls.org/">http://yourls.org/</a>，绝对出自geek之手。</p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2010/05/16/1274.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ubuntu上flex开发相关</title>
		<link>http://bluehua.org/2010/04/21/1135.html</link>
		<comments>http://bluehua.org/2010/04/21/1135.html#comments</comments>
		<pubDate>Wed, 21 Apr 2010 15:04:25 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[web dev]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=1135</guid>
		<description><![CDATA[最近项目需要用到flex, 于是我要学这个本不打算学的东西&#8230;
我的环境很简单 flex sdk 4.0 + vim
sdk的安装参考 : http://blog.minidx.com/2008/05/17/853.html
flex的Makefile参考 : http://www.mindlence.com/WP/?p=301
编写好Makefile之后,就可以在vim里通过:make命令编译当前项目
vim的as和mxml语法高亮: http://www.fireyang.com/blog/?p=115
最后是我自己加的自动补全的字典(从flex4的文档里扣出来的&#8230;.)

&#34;将字典文件放到相应的目录就可以了,这里是~/.vim/as3_dict.txt
au FileType actionscript call AddAS3Dict&#40;&#41;
function AddAS3Dict&#40;&#41;
    set dictionary-=~/.vim/as3_dict.txt dictionary+=~/.vim/as3_dict.txt
    set complete-=k complete+=k
endfunction

字典文件下载 : as3_dict
这个字典有9K多行,应该够用了&#8230;

初学的一点感觉:
虽然actionscript3已经远离了js的语法,但仍然是事件驱动的,所以对熟悉js开发的同学来说,flex很容易上手. 另一点感受是我再也不用考虑狗屁浏览器兼容性了..
最最后最近阅文档无数的终极结果,我的第一个flex半成品 :　http://bluehua.org/demo/avatar-editor/
]]></description>
			<content:encoded><![CDATA[<p>最近项目需要用到flex, 于是我要学这个本不打算学的东西&#8230;</p>
<p>我的环境很简单 flex sdk 4.0 + vim</p>
<p>sdk的安装参考 : <a href="http://blog.minidx.com/2008/05/17/853.html">http://blog.minidx.com/2008/05/17/853.html</a></p>
<p>flex的Makefile参考 : <a href="http://www.mindlence.com/WP/?p=301">http://www.mindlence.com/WP/?p=301</a></p>
<p>编写好Makefile之后,就可以在vim里通过:make命令编译当前项目</p>
<p>vim的as和mxml语法高亮: <a href="http://www.fireyang.com/blog/?p=115">http://www.fireyang.com/blog/?p=115</a></p>
<p>最后是我自己加的自动补全的字典(从flex4的文档里扣出来的&#8230;.)</p>

<div class="wp_syntax"><div class="code overflow"><pre class="vim" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;">&quot;将字典文件放到相应的目录就可以了,这里是~/.vim/as3_dict.txt</span>
au FileType actionscript <span style="color: #804040;">call</span> AddAS3Dict<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #804040;">function</span> AddAS3Dict<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
    set dictionary<span style="color: #000000;">-</span>=<span style="color: #000000;">~/.</span>vim<span style="color: #000000;">/</span>as3_dict<span style="color: #000000;">.</span>txt dictionary<span style="color: #000000;">+</span>=<span style="color: #000000;">~/.</span>vim<span style="color: #000000;">/</span>as3_dict<span style="color: #000000;">.</span>txt
    set complete<span style="color: #000000;">-</span>=k <span style="color: #25BB4D;">complete</span><span style="color: #000000;">+</span>=k
endfunction</pre></div></div>

<p>字典文件下载 : <a href='http://bluehua.org/wp-content/uploads/2010/04/as3_dict.zip'>as3_dict</a><br />
这个字典有9K多行,应该够用了&#8230;<br />
<a href="http://bluehua.org/wp-content/uploads/2010/04/screenshot_062.png"><img src="http://bluehua.org/wp-content/uploads/2010/04/screenshot_062.png" alt="" title="screenshot_062" width="444" height="378" class="alignnone size-full wp-image-1139" /></a></p>
<p>初学的一点感觉:<br />
虽然actionscript3已经远离了js的语法,但仍然是事件驱动的,所以对熟悉js开发的同学来说,flex很容易上手. 另一点感受是我再也不用考虑狗屁浏览器兼容性了..</p>
<p>最最后最近阅文档无数的终极结果,我的第一个flex半成品 :　<a href="http://bluehua.org/demo/avatar-editor/">http://bluehua.org/demo/avatar-editor/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2010/04/21/1135.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ubuntu下mpd+mpc的安装配置</title>
		<link>http://bluehua.org/2010/01/27/896.html</link>
		<comments>http://bluehua.org/2010/01/27/896.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:18:24 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[soft]]></category>
		<category><![CDATA[mpc]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=896</guid>
		<description><![CDATA[今天大学的一个哥们说在ubuntu下面mpd一直配不好,俺就把俺的配置过程简单写一下
首先

sudo apt-get install mpd mpc

然后复制一份配置文件到自己的用户目录

cd ~
cp /etc/mpd.conf .mpdconf
#创建几个文件夹,后面用到
mkdir .mpd
mkdir .mpd/playlists

之后编辑.mpdconf,修改如下

#mp3所在的文件夹
music_directory		&#34;/media/data/music&#34;
#下面几个的user要替换成自己的用户名
playlist_directory		&#34;/home/user/.mpd/playlists&#34;
db_file			&#34;/home/user/.mpd/tag_cache&#34;
log_file			&#34;/home/hualu/.mpd/mpd.log&#34;
pid_file			&#34;/home/hualu/.mpd/pid&#34;
state_file			&#34;/home/hualu/.mpd/state&#34;
#替换成自己的用户名
user				&#34;user&#34;

除了上面几项,我还修改了下面几个配置,如果改完已上配置就可以运行就没有必要修改下面的了
我注释了下面这行,为了解决mpc报&#8221;unable to bind port 6600&#8243;错误的问题

#bind_to_address		&#34;localhost&#34;

声卡的配置我改成了下面,否则我用mpc调不了音量,而且有flash的时候会报&#8221;Failed to open ALSA device &#8220;plug:dmix&#8221;: Device or resource busy&#8221;

audio_output &#123;
	type		&#34;alsa&#34;
	name		&#34;My ALSA Device&#34;
        options &#34;dev=dmixer&#34;
	mixer_control	&#34;Master&#34;		# optional
	mixer_index	&#34;0&#34;		# optional
&#125;

配置完毕,可以使用了

#首次运行需要初始化一下
mpd --create-db
#把所有曲目添加到播放列表
mpc listall &#124; mpc add
#播放
mpc play

]]></description>
			<content:encoded><![CDATA[<p>今天大学的<a href="http://mindrecorder.info/">一个哥们</a>说在ubuntu下面mpd一直配不好,俺就把俺的配置过程简单写一下<br />
首先</p>

<div class="wp_syntax"><div class="code overflow"><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> mpd mpc</pre></div></div>

<p>然后复制一份配置文件到自己的用户目录</p>

<div class="wp_syntax"><div class="code overflow"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mpd.conf .mpdconf
<span style="color: #666666; font-style: italic;">#创建几个文件夹,后面用到</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> .mpd
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> .mpd<span style="color: #000000; font-weight: bold;">/</span>playlists</pre></div></div>

<p>之后编辑.mpdconf,修改如下</p>

<div class="wp_syntax"><div class="code overflow"><pre class="text" style="font-family:monospace;">#mp3所在的文件夹
music_directory		&quot;/media/data/music&quot;
#下面几个的user要替换成自己的用户名
playlist_directory		&quot;/home/user/.mpd/playlists&quot;
db_file			&quot;/home/user/.mpd/tag_cache&quot;
log_file			&quot;/home/hualu/.mpd/mpd.log&quot;
pid_file			&quot;/home/hualu/.mpd/pid&quot;
state_file			&quot;/home/hualu/.mpd/state&quot;
#替换成自己的用户名
user				&quot;user&quot;</pre></div></div>

<p>除了上面几项,我还修改了下面几个配置,如果改完已上配置就可以运行就没有必要修改下面的了<br />
我注释了下面这行,为了解决mpc报&#8221;unable to bind port 6600&#8243;错误的问题</p>

<div class="wp_syntax"><div class="code overflow"><pre class="text" style="font-family:monospace;">#bind_to_address		&quot;localhost&quot;</pre></div></div>

<p>声卡的配置我改成了下面,否则我用mpc调不了音量,而且有flash的时候会报&#8221;Failed to open ALSA device &#8220;plug:dmix&#8221;: Device or resource busy&#8221;</p>

<div class="wp_syntax"><div class="code overflow"><pre class="bash" style="font-family:monospace;">audio_output <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">type</span>		<span style="color: #ff0000;">&quot;alsa&quot;</span>
	name		<span style="color: #ff0000;">&quot;My ALSA Device&quot;</span>
        options <span style="color: #ff0000;">&quot;dev=dmixer&quot;</span>
	mixer_control	<span style="color: #ff0000;">&quot;Master&quot;</span>		<span style="color: #666666; font-style: italic;"># optional</span>
	mixer_index	<span style="color: #ff0000;">&quot;0&quot;</span>		<span style="color: #666666; font-style: italic;"># optional</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>配置完毕,可以使用了</p>

<div class="wp_syntax"><div class="code overflow"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#首次运行需要初始化一下</span>
mpd <span style="color: #660033;">--create-db</span>
<span style="color: #666666; font-style: italic;">#把所有曲目添加到播放列表</span>
mpc listall <span style="color: #000000; font-weight: bold;">|</span> mpc add
<span style="color: #666666; font-style: italic;">#播放</span>
mpc play</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2010/01/27/896.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>偶的mpd全局快捷键配置</title>
		<link>http://bluehua.org/2010/01/18/859.html</link>
		<comments>http://bluehua.org/2010/01/18/859.html#comments</comments>
		<pubDate>Mon, 18 Jan 2010 13:08:12 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[soft]]></category>
		<category><![CDATA[mpc]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=859</guid>
		<description><![CDATA[2010.1.27 更新
发现直接调用mpc next 切歌有时候会把mpd搞死, mpc pause;mpc next;mpc play;这么搞就没问题了&#8230;
mpc.sh.4
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
更新一个高级点的,使用zenity提示搜索

下载:mpc.sh.3
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
2010.1.19 更新
ubuntu.org.cn上开的帖子 http://forum.ubuntu.org.cn/viewtopic.php?f=21&#038;t=253241
更新下脚本:mpc.sh.2
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
换了好多播放器，最终还是回归mpd了&#8230; 配上快捷键和模糊搜索，好用多了。效果如下:
上一首,下一首可以使用notify-send提示

快捷键调出搜索框,跳转到某一首歌

配置过程如下，假设已经装好了mpd和mpc：
1 . 安装notify-send

sudo apt-get install libnotify-bin

2 . 下载一个shell脚本 : mpc.sh,将脚本解压到 ~/bin/ 目录
3 . 配置全局快捷键
可用命令如下

#停止
sh /home/yourname/bin/mpc.sh stop
#播放/暂停
sh /home/yourname/bin/mpc.sh toggle
#下一首
sh /home/yourname/bin/mpc.sh next
#上一首
sh /home/yourname/bin/mpc.sh prev
#弹出一个搜索窗口
sh /home/yourname/bin/mpc.sh popfav

偶的快捷键的配置

]]></description>
			<content:encoded><![CDATA[<p>2010.1.27 更新<br />
发现直接调用mpc next 切歌有时候会把mpd搞死, mpc pause;mpc next;mpc play;这么搞就没问题了&#8230;<br />
<a href='http://bluehua.org/wp-content/uploads/2010/01/mpc.sh.4.zip'>mpc.sh.4</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
更新一个高级点的,使用<a href="http://library.gnome.org/users/zenity/stable/">zenity</a>提示搜索</p>
<p><a href="http://bluehua.org/wp-content/uploads/2010/01/screenshot_043.png"><img src="http://bluehua.org/wp-content/uploads/2010/01/screenshot_043.png" alt="" title="screenshot_043" width="510" height="301" class="alignnone size-full wp-image-879" /></a></p>
<p>下载:<a href='http://bluehua.org/wp-content/uploads/2010/01/mpc.sh.3.zip'>mpc.sh.3</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
2010.1.19 更新<br />
ubuntu.org.cn上开的帖子 <a href="http://forum.ubuntu.org.cn/viewtopic.php?f=21&#038;t=253241">http://forum.ubuntu.org.cn/viewtopic.php?f=21&#038;t=253241</a><br />
更新下脚本:<a href='http://bluehua.org/wp-content/uploads/2010/01/mpc.sh.2.zip'>mpc.sh.2</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
换了好多播放器，最终还是回归mpd了&#8230; 配上快捷键和模糊搜索，好用多了。效果如下:</p>
<p>上一首,下一首可以使用notify-send提示<br />
<a href="http://bluehua.org/wp-content/uploads/2010/01/screenshot_040.png"><img class="alignnone size-full wp-image-861" title="screenshot_040" src="http://bluehua.org/wp-content/uploads/2010/01/screenshot_040.png" alt="" width="408" height="292" /></a></p>
<p>快捷键调出搜索框,跳转到某一首歌</p>
<p><a href="http://bluehua.org/wp-content/uploads/2010/01/screenshot_041.png"><img class="alignnone size-full wp-image-862" title="screenshot_041" src="http://bluehua.org/wp-content/uploads/2010/01/screenshot_041.png" alt="" width="530" height="114" /></a></p>
<p>配置过程如下，假设已经装好了mpd和mpc：<br />
1 . 安装notify-send</p>

<div class="wp_syntax"><div class="code overflow"><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> libnotify-bin</pre></div></div>

<p>2 . 下载一个shell脚本 : <a href='http://bluehua.org/wp-content/uploads/2010/01/mpc.sh.zip'>mpc.sh</a>,将脚本解压到 ~/bin/ 目录<br />
3 . 配置全局快捷键<br />
可用命令如下</p>

<div class="wp_syntax"><div class="code overflow"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#停止</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>yourname<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mpc.sh stop
<span style="color: #666666; font-style: italic;">#播放/暂停</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>yourname<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mpc.sh toggle
<span style="color: #666666; font-style: italic;">#下一首</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>yourname<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mpc.sh next
<span style="color: #666666; font-style: italic;">#上一首</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>yourname<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mpc.sh prev
<span style="color: #666666; font-style: italic;">#弹出一个搜索窗口</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>yourname<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mpc.sh popfav</pre></div></div>

<p>偶的快捷键的配置</p>
<p><a href="http://bluehua.org/wp-content/uploads/2010/01/screenshot_042.png"><img class="alignnone size-full wp-image-864" title="screenshot_042" src="http://bluehua.org/wp-content/uploads/2010/01/screenshot_042.png" alt="" width="593" height="446" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2010/01/18/859.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS Flusher 2.0.3 在ubuntu下不能用了</title>
		<link>http://bluehua.org/2009/09/28/599.html</link>
		<comments>http://bluehua.org/2009/09/28/599.html#comments</comments>
		<pubDate>Mon, 28 Sep 2009 08:04:17 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[web dev]]></category>
		<category><![CDATA[dnsflusher]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=599</guid>
		<description><![CDATA[升级了一下版本,竟然不能用了,查了一下,原来是文件名大小写的问题&#8230;
插件目录的chrome.manifest

overlay	chrome://browser/content/browser.xul		chrome://dnsFlusher/content/dnsFlusher.xul
&#160;
#这里应当改成
#overlay	chrome://browser/content/browser.xul		chrome://dnsFlusher/content/dnsflusher.xul
&#160;
overlay	chrome://navigator/content/navigator.xul	chrome://dnsFlusher/content/dnsFlusher.xul
&#160;
#应当改成
#overlay	chrome://navigator/content/navigator.xul	chrome://dnsFlusher/content/dnsflusher.xul
&#160;
content	dnsFlusher									chrome/content/dnsFlusher/
&#160;
skin	dnsFlusher		classic/1.0					chrome/skin/classic/dnsFlusher/

修改之后重启firefox就可以了
作者肯定是用win系统,文件名不区分大小写,所以不会有问题,其他linux,mac就会找不到文件了..
]]></description>
			<content:encoded><![CDATA[<p>升级了一下版本,竟然不能用了,查了一下,原来是文件名大小写的问题&#8230;<br />
插件目录的chrome.manifest</p>

<div class="wp_syntax"><div class="code overflow"><pre class="text" style="font-family:monospace;">overlay	chrome://browser/content/browser.xul		chrome://dnsFlusher/content/dnsFlusher.xul
&nbsp;
#这里应当改成
#overlay	chrome://browser/content/browser.xul		chrome://dnsFlusher/content/dnsflusher.xul
&nbsp;
overlay	chrome://navigator/content/navigator.xul	chrome://dnsFlusher/content/dnsFlusher.xul
&nbsp;
#应当改成
#overlay	chrome://navigator/content/navigator.xul	chrome://dnsFlusher/content/dnsflusher.xul
&nbsp;
content	dnsFlusher									chrome/content/dnsFlusher/
&nbsp;
skin	dnsFlusher		classic/1.0					chrome/skin/classic/dnsFlusher/</pre></div></div>

<p>修改之后重启firefox就可以了<br />
<img class="xemotion" src="http://bluehua.org/wp-content/plugins/x-emotions/emotions/msn/bofu2_08.gif" border="0" alt="" />作者肯定是用win系统,文件名不区分大小写,所以不会有问题,其他linux,mac就会找不到文件了..</p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2009/09/28/599.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>谷歌音乐shell版</title>
		<link>http://bluehua.org/2009/08/24/389.html</link>
		<comments>http://bluehua.org/2009/08/24/389.html#comments</comments>
		<pubDate>Mon, 24 Aug 2009 13:47:58 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=389</guid>
		<description><![CDATA[2009.10.15 update
其实需要两个包支持

sudo apt-get install uni2ascii
sudo apt-get install gawk

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
一个可以快速听歌的东东,虽说是练手之作,但是当特别想听某首歌硬盘里又没的时候还是挺方便的~
这个脚本可以将谷歌音乐的的搜索结果显示到终端(支持关键词高亮和分页),选择某一歌曲的序号之后,脚本会获取该曲目的播放地址,并调用播放器播放,咔咔,就是这么简单
脚本运行需要uni2ascii这个包的支持,没有可以apt-get一下,播放器调用ubuntu自带的rhythmbox,可以根据情况修改

#使用方法
google_music.sh &#34;周杰伦 花海&#34;

下载点这里
截图:

]]></description>
			<content:encoded><![CDATA[<p>2009.10.15 update<br />
其实需要两个包支持</p>

<div class="wp_syntax"><div class="code overflow"><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> uni2ascii
<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> <span style="color: #c20cb9; font-weight: bold;">gawk</span></pre></div></div>

<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
一个可以快速听歌的东东,虽说是练手之作,但是当特别想听某首歌硬盘里又没的时候还是挺方便的~</p>
<p>这个脚本可以将谷歌音乐的的搜索结果显示到终端(支持关键词高亮和分页),选择某一歌曲的序号之后,脚本会获取该曲目的播放地址,并调用播放器播放,咔咔,就是这么简单<img class="xemotion" src="http://bluehua.org/wp-content/plugins/x-emotions/emotions/msn/bofu1_10.gif" border="0" alt="" /></p>
<p>脚本运行需要uni2ascii这个包的支持,没有可以apt-get一下,播放器调用ubuntu自带的rhythmbox,可以根据情况修改</p>

<div class="wp_syntax"><div class="code overflow"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#使用方法</span>
google_music.sh <span style="color: #ff0000;">&quot;周杰伦 花海&quot;</span></pre></div></div>

<p><a href="http://sites.google.com/site/sharemyidea09/google-music-shell-ban" target="_blank">下载点这里</a></p>
<p>截图:</p>
<p><a href="http://bluehua.org/wp-content/uploads/2009/08/2009-8-23-13-43-01.png"></a><a href="http://bluehua.org/wp-content/uploads/2009/08/2009-8-23-13-43-01.png"><img class="alignnone size-full wp-image-390" title="2009-8-23 13-43-01" src="http://bluehua.org/wp-content/uploads/2009/08/2009-8-23-13-43-01.png" alt="2009-8-23 13-43-01" width="790" height="463" /></a><a href="http://bluehua.org/wp-content/uploads/2009/08/2009-8-23-13-43-01.png"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2009/08/24/389.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>screenshot:thunder on ubuntu</title>
		<link>http://bluehua.org/2009/05/04/286.html</link>
		<comments>http://bluehua.org/2009/05/04/286.html#comments</comments>
		<pubDate>Mon, 04 May 2009 10:59:30 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[soft]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=286</guid>
		<description><![CDATA[安装参考：
http://www.linuxdiyf.com/viewarticle.php?id=84561
http://www.linux-wiki.cn/index.php/Wine%E8%BF%85%E9%9B%B75%E6%88%96Gigaget


]]></description>
			<content:encoded><![CDATA[<p>安装参考：</p>
<p><a href="http://www.linuxdiyf.com/viewarticle.php?id=84561">http://www.linuxdiyf.com/viewarticle.php?id=84561</a></p>
<p><a href="http://www.linux-wiki.cn/index.php/Wine%E8%BF%85%E9%9B%B75%E6%88%96Gigaget">http://www.linux-wiki.cn/index.php/Wine%E8%BF%85%E9%9B%B75%E6%88%96Gigaget</a></p>
<p><img class="pie-img" src="http://lh3.ggpht.com/_l8FcMjS-xnI/Sf7IS0udb3I/AAAAAAAAE4k/8-07R8quQlM/screenshot_006.jpg?imgmax=640" alt="screenshot_006.jpg" /></p>
<p><img class="pie-img" src="http://lh3.ggpht.com/_l8FcMjS-xnI/Sf7ISCnIxkI/AAAAAAAAE4c/daPDZCAtg7E/screenshot_005.jpg?imgmax=640" alt="screenshot_005.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2009/05/04/286.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ubuntu8.10安装备忘(2)</title>
		<link>http://bluehua.org/2009/02/19/203.html</link>
		<comments>http://bluehua.org/2009/02/19/203.html#comments</comments>
		<pubDate>Thu, 19 Feb 2009 10:57:02 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=203</guid>
		<description><![CDATA[安装vmware player
https://help.ubuntu.com/community/VMware/Player
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
copy了一份xp的虚拟机过来，打开时报错
Could not open virtual Machine: &#8220;Directory&#8221; Dictionary problem.
解决方法：删除目录下的xxx.vmsd文件
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
同步虚拟机与ubuntu的hosts文件，方便测试
共享/etc目录给虚拟xp，在xp下面挂载网络驱动器
写一个”同步host.bat”
copy z:\hosts C:\WINDOWS\system32\drivers\etc\
安装yuidoc
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo easy_install Pygments
sudo easy_install SimpleJSON
sudo easy_install Cheetah
]]></description>
			<content:encoded><![CDATA[<p>安装vmware player</p>
<p>https://help.ubuntu.com/community/VMware/Player</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
copy了一份xp的虚拟机过来，打开时报错</p>
<p>Could not open virtual Machine: &#8220;Directory&#8221; Dictionary problem.</p>
<p>解决方法：删除目录下的xxx.vmsd文件</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
同步虚拟机与ubuntu的hosts文件，方便测试</p>
<p>共享/etc目录给虚拟xp，在xp下面挂载网络驱动器<br />
写一个”同步host.bat”</p>
<p>copy z:\hosts C:\WINDOWS\system32\drivers\etc\</p>
<p>安装yuidoc</p>
<p>sudo apt-get install python-setuptools<br />
sudo apt-get install python-dev</p>
<p>sudo easy_install Pygments<br />
sudo easy_install SimpleJSON<br />
sudo easy_install Cheetah</p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2009/02/19/203.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu8.10安装备忘(1)</title>
		<link>http://bluehua.org/2009/02/16/200.html</link>
		<comments>http://bluehua.org/2009/02/16/200.html#comments</comments>
		<pubDate>Mon, 16 Feb 2009 08:09:33 +0000</pubDate>
		<dc:creator>小鹿</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bluehua.org/?p=200</guid>
		<description><![CDATA[硬盘安装
http://ilovemac.cn/articles/play-with-hardy-install-hd.html
 
硬盘安装找不到分区
http://forum.ubuntu.org.cn/viewtopic.php?f=77&#38;t=162170
 
添加更新源
http://datalinks.blog.sohu.com/80279400.html
 
中文输入法
http://wiki.ubuntu.org.cn/%E4%B8%AD%E6%96%87%E8%BE%93%E5%85%A5%E6%B3%95fcitx
 
apache无法访问fat分区(403error)
挂载时把uid指定为apache的uid
]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span style="font-family: 宋体;">硬盘安装</span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://ilovemac.cn/articles/play-with-hardy-install-hd.html">http://ilovemac.cn/articles/play-with-hardy-install-hd.html</a></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-family: 宋体;">硬盘安装找不到分区</span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://forum.ubuntu.org.cn/viewtopic.php?f=77&amp;t=162170">http://forum.ubuntu.org.cn/viewtopic.php?f=77&amp;t=162170</a></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-family: 宋体;">添加更新源</span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://datalinks.blog.sohu.com/80279400.html">http://datalinks.blog.sohu.com/80279400.html</a></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-family: 宋体;">中文输入法</span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://wiki.ubuntu.org.cn/%E4%B8%AD%E6%96%87%E8%BE%93%E5%85%A5%E6%B3%95fcitx">http://wiki.ubuntu.org.cn/%E4%B8%AD%E6%96%87%E8%BE%93%E5%85%A5%E6%B3%95fcitx</a></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">apache</span><span style="font-family: 宋体;">无法访问</span><span lang="EN-US">fat</span><span style="font-family: 宋体;">分区</span><span lang="EN-US">(403error)</span></p>
<p class="MsoNormal"><span style="font-family: 宋体;">挂载时把</span><span lang="EN-US">uid</span><span style="font-family: 宋体;">指定为</span><span lang="EN-US">apache</span><span style="font-family: 宋体;">的</span><span lang="EN-US">uid</span></p>
]]></content:encoded>
			<wfw:commentRss>http://bluehua.org/2009/02/16/200.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.474 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-10 18:52:56 -->
