<?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://alfred.bt4.org/archives/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://alfred.bt4.org</link>
	<description>Alfred Hua. 前IT人士. 卖命中.</description>
	<lastBuildDate>Mon, 06 Sep 2010 06:24:32 +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>用VirtualBox做下载机</title>
		<link>http://alfred.bt4.org/archives/466</link>
		<comments>http://alfred.bt4.org/archives/466#comments</comments>
		<pubDate>Fri, 18 Jun 2010 14:16:57 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/archives/466</guid>
		<description><![CDATA[我现在的常用系统是Ubuntu，为了下载高清电影，我购买了迅雷会员，使用离线下载功能。但是这个功能有个缺点，就是不支持断点续传，无法忍受一下载就要重启的我，决定使用VirtualBox虚拟XP... ]]></description>
			<content:encoded><![CDATA[<p>我现在的常用系统是Ubuntu，为了下载高清电影，我购买了迅雷会员，使用离线下载功能。但是这个功能有个缺点，就是不支持断点续传，无法忍受一下载就要重启的我，决定使用VirtualBox虚拟XP运行迅雷作为下载机。</p>
<p>设置过程十分简单，下载最新的VirtualBox，安装XP，然后将系统中的一个目录作为Shared Folder映射到XP中，安装迅雷，下载时选择映射的目录就OK了。</p>
<p>在实际操作中有个问题，迅雷5.9会在下载大小超过4G的文件时提示映射的那个目录不是NTFS格式，无法下载，装个5.8的迅雷就OK了。</p>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/466/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T43 Volume Key in Ubuntu 10.04</title>
		<link>http://alfred.bt4.org/archives/462</link>
		<comments>http://alfred.bt4.org/archives/462#comments</comments>
		<pubDate>Wed, 16 Jun 2010 14:08:22 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[ACPI]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/archives/462</guid>
		<description><![CDATA[Digest from:http://www.thinkwiki.org/wiki/Installing_Ubuntu_10.04_%28Lucid_Lynx%29_on_a_ThinkPad_Z61m#Workaround_for_the_Volume_Buttons If you still want to use volume keys for volume control, you should run sudo gedit /etc/rc.local and add this before &... ]]></description>
			<content:encoded><![CDATA[<p>Digest from:http://www.thinkwiki.org/wiki/Installing_Ubuntu_10.04_%28Lucid_Lynx%29_on_a_ThinkPad_Z61m#Workaround_for_the_Volume_Buttons</p>
<blockquote><p>If you still want to use volume keys for volume control, you should run</p>
<pre>sudo gedit /etc/rc.local</pre>
<p>and add this before &#8220;exit 0&#8243;</p>
<pre>cp /sys/devices/platform/thinkpad_acpi/hotkey_all_mask /sys/devices/platform/thinkpad_acpi/hotkey_mask</pre>
<p>This solution is still not really acceptable because it uses a quite weird volume scale resulting in maximum loudness already on 50% of the software mixer. If you&#8217;ve already applied workaround #1, be sure to map &#8220;Volume Up&#8221; and &#8220;Volume Down&#8221; back to the Thinkpad volume keys</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/462/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于Ubuntu 9.10修改Qt程序字体。</title>
		<link>http://alfred.bt4.org/archives/386</link>
		<comments>http://alfred.bt4.org/archives/386#comments</comments>
		<pubDate>Mon, 23 Nov 2009 16:54:29 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/?p=386</guid>
		<description><![CDATA[没事装了个KTouch，是个练打字的软件，还不错。可是Qt程序看着和Gtk的不一样，很不协调，于是想修改一下Qt的界面。 首先想到了首选项里面的Qt设置，打开一看没有，估计是9.10不默认安装了，... ]]></description>
			<content:encoded><![CDATA[<p>没事装了个KTouch，是个练打字的软件，还不错。可是Qt程序看着和Gtk的不一样，很不协调，于是想修改一下Qt的界面。</p>
<p>首先想到了首选项里面的Qt设置，打开一看没有，估计是9.10不默认安装了，于是apt-get了一个qtconfig-qt4，然后在里面设置界面风格为GTK+，字体为微米黑。save了以后，界面风格确实统一了，但是字体却不对，怎么调也没用。用sudo qtconfig-qt4调整并保存后，再sudo ktouch可以发现是有效的。但是不sudo直接调，就怎么保存也无效。</p>
<p>折腾了N久也没能解决这个问题，其间尝试使用了&#8221;qtconfig font no effect&#8221;等关键词搜索，没有找到有价值的信息，后来搜索&#8221;ubuntu 9.10 qt font&#8221;的时候找到了<a href="https://lists.ubuntu.com/archives/kubuntu-bugs/2009-June/077589.html">这个页面</a>，按照上面的提示，apt-get了一个systemsettings，然后在里面设置了字体，果然就好了。</p>
<p>不过不知道是必须systemsettings+qtconfig呢还是单独用systemsettings就够了，有兴趣的朋友可以尝试一下。</p>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/386/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu下adb连接G1提示no premissions的解决方法</title>
		<link>http://alfred.bt4.org/archives/384</link>
		<comments>http://alfred.bt4.org/archives/384#comments</comments>
		<pubDate>Sun, 22 Nov 2009 15:17:46 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[g1]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/?p=384</guid>
		<description><![CDATA[好不容易折腾好了sdk，自然要把adb用起来，但是我打开终端输入adb devices，得到的却是如下内容： ???????????? no permissions 乍一看好像需要root权限，可是输入sudo adb devices，还是不行，上网研究了... ]]></description>
			<content:encoded><![CDATA[<p>好不容易折腾好了sdk，自然要把adb用起来，但是我打开终端输入adb devices，得到的却是如下内容：</p>
<blockquote><p>????????????	no permissions</p></blockquote>
<p>乍一看好像需要root权限，可是输入sudo adb devices，还是不行，上网研究了一下，原来最开始启动adb的时候要有root权限，然后就随便了，如果一开始忘记了加sudo，就必须先终止adb，然后重来，过程如下：</p>
<blockquote><p>$ adb kill-server<br />
$ sudo adb start-server<br />
$ adb devieces</p></blockquote>
<p>看看是不是可以得到设备信息了？我的机器是G1，不过所有android系统的机器应该都一样的。</p>
<p>另外，如果你向我一样把sdk的目录写进了当前用户的PATH设置，但是root用户的PATH里没有，那么第二步会提示command not found，只要换成如下命令就行了：</p>
<blockquote><p>$ sudo /sdk安装目录/tools/adb start-server</p></blockquote>
<p>PS：本文用Drivel发布，我发现Ubuntu下的博客客户端都很简洁。</p>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/384/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>关于在Ubuntu安装Android SDK的一点心得</title>
		<link>http://alfred.bt4.org/archives/381</link>
		<comments>http://alfred.bt4.org/archives/381#comments</comments>
		<pubDate>Wed, 18 Nov 2009 15:09:11 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/archives/381</guid>
		<description><![CDATA[Android 2.0 SDK推出之后，Google将SDK的下载方式进行了变更，现在需要先安装一个“starter package”，然后通过其中的Android SDK and AVD Manager安装各个版本的SDK。 今天在我的Ubuntu 9.10中试着安装Android SDK... ]]></description>
			<content:encoded><![CDATA[<p>Android 2.0 SDK推出之后，Google将SDK的下载方式进行了变更，现在需要先安装一个“starter package”，然后通过其中的Android SDK and AVD Manager安装各个版本的SDK。</p>
<p>今天在我的Ubuntu 9.10中试着安装Android SDK，遇到不少问题，现将步骤和心得分享如下：</p>
<p>1、下载starter package，在<a href="http://developer.android.com/sdk/index.html">这个页面</a>下载android-sdk_r3-linux.tgz。然后解压到某个目录，我放在了~/.android里。</p>
<p>2、进入~/.android/android-sdk-linux/tools，运行./android，可以打开Android SDK and AVD Manager，按照官网的说明，在Availabel Packages中可以选择不同版本的SDK下载，但是我使用的时候根本刷新不出可用的Package，而是提示“Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.”而在Settings中设置“Force https://&#8230; sources to be fetched using http://&#8230;”这个选项后又总是不起左右，后来在<a href="http://groups.google.com/group/android-developers/browse_thread/thread/63a44163a8d07cd9">这个Groups</a>里发现了解决方法：在~/.android目录中创建一个名为<strong>androidtool.cfg</strong>的文件，里面写上<strong>sdkman.force.http = true</strong>。</p>
<p>3、按照第二步操作之后，果然可以获取可用package并能正常下载了，然后就是创建AVD，结果我总是遇到“Permission denied”，根本没法创建AVD文件，我一气之下进行了<strong>sudo chmod 777 ~/.android/avd</strong>的操作，问题是解决了，但是这样明显不是正确的解决方法，于是我进行了一番探索，发现.android目录的权限设置有问题，只给了“访问文件”的权限，而非“创建和删除文件”，顿悟原来一切都是权限问题，不过懒得还原回去再测试了，<strong>有兴趣的朋友可以试一试一开始就关注一下文件夹的权限</strong>，没准一切问题都解决了。</p>
<p>PS：在Ubuntu中安装了lekhonee for Gnome，本文就是用这个软件发布的，虽然界面简陋，不过用着还是很方便的。</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://alfred.bt4.org/archives/381/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ubuntu 9.10</title>
		<link>http://alfred.bt4.org/archives/378</link>
		<comments>http://alfred.bt4.org/archives/378#comments</comments>
		<pubDate>Sat, 31 Oct 2009 07:36:48 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[岁月如梭]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/archives/378</guid>
		<description><![CDATA[中文输入法换成了ibus。 速度不错，基本让人满意。 配色深了一点，我喜欢，什么时候进化成黑色最好。 对x300支持还不错，glxgears有5000多... ]]></description>
			<content:encoded><![CDATA[<p>中文输入法换成了ibus。</p>
<p>速度不错，基本让人满意。</p>
<p>配色深了一点，我喜欢，什么时候进化成黑色最好。</p>
<p>对x300支持还不错，glxgears有5000多分</p>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/378/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu 8.10下配置thinkpad的键盘和trackpoint</title>
		<link>http://alfred.bt4.org/archives/309</link>
		<comments>http://alfred.bt4.org/archives/309#comments</comments>
		<pubDate>Sat, 08 Nov 2008 03:59:33 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[岁月如梭]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/?p=309</guid>
		<description><![CDATA[话说我的X32上周把显卡弄好了装上compiz，不过效果还是比较一般，显示上有不少不稳定的地方。 今天上午继续折腾本子，目标是让trackpoint（小红点）的中键滚动功能启用，并且像windows一样把... ]]></description>
			<content:encoded><![CDATA[<p>话说我的X32上周把显卡弄好了装上compiz，不过效果还是比较一般，显示上有不少不稳定的地方。</p>
<p>今天上午继续折腾本子，目标是让trackpoint（小红点）的中键滚动功能启用，并且像windows一样把右Alt键映射成Win键（Super键）。</p>
<p>第一步，启用小红点的中键滚动，很多文章都说修改/etc/X11/xorg.conf，但是没有任何效果，搜索了半天终于发现原来是8.10的问题，“在Ubuntu 8.10中，键盘、鼠标不再由X服务器而是HAL管理，/etc/X11/xorg.conf中原有的配置不再有效”，所以大家可以参照这篇文章进行配置：</p>
<p><a href="http://www.linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&amp;variant=zh-cn#Ubuntu_8.10.E7.89.88.E6.9C.AC" target="_blank">http://www.linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&amp;variant=zh-cn#Ubuntu_8.10.E7.89.88.E6.9C.AC</a></p>
<p>下面一段设置我重启之后发现失效了。。。我重新研究好了再发出来，如果有朋友发现了问题所在，麻烦指点一下</p>
<p><span style="text-decoration: underline;"><em>照着上面的文章搞好小红点之后，比较麻烦的就是怎么映射Alt键，在ubuntu.org.cn找到一篇很好的文章：</em></span></p>
<p><span style="text-decoration: underline;"><em><a href="http://forum.ubuntu.org.cn/viewtopic.php?t=124749" target="_blank">http://forum.ubuntu.org.cn/viewtopic.php?t=124749</a></em></span></p>
<p><span style="text-decoration: underline;"><em>在这篇文章中，作者修改的是caps键，所以自己改的时候要注意看自己要改的键的键值，另外不同的机器的按键键值是不一样的，自己改的时候要根据实际情况替换文中的设置。</em></span></p>
<p>PS：现在很多网站都不喜欢别人转载了，注明来源的转载也不愿意，所以我文中都是给出链接好。如果哪一天链接无效了，我再修改文章吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/309/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>杂</title>
		<link>http://alfred.bt4.org/archives/307</link>
		<comments>http://alfred.bt4.org/archives/307#comments</comments>
		<pubDate>Fri, 07 Nov 2008 14:57:00 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[岁月如梭]]></category>
		<category><![CDATA[M6]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WM]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/?p=307</guid>
		<description><![CDATA[1、ubuntu上周突然没有声音了，今天在音量管理里面发现PCM不知道为什么被调整成了几乎无声，改了以后就OK了。 2、最近连续刷838若干次，目前已经有了一套快速装系统的经验，可以半小时搞定... ]]></description>
			<content:encoded><![CDATA[<p>1、ubuntu上周突然没有声音了，今天在音量管理里面发现PCM不知道为什么被调整成了几乎无声，改了以后就OK了。</p>
<p>2、最近连续刷838若干次，目前已经有了一套快速装系统的经验，可以半小时搞定基本的备份、刷机和装软件，有空总结一下。</p>
<p>3、培训快要结束了，我正在练习五笔中。</p>
<p>4、下周要排警官证的照片了。</p>
<p>5、我的X32的老显卡镭M6也能开compiz了，参照了如下两篇文章：</p>
<p>http://forum.ubuntu.org.cn/viewtopic.php?f=94&amp;t=127472&amp;start=0&amp;st=0&amp;sk=t&amp;sd=a</p>
<p>http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=7832</p>
<p>前一篇的方法加后一篇的配置文件。</p>
<p>6、最近两周打算写一篇Q屏WM软件的推荐</p>
<p>7、我的wordpress后台是好的，但是后台首页变成白板了，神奇。</p>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/307/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>连续3天使用Ubuntu</title>
		<link>http://alfred.bt4.org/archives/295</link>
		<comments>http://alfred.bt4.org/archives/295#comments</comments>
		<pubDate>Sun, 03 Aug 2008 09:45:25 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/?p=295</guid>
		<description><![CDATA[总体还是能满足基本需要的，包括： eclipse装好了，并且设置为与Windows下的使用相同的workspace aMule调整好了，并且设置为与eMule使用相同的目录 输入法用FITx，用MAC的时候就很喜欢FIT 系统字体调... ]]></description>
			<content:encoded><![CDATA[<p>总体还是能满足基本需要的，包括：</p>
<ul>
<li>eclipse装好了，并且设置为与Windows下的使用相同的workspace</li>
<li>aMule调整好了，并且设置为与eMule使用相同的目录</li>
<li>输入法用FITx，用MAC的时候就很喜欢FIT</li>
<li>系统字体调整为丽黑，很漂亮</li>
<li>EVA、LibFetion、Galaxium，聊天没问题了</li>
<li>SMplayer＋若干解码包，可以放视频了</li>
</ul>
<p>但是有几个郁闷的地方</p>
<ul>
<li>EVA和LibFetion都不能传送文件，现在发什么都是邮件，但是万一超过附件大小呢。。。莫非要重启。</li>
<li>在Ubuntu中没有了Outlook＋ActiveSync＋TrueConnect＋掌智手机助手，我的WM手机没了同步和玩的环境，并且有时候插上手机还会导致系统网络设置出错。研究了一下替代方案，实在很不能让人满意，暂时放弃。每周去Windows系统同步吧。。。</li>
<li>没有OneNote。。。目前用Firefox下面的Zorero插件和系统自带的Tomboy。。。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/295/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu8.04共享目录给局域网内的Windows</title>
		<link>http://alfred.bt4.org/archives/293</link>
		<comments>http://alfred.bt4.org/archives/293#comments</comments>
		<pubDate>Sat, 02 Aug 2008 04:12:33 +0000</pubDate>
		<dc:creator>Alfred Phlower</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://alfred.bt4.org/?p=293</guid>
		<description><![CDATA[我使用的是Ubuntu 8.04.1中文版，需要将一个目录贡献给家里的另外一台电脑，但是又不想重启机器到windows下面去，所以就研究了一下怎么在Ubuntu里面设置共享，发现非常简单，过程如下： 1、在... ]]></description>
			<content:encoded><![CDATA[<p>我使用的是Ubuntu 8.04.1中文版，需要将一个目录贡献给家里的另外一台电脑，但是又不想重启机器到windows下面去，所以就研究了一下怎么在Ubuntu里面设置共享，发现非常简单，过程如下：</p>
<p>1、在要共享的文件夹上点击右键选择“共享选项”</p>
<p>2、提示安装相关的包，连上互联网安装</p>
<p>3、装好后再次选择“共享选项”，勾上共享后提示权限不够</p>
<p>4、打开终端，输入“sudo gnome-open /xxx/xxx/xxx”</p>
<p>5、此时以高权限打开了文件浏览器，右键点击需要设置共享的目录再选“共享选项”设置共享没有权限提示了，成功～</p>
]]></content:encoded>
			<wfw:commentRss>http://alfred.bt4.org/archives/293/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
