<?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>逆时Ubuntu 学习笔记</title>
	<atom:link href="http://backtimer.missnkiss.com/category/linux-dream/learning-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://backtimer.missnkiss.com</link>
	<description>Just to freely write down what I thought.</description>
	<lastBuildDate>Wed, 02 Dec 2009 14:29:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>使用蓝牙与手机拨号上网</title>
		<link>http://backtimer.missnkiss.com/bluetoothialup.html</link>
		<comments>http://backtimer.missnkiss.com/bluetoothialup.html#comments</comments>
		<pubDate>Fri, 01 May 2009 03:00:54 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[手机]]></category>
		<category><![CDATA[拨号]]></category>
		<category><![CDATA[蓝牙]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=250</guid>
		<description><![CDATA[很早以前就弄过的了, 只是没有写哈. 今天兴起, 就写出来分享下吧^______^
我的系统呢, 是 ubuntu 啦; 手机呢, 是 BlackBerry 8800, so, 得先安装 Barry 哈.
然后就是完全参考自: UbuntuHelp:BluetoothDialup 了&#8230... ]]></description>
			<content:encoded><![CDATA[<p>很早以前就弄过的了, 只是没有写哈. 今天兴起, 就写出来分享下吧^______^</p>
<p>我的系统呢, 是 ubuntu 啦; 手机呢, 是 <a title="BB8800" href="/bb8800.html" target="_blank">BlackBerry 8800</a>, so, 得先安装 <a title="barry" href="http://netdirect.ca/software/packages/barry/" target="_blank">Barry</a> 哈.</p>
<p>然后就是完全参考自: <a title="UbuntuHelp:BluetoothDialup" href="http://wiki.ubuntu.org.cn/index.php?title=UbuntuHelp:BluetoothDialup&amp;variant=zh-cn" target="_blank">UbuntuHelp:BluetoothDialup</a> 了&#8230;.</p>
<p>具体的操作如下哈:<span id="more-250"></span></p>
<ol>
<li>将手机匹配到电脑, 这个就不多说啦.</li>
<li>获取你手机的 mac 地址

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">hcitool scan</pre></div></div>

</li>
<li>获取手机连接上网的 channel 号码

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">sdptool search DUN</pre></div></div>

</li>
<li>配置 rfcomm.conf

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bluetooth<span style="color: #000000; font-weight: bold;">/</span>rfcomm.conf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rfcomm0 <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #c20cb9; font-weight: bold;">yes</span>;
	device 手机 mac 地址;
	channel 在第三步获得的 channel 号码;
	comment <span style="color: #ff0000;">&quot;Bluetooth PPP Connection&quot;</span>;
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

</li>
<li>重启蓝牙服务

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>bluetooth restart</pre></div></div>

</li>
<li>配置 ppp

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ppp<span style="color: #000000; font-weight: bold;">/</span>peers<span style="color: #000000; font-weight: bold;">/</span>BluetoothDialup</pre></div></div>

<pre lang="bash>debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
lcp-echo-failure 0
</pre>
</li>
<li>配置 ChatScripts

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>chatscripts<span style="color: #000000; font-weight: bold;">/</span>BluetoothDialup</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">TIMEOUT	<span style="color: #000000;">35</span>
ECHO	ON
ABORT	<span style="color: #ff0000;">'\nBUSY\r'</span>
ABORT	<span style="color: #ff0000;">'\nERROR\r'</span>
ABORT	<span style="color: #ff0000;">'\nNO ANSWER\r'</span>
ABORT	<span style="color: #ff0000;">'\nNO CARRIER\r'</span>
ABORT	<span style="color: #ff0000;">'\nNO DIALTONE\r'</span>
ABORT	<span style="color: #ff0000;">'\nRINGING\r\n\r\nRINGING\r'</span>
<span style="color: #ff0000;">''</span>	\rAT
OK	<span style="color: #ff0000;">'AT+CGDCONT=1,&quot;IP&quot;,&quot;cmnet&quot;'</span>
OK	ATD<span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000;">99</span><span style="color: #000000; font-weight: bold;">***</span><span style="color: #000000;">1</span><span style="color: #666666; font-style: italic;">#</span>
CONNECT <span style="color: #ff0000;">&quot;&quot;</span></pre></div></div>

<p>注意: cmnet 那里请根据自己的情况修改, 即 cmnet or cmwap</li>
<li>将自己加入相关用户组

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> adduser 你的用户名 dialout dip</pre></div></div>

</li>
<li>可以使用以下命令连接蓝牙上网啦(注意流量..)

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pon BluetoothDialup</pre></div></div>

</li>
<li>使用以下命令断开连接

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">poff BluetoothDialup</pre></div></div>

</li>
</ol>
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/bb8800.html" title="使用 BlackBerry 8800 半年啦~">使用 BlackBerry 8800 半年啦~ (32)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html" title="Ubuntu for my laptop &#8212;- 配置篇">Ubuntu for my laptop &#8212;- 配置篇 (4)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/bluetoothialup.html">http://backtimer.missnkiss.com/bluetoothialup.html</a></p>By the time  your rss reader get this post here is <strong> 1 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/%e6%89%8b%e6%9c%ba/" title="手机" rel="tag">手机</a>, <a href="http://backtimer.missnkiss.com/tag/%e6%8b%a8%e5%8f%b7/" title="拨号" rel="tag">拨号</a>, <a href="http://backtimer.missnkiss.com/tag/%e8%93%9d%e7%89%99/" title="蓝牙" rel="tag">蓝牙</a>, <a href="http://backtimer.missnkiss.com/tag/%e9%85%8d%e7%bd%ae/" title="配置" rel="tag">配置</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/bluetoothialup.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>访问隐藏分区的方法</title>
		<link>http://backtimer.missnkiss.com/access-hidden-partition.html</link>
		<comments>http://backtimer.missnkiss.com/access-hidden-partition.html#comments</comments>
		<pubDate>Sat, 09 Aug 2008 09:07:09 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[分区]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=104</guid>
		<description><![CDATA[昨天通过隐藏分区重装了系统;今天突然兴起..想要看看本本隐藏分区里的文件.可是,问题是,它隐藏了.
G了很久&#8230;.内容大多是&#8221;如何删除隐藏分区&#8221;&#8230;orz&#8230;我只是想看看罢了&#8220;... ]]></description>
			<content:encoded><![CDATA[<p>昨天通过隐藏分区重装了系统;今天突然兴起..想要看看本本隐藏分区里的文件.可是,问题是,它隐藏了.</p>
<p>G了很久&#8230;.内容大多是&#8221;如何删除隐藏分区&#8221;&#8230;orz&#8230;我只是想看看罢了&#8220;而搜到符合&#8221;查看隐藏分区&#8221;的却用不了&#8230;.无奈之下,唉,还是自力更生吧..!!</p>
<p>!!<br />
ubuntu live-cd!!被我发现了这个神奇的东西..于是乎,翻出光盘堆里的ubuntu 8.04 live-cd..<br />
<span id="more-104"></span><br />
载入系统后,自动挂载的分区是正常分区(C &amp; D)和我的MP3^^..没有隐藏分区&#8230;&#8230;<br />
不甘心.于是..进入<strong>/dev/disk</strong>,在<strong>by-label</strong>文件夹里找到了C &amp; D盘的标签..还有一个陌生的标签PQSERVICE&#8230;.<br />
邪念产生了`~</p>
<p>打开终端,输入&#8211;></p>
<blockquote><p>sudo mount /dev/disk/by-label/PQSERVICE /media/disk</p></blockquote>
<p>嘿嘿,桌面上出现了新的分区图标,名称为:PQSERVICE.<br />
K.O.~被我发现啦,嘎嘎</p>
<p>说明下命令吧:</p>
<ul>
<li>mount -挂载分区</li>
<li>/dev/disk/by-label/PQSERVICE -隐藏分区地址<br />
P.S.:<a href="/dream-laptop.html" target="_blank">我的本本</a>是Acer Aspire 4520,预装vista home basic</li>
<li>/media/disk -挂载点.<br />
注意!这个&#8221;点&#8221;一定是要已存在的文件夹!!!!我这个是我的MP3&#8230;.哈哈</li>
</ul>
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/wifi-setting.html" title="成功设置无线网卡">成功设置无线网卡 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/new-os-theme.html" title="New OS Theme">New OS Theme (7)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html" title="Ubuntu for my laptop &#8212;- 配置篇">Ubuntu for my laptop &#8212;- 配置篇 (4)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html" title="Ubuntu for my laptop &#8212;- 安装篇">Ubuntu for my laptop &#8212;- 安装篇 (6)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-used-small-problems.html" title="ubuntu使用小问题汇总">ubuntu使用小问题汇总 (2)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/access-hidden-partition.html">http://backtimer.missnkiss.com/access-hidden-partition.html</a></p>By the time  your rss reader get this post here is <strong> 9 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/%e5%88%86%e5%8c%ba/" title="分区" rel="tag">分区</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/access-hidden-partition.html/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>强悍的KVM!</title>
		<link>http://backtimer.missnkiss.com/powerful-kvm.html</link>
		<comments>http://backtimer.missnkiss.com/powerful-kvm.html#comments</comments>
		<pubDate>Sat, 31 May 2008 04:36:36 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[虚拟机]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=66</guid>
		<description><![CDATA[VBOX-&#62;VMware-&#62;KVM
我的虚拟机使用路线&#8230;.
好吧,VBOX用得挺久,只是当时台机垃圾,受不了慢速..也就不用了.
本本刚用VMware,感觉还不错..
but,VMware的速度还是不能满足我的需求..so,转战传说中的... ]]></description>
			<content:encoded><![CDATA[<blockquote><p>VBOX-&gt;VMware-&gt;KVM</p></blockquote>
<p>我的虚拟机使用路线&#8230;.<br />
好吧,<strong>VBOX</strong>用得挺久,只是当时台机垃圾,受不了慢速..也就不用了.<br />
本本刚用<strong>VMware</strong>,感觉还不错..<br />
but,<strong>VMware</strong>的速度还是不能满足我的需求..so,转战传说中的<em>KVM</em>.</p>
<p>不如我们先看看我刚用上<em>KVM</em>时候激动的饭否记录..&#8211;&gt;</p>
<blockquote><p><span class="content">VMware不能满足我的需求。。。转战KVM。</span> <span class="stamp"><a class="time" title="2008-05-26 18:09" href="http://fanfou.com/statuses/IRvN0nicwvY">2008-05-26 18:09</a></span></p></blockquote>
<blockquote><p><span class="content">KVM好强大&#8230;速度好快&#8230;.</span> <span class="stamp"><a class="time" title="2008-05-26 18:09" href="http://fanfou.com/statuses/9ZNtTOAFy_k">2008-05-26 18:09</a></span></p></blockquote>
<blockquote><p><span class="content">安装虚拟XP过程中,ubuntu使用竟然很流畅&#8230;.</span> <span class="stamp"><a class="time" title="2008-05-26 18:16" href="http://fanfou.com/statuses/UfqkSpd-42M">2008-05-26 18:16</a></span></p></blockquote>
<blockquote><p><span class="content">10分钟&#8230;.XP安装好了?!VMware的时候用了40分钟才安装好&#8230;&#8230;&#8230;&#8230;.</span> <span class="stamp"><a class="time" title="2008-05-26 18:20" href="http://fanfou.com/statuses/7Mgo5Uu0hu0">2008-05-26 18:20</a> </span></p></blockquote>
<blockquote><p><span class="content">内存占用:264.CPU使用率很低..</span> <span class="stamp"><a class="time" title="2008-05-26 18:21" href="http://fanfou.com/statuses/IaX9iPfCobw">2008-05-26 18:21</a></span></p></blockquote>
<p style="text-align: center;"><a href="/wp-content/uploads/images/powerful-kvm/Screenshot-17.jpg" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/powerful-kvm/Screenshot-17.jpg" alt="" width="450" /></a></p>
<p><span id="more-66"></span></p>
<blockquote><p>P.S.1:文章比较长..是断断续续的写的,可能有错误.请包涵并指出,谢谢^^<br />
P.S.2:以下所述内容部分有参考+抄袭<a href="http://forum.ubuntu.org.cn" target="_blank">ubuntu forum</a>上的:<a href="http://forum.ubuntu.org.cn/viewtopic.php?t=120857&amp;sid=7b1fac0ae348bdb4b5001220df6f94df" target="_blank"> [教学]使用最快速的虚拟机 KVM</a>(我也给补充了很多很多内容噢&gt;.&lt;)</p></blockquote>
<p>好了..回到正题,写<em>KVM</em>的使用.</p>
<p>什么是<em>KVM</em>呢?</p>
<blockquote><p>KVM 是新兴的虚拟化项目,最早由 Avi Kivity 等人开发,并于 2006 年 8 月推向社区,10 月被 Linux 社区接受。它以其代码简单、易于理解掌握以及不需要重新安装等优点很快受到了业界的欢迎与及 Linux 项目创始人 Torvalds 的支持,并于 2006 年底<strong>被集成进 Linux 2.6.20 版内核</strong>,从此<strong>成为了 Linux 的一个组成部分</strong>。</p></blockquote>
<p>在这里先说好了.<br />
要使用KVM,你的CPU必须支持VM技术!!<br />
判断方法如下:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #ff0000;">'(vmx|svm)'</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>cpuinfo</pre></div></div>

<p>如果没有任何的输出，说明你的cpu不支持&#8230;.以下所写的,你可以当作娱乐来看了&#8230;.<br />
我的输出:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">leewings<span style="color: #000000; font-weight: bold;">@</span>leewings-laptop:~$ <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #ff0000;">'(vmx|svm)'</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>cpuinfo
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch</pre></div></div>

<p>我这边显示的是<strong>svm</strong>据说,有的机器是会出现<strong>vmx</strong>的.是不是因为CPU框架不同呢?<strong>vmx</strong>是Intel的?我用的AMD..</p>
<p>接下来,继续废话吧..</p>
<p>相对于老大哥<strong>VBOX</strong>和<strong>VMware</strong>,<em>KVM</em>实在年轻..<br />
<em>KVM</em>项目从产生到收录到Linux内核中仅用了几个月的时间,在如此短的时间取得这么大的进步是很惊人的,可见,它是很强悍的..!<br />
用了一下,就会明显感觉到<em>KVM</em>的最闪亮的优点:速度快!<br />
这点从我们饭否记录里就可以明显感觉到了&#8230;.</p>
<p>值得一提的是,作为一个年轻、热门的,<strong>写进内核</strong>的项目,<em>KVM</em>肯定会逐步在硬件等方面得到linux最基础的支持.<br />
这个是什么一个概念啊..有多少项目能有这样的支持了?这优势..</p>
<p>不过&#8230;.<em>KVM</em>不像2个老大哥一样&#8221;简单&#8221;操作..<br />
主要是因为..它是使用<strong>命令行</strong>操作的..</p>
<p>呃..一开始我也怕了&#8230;.<br />
因为本人认为用命令行是件麻烦的事情,而本人最怕的就是麻烦..<br />
结果,这么长时间使用ubuntu,我发现使用命令行是那么的<em>清晰</em>和<em>简单</em>,也是最安心最稳定的.~<br />
so,硬着头皮耍下去!!</p>
<p>linux里还有另外一个命令行操作的虚拟化技术:<strong>qemu</strong>.其实,这个我也没怎么了解..</p>
<p>据说,<strong>qemu</strong>和<em>KVM</em>之间存在着这样的关系:</p>
<blockquote><p>1，kvm 不是 qemu 的插件。记住，kvm基本是一个独立的系统，只不过借用了qemu的代码和操作界面。也就是说，你在命令行中如果使用 qemu 的地方，只需要qemu换成 kvm，其他的参数基本都不用修改就可以运行，这样的效率是 qemu 的很多倍。所以，如果你想用好 kvm，去看看 qemu 的说明吧。</p>
<p>2，如果要用kvm，你的cpu必须支持 vm 技术，否则和 qemu 的效率基本相同。</p></blockquote>
<p>重点来了!!<br />
让我们安装<em>KVM</em>吧~</p>

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

<p>之所以要把qemu也装上,是因为<em>KVM</em>没有包含建立虚拟磁盘的工具&#8230;.无语.</p>
<p>接下来,要使用<em>KVM</em>,你肯定要有运行它的权限啦.<br />
将你加入<em>KVM</em>组吧.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> adduser yourusername kvm</pre></div></div>

<p>另外,如果要让虚拟机能访问你的物理磁盘,你得将你加入多一个组:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> adduser yourusername disk</pre></div></div>

<p>接下来..ctrl+alt+backspace吧~</p>
<p>重新登录之后呢,就可以<strong>创建磁盘</strong>啦.<br />
便于管理,我们要先在用户目录下建一个kvm目录,进入之.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">qemu-img create <span style="color: #660033;">-f</span> qcow2 WindowsXP.img 8G</pre></div></div>

<blockquote><p>参数说明:</p>
<ul>
<li>-f qcow2 :磁盘的格式</li>
<li>WindowsXP.img :磁盘名字..</li>
<li>8G :摆明是大小设定..</li>
</ul>
</blockquote>
<p>这样就可以了.其他参数可以自己敲&#8221;qemu-img&#8221;+enter,慢慢看啦.&#8220;</p>
<p><strong>安装XP</strong>登场!</p>
<p>安装是很快的..准备好iso之后..</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kvm <span style="color: #660033;">-M</span> pc <span style="color: #660033;">-m</span> <span style="color: #000000;">256</span> <span style="color: #660033;">-soundhw</span> es1370 <span style="color: #660033;">-hda</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>leewings<span style="color: #000000; font-weight: bold;">/</span>kvm<span style="color: #000000; font-weight: bold;">/</span>WindowsXP.img <span style="color: #660033;">-localtime</span> <span style="color: #660033;">-net</span> nic,<span style="color: #007800;">vlan</span>=<span style="color: #000000;">0</span> <span style="color: #660033;">-net</span> user,<span style="color: #007800;">vlan</span>=<span style="color: #000000;">0</span> <span style="color: #660033;">-cdrom</span> <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>ACER<span style="color: #000000; font-weight: bold;">/</span>MY SKY<span style="color: #000000; font-weight: bold;">/</span>Download<span style="color: #000000; font-weight: bold;">/</span>ISO<span style="color: #000000; font-weight: bold;">/</span>Windows<span style="color: #000000; font-weight: bold;">/</span>DeepinXP-V5.9f.iso <span style="color: #660033;">-boot</span> d <span style="color: #660033;">-no-acpi</span></pre></div></div>

<p style="text-align: center;"><a href="/wp-content/uploads/images/powerful-kvm/Screenshot-15.jpg" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/powerful-kvm/Screenshot-15.jpg" alt="" width="450" /></a></p>
<p>windows xp的安装界面.~~<br />
可以看出,<em>KVM</em>的&#8221;界面&#8221;真简洁啊..<br />
安装是<strong>快速流畅</strong>的&#8230;.真强悍.</p>
<blockquote><p>先说几个关于安装的关键参数,还有一些常用的,下面会说滴~</p>
<ul>
<li>-m 256 虚拟机内存大小</li>
<li> -soundhw es1370 声卡支持</li>
<li>-hda /home/leewings/kvm/WindowsXP.img 刚刚建立的虚拟磁盘C盘</li>
<li>-cdrom /media/ACER/MY SKY/Download/ISO/Windows/DeepinXP-V5.9f.iso 安装光盘的位置D盘(好吧,我的路径很深..)</li>
<li>-boot d 从光驱启动</li>
<li>-no-adpi 官方推荐使用这个参数,原因是qemu/kvm不太兼容,可能造成cpu的占用偏高.不过,有的人用不了这个参数&#8230;.那就不用吧&#8230;..我成功使用,嘿嘿</li>
</ul>
</blockquote>
<p>安装好之后,可以先随便乱用一下..那速度..<strong>VBOX</strong>和<strong>VMware</strong>根本无法比拟&#8230;.真棒!!</p>
<p>有点不爽诶..USB不能用?!鼠标很卡??!好吧..<br />
先说关于鼠标卡,我们换种方式来使用吧~~</p>
<p>记得<a href="lang="BASH"/ubuntu-used-diary-3.html" target="_blank">很久以前我说过的rdesktop</a>么?我们又要用它啦~</p>
<blockquote><p>首先要在XP里作如下设定:</p>
<ul>
<li>给你的用户加个密码..我的是123456.嘿嘿&#8230;.多好</li>
<li>打开你的远程桌面支持..</li>
<li>控制面版-&gt;用户帐户-&gt;更改用户登录或注销的方式，“使用欢迎屏幕”和“使用快速用户切换”都勾上</li>
<li>关机然后你会看到一个神奇的画面&#8230;.这个,是N年前的电脑才出现过的..<br />
<a href="/wp-content/uploads/images/powerful-kvm/Screenshot-QEMU-KVM.jpg" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/powerful-kvm/Screenshot-QEMU-KVM.jpg" alt="" width="450" align="center" /></a><br />
呃..我的截图没有窗口的&#8230;.其实,它是有窗口的~<br />
不如..我们直接按叉叉呀.~<br />
其实,可以在终端-&gt;&#8221;CTRL+C&#8221;</li>
</ul>
</blockquote>
<ol>然后别急..我们来解决USB的问题.</p>
<li>「系统」→「系统管理」→「用户和组」→「管理组」新增群组「usbusers」,并将允许使用KVM的使用者都勾选起来。</li>
<li>打开终端,

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>udev<span style="color: #000000; font-weight: bold;">/</span>rules.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">40</span>-permissions.rules</pre></div></div>

</li>
<li>在打开的文件中寻找:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb_device&quot;</span></pre></div></div>

<p>将其补充成:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;usb_device&quot;</span>, <span style="color: #007800;">GROUP</span>=<span style="color: #ff0000;">&quot;usbusers&quot;</span>, <span style="color: #007800;">MODE</span>=<span style="color: #ff0000;">&quot;0664&quot;</span></pre></div></div>

</li>
<li>由于 ubuntu中预设关闭usbfs的支援,so..

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mountdevsubfs.sh</pre></div></div>

</li>
<li>开启后,寻找:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Magic to make /proc/bus/usb work</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#mkdir -p /dev/bus/usb/.usbfs</span>
<span style="color: #666666; font-style: italic;">#domount usbfs &quot;&quot; /dev/bus/usb/.usbfs -obusmode=0700,</span>
<span style="color: #007800;">devmode</span>=0600,<span style="color: #007800;">listmode</span>=0644
<span style="color: #666666; font-style: italic;">#ln -s .usbfs/devices /dev/bus/usb/devices</span>
<span style="color: #666666; font-style: italic;">#mount --rbind /dev/bus/usb /proc/bus/usb</span></pre></td></tr></table></div>

<p>将最后四行的#去掉,如下所示:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Magic to make /proc/bus/usb work</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>.usbfs
domount usbfs <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>.usbfs <span style="color: #660033;">-obusmode</span>=0700,
<span style="color: #007800;">devmode</span>=0600,<span style="color: #007800;">listmode</span>=0644
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> .usbfs<span style="color: #000000; font-weight: bold;">/</span>devices <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>devices
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">--rbind</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb
搞定<span style="color: #000000; font-weight: bold;">!!!!!!!</span></pre></td></tr></table></div>

</li>
</ol>
<p>还是别急..我们再来解决网卡桥接的问题..</p>
<ol>下面是我在Ubuntu8.04下设定kvm(适用于所有虚拟机)中桥接模式的过程,桥接模式可以使Host OS 和Guest OS在区域网路中处于平行地位。</p>
<p>安装所需工具uml-utilities,bridge-utils(已有)</p>

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

<li>为Host OS建立桥接界面(Bridge)和虚拟网卡设备(tap device)这样作的原故,是使将来取得IP是由桥接界面(bridge),而不是由ethx（真实的有线网卡）或tapx（虚拟网卡）来取得IP将下面的文本保存成文件，有需要按自己的情况修改一两个地方。<br />
另存为在/etc/init.d/virtualbridgedrun</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>virtualbridgedrun</pre></div></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Virtual Bridging</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Create a tap device with permission for the user running kvm</span>
<span style="color: #666666; font-style: italic;"># 建立一个使用者(user)有权限的设备tap0，user为自己用户名</span>
tunctl <span style="color: #660033;">-t</span> tap0 <span style="color: #660033;">-u</span> user
<span style="color: #c20cb9; font-weight: bold;">chmod</span> 0666 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>net<span style="color: #000000; font-weight: bold;">/</span>tun
&nbsp;
<span style="color: #666666; font-style: italic;"># Bring up ethX and tapX in promiscuous mode</span>
<span style="color: #666666; font-style: italic;"># 将ethx和tapx网卡界面设为混杂模式(Promiscuous)</span>
<span style="color: #c20cb9; font-weight: bold;">ifconfig</span> eth0 0.0.0.0 promisc
<span style="color: #c20cb9; font-weight: bold;">ifconfig</span> tap0 0.0.0.0 promisc
&nbsp;
<span style="color: #666666; font-style: italic;"># Create a new bridge and add the interfaces to the bridge.</span>
<span style="color: #666666; font-style: italic;"># 建立新的桥接界面(bridge)，並把 eth0, tap0加入bridge</span>
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
&nbsp;
<span style="color: #666666; font-style: italic;"># 下面是两种获取IP的方式，可以自由选择，把不需要的注释掉就好了。</span>
<span style="color: #666666; font-style: italic;"># 将bridge设成静态IP。XXX都分别对应IP、子网掩码、网关。</span>
<span style="color: #666666; font-style: italic;"># 注意，以下设定不能与eth0的相同，不然都不能上网....</span>
<span style="color: #666666; font-style: italic;"># 唠叨多一句,自动获取IP的方式我从来没成功过..都会和eth0冲突,两边都不能上网了....</span>
<span style="color: #666666; font-style: italic;">#ifconfig br0 XXX.XXX.XXX.XXX netmask XXX.XXX.XXX.XXX up</span>
<span style="color: #666666; font-style: italic;">#route add default gw XXX.XXX.XXX.XXX</span>
<span style="color: #666666; font-style: italic;"># 将bridge设成动态DHCP分配IP。</span>
<span style="color: #666666; font-style: italic;"># dhclient br0</span></pre></td></tr></table></div>

</li>
<li>给上面的文件加上可执行权限

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>virtualbridgedrun</pre></div></div>

</li>
<li>再建立一个可执行文件

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>virtualbridge</pre></div></div>

<p>添加如下内容:</p>
<pre> /etc/init.d/virtualbridgedrun &amp;</pre>
<p>给它加上可执行权限</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>virtualbridge</pre></div></div>

</li>
<li>在/etc/rc2.d目录下做一个指向/etc/init.d/virtualbridge的链接

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc2.d<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> ..<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>virtualbridge S999virtualbridge
 <span style="color: #666666; font-style: italic;">#取名S999开头是为了让它最后启动</span></pre></div></div>

<p>重新启动电脑之后,就完成KVM桥接网路模式的设定了.<br />
输入ifconfig看看吧,多了个tap0噢～<br />
马上启动Guest吧 !Guest的网路设定和Host是独立平行的。</li>
</ol>
<p>好吧,搞定所有前奏了.<br />
终于需要启动你的虚拟机了,..</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kvm <span style="color: #660033;">-M</span> pc <span style="color: #660033;">-m</span> <span style="color: #000000;">256</span> <span style="color: #660033;">-hda</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>leewings<span style="color: #000000; font-weight: bold;">/</span>kvm<span style="color: #000000; font-weight: bold;">/</span>WindowsXP.img <span style="color: #660033;">-hdb</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda <span style="color: #660033;">-net</span> nic <span style="color: #660033;">-net</span> tap,<span style="color: #007800;">ifname</span>=tap0,<span style="color: #007800;">script</span>=no <span style="color: #660033;">-usb</span> <span style="color: #660033;">-localtime</span> <span style="color: #660033;">-redir</span> tcp:<span style="color: #000000;">3389</span>::<span style="color: #000000;">3389</span></pre></div></div>

<p>P.S.:普通联网方式:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kvm <span style="color: #660033;">-M</span> pc <span style="color: #660033;">-m</span> <span style="color: #000000;">256</span> <span style="color: #660033;">-hda</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>leewings<span style="color: #000000; font-weight: bold;">/</span>kvm<span style="color: #000000; font-weight: bold;">/</span>WindowsXP.img <span style="color: #660033;">-hdb</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda <span style="color: #660033;">-net</span> nic <span style="color: #660033;">-net</span> user <span style="color: #660033;">-usb</span> <span style="color: #660033;">-localtime</span> <span style="color: #660033;">-redir</span> tcp:<span style="color: #000000;">3389</span>::<span style="color: #000000;">3389</span></pre></div></div>

<p>稍等..其实就是等到登录界面&#8230;&#8230;&#8230;</p>
<p>然后,再起一个终端</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rdesktop localhost:<span style="color: #000000;">3389</span> <span style="color: #660033;">-u</span> administrator <span style="color: #660033;">-p</span> <span style="color: #000000;">123456</span> <span style="color: #660033;">-g</span> 1280x800 <span style="color: #660033;">-D</span> <span style="color: #660033;">-r</span> sound:<span style="color: #7a0874; font-weight: bold;">local</span></pre></div></div>

<p>windows..它出现啦!鼠标很平滑..~嘿嘿</p>
<p>好了,现在解释一下参数吧.</p>
<blockquote><p>下面是<em>KVM</em>的参数.</p>
<ul>
<li>-hda /home/leewings/kvm/WindowsXP.img 之前创建并安装了XP的虚拟磁盘</li>
<li>-hdb /dev/sda 让kvm加载我的系统分区.这个命令加载的是全部的分区..可以根据自己的情况调节的.</li>
<li>-net nic -net user 使用简单网络访问,可以让虚拟机上网.</li>
<li>-usb 使能 USB 支持.</li>
<li>-localtime 时间同步,你该不会希望你的虚拟机是另外的时间吧?!</li>
<li>-redir tcp:3389::3389 把虚拟机的远程桌面服务器端口映射到宿主机的端口,这个等同windows的远程桌面.</li>
</ul>
</blockquote>
<blockquote><p>下面是<strong>rdesktop</strong>的参数</p>
<ul>
<li>localhost:3389 虚拟机的网络IP(如果是普通方式,直接就是&#8221;localhost&#8221;;如果是桥接,第一次要到guest里面查看IP地址..):端口</li>
<li>-u administrator 用户名,像我这种直接安装精简版ISO的,一般都是administrator啦..</li>
<li>-p 123456 密码..我刚设定的123456</li>
<li>-g 1280&#215;800 显示分辨率,根据需要来调整咯</li>
<li>-D 消除远程终端窗口的边框</li>
<li>-r sound:local 启用声音.注意：不能与KVM参数中的&#8221;-soundhw es1370&#8243;共用!</li>
</ul>
</blockquote>
<p>这种方式,可以享受<em>KVM</em>的所有效率,它真的快到不行啊..,<br />
同时,鼠标是不是很快了?另外,几乎可以避免所有的键盘冲突.多好,嘿嘿~</p>
<p>不过,我们知道,用rdesktop连接,只能断开不能关机..<br />
那如果加入了&#8221;-nographic(不启动图形界面)&#8221;参数,我要关机怎么办?那我们要去查看虚拟机的界面.<br />
方法有2:</p>
<ul>
<li>使用远程桌面工具,地址 localhost 端口 5900.</li>
<li>使用远程终端,地址 localhost 端口 3389.</li>
</ul>
<p>使用上了,肯定就把我常用的软件给弄上啦~</p>
<p style="text-align: center;"><a href="/wp-content/uploads/images/powerful-kvm/Screenshot-QEMU-KVM-1.jpg" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/powerful-kvm/Screenshot-QEMU-KVM-1.jpg" alt="" width="450" align="center" /></a></p>
<p>对于<strong>VBOX</strong>和<strong>VMware</strong>的<strong>无缝模式</strong>,我还是恋恋不舍&#8230;.怎么办?!</p>
<ol>只需要一个小改动^^看我的~</p>
<li>在XP,下载<a href="http://www.cendio.se/files/thinlinc/seamlessrdp/seamlessrdp.zip" target="_blank">SeamlessRDP</a>，并解压到C盘根目录下，C:seamlessrdp，然后就登出吧</li>
<li>ubuntu,通过rdesktop,用seamlessrdpshell.exe这个东西调用虚拟机上的软件,只把软件界面搞到本地来用.在我这里打开IE的命令如下:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rdesktop <span style="color: #660033;">-A</span> <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;C:seamlessrdpseamlessrdpshell.exe C:Program FilesInternet ExplorerIEPLORER.EXE&quot;</span> guestip:<span style="color: #000000;">3389</span> <span style="color: #660033;">-u</span> administrator <span style="color: #660033;">-p</span> <span style="color: #000000;">123456</span>  <span style="color: #660033;">-r</span> sound:<span style="color: #7a0874; font-weight: bold;">local</span></pre></div></div>

<p><a href="/wp-content/uploads/images/powerful-kvm/Screenshot-16.jpg" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/powerful-kvm/Screenshot-16.jpg" alt="" width="450" align="center" /></a></p>
<ul>创建了4个启动器</p>
<li>桥接模式的windows xp

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kvm <span style="color: #660033;">-M</span> pc <span style="color: #660033;">-m</span> <span style="color: #000000;">256</span> <span style="color: #660033;">-hda</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>leewings<span style="color: #000000; font-weight: bold;">/</span>kvm<span style="color: #000000; font-weight: bold;">/</span>WindowsXP.img <span style="color: #660033;">-hdb</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda <span style="color: #660033;">-net</span> nic <span style="color: #660033;">-net</span> tap,<span style="color: #007800;">ifname</span>=tap0,<span style="color: #007800;">script</span>=no <span style="color: #660033;">-usb</span> <span style="color: #660033;">-localtime</span> <span style="color: #660033;">-redir</span> tcp:<span style="color: #000000;">3389</span>::<span style="color: #000000;">3389</span></pre></div></div>

</li>
<li>使用SeamlessRDP的rdesktop

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kvm <span style="color: #660033;">-M</span> pc <span style="color: #660033;">-m</span> <span style="color: #000000;">256</span> <span style="color: #660033;">-hda</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>leewings<span style="color: #000000; font-weight: bold;">/</span>kvm<span style="color: #000000; font-weight: bold;">/</span>WindowsXP.img <span style="color: #660033;">-hdb</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda <span style="color: #660033;">-net</span> nic <span style="color: #660033;">-net</span> user <span style="color: #660033;">-usb</span> <span style="color: #660033;">-localtime</span> <span style="color: #660033;">-redir</span> tcp:<span style="color: #000000;">3389</span>::<span style="color: #000000;">3389</span></pre></div></div>

</li>
<li>普通联网模式的windows xp

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rdesktop guestip:<span style="color: #000000;">3389</span> <span style="color: #660033;">-A</span> <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;C:seamlessrdpseamlessrdpshell.exe C:Program FilesInternet ExplorerIEPLORER.EXE&quot;</span> <span style="color: #660033;">-u</span> administrator <span style="color: #660033;">-p</span> <span style="color: #000000;">123456</span>  <span style="color: #660033;">-r</span> sound:<span style="color: #7a0874; font-weight: bold;">local</span></pre></div></div>

</li>
<li>普通的rdesktop

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rdesktop localhost:<span style="color: #000000;">3389</span> <span style="color: #660033;">-u</span> administrator <span style="color: #660033;">-p</span> <span style="color: #000000;">123456</span> <span style="color: #660033;">-g</span> 1280x800 <span style="color: #660033;">-D</span> <span style="color: #660033;">-r</span> sound:<span style="color: #7a0874; font-weight: bold;">local</span></pre></div></div>

</li>
</ul>
</li>
</ol>
<p><strong>tips</strong>:不知道为什么,<em>KVM</em>使用SeamlessRDP的rdesktop不是很稳定..很容易就退出&#8230;&#8230;&#8230;..以前在<strong>vbox</strong>中是不会出现的..囧</p>
<p>这样一来,我的虚拟机就配置好了..花了一个星期时间&#8230;.主要是因为上课/写作业等事情,要断断续续的来做..<br />
&#8230;累..</p>
<p>呼..搞定了!<br />
真爽!!这速度,以后使用就好舒坦了..</p>
<p>本来想附上自己翻译的<em>KVM</em>和<strong>rdesktop</strong>参数表..<br />
但是,目前对于我来说..水平有限&#8230;.只能当草稿存起来了..<br />
同志们就自己敲<em>KVM</em>或<strong>rdesktop</strong>自己看E文的参数表吧..~</p>
<p>就这样吧,我要休息了..</p>
<p>PS.来自xjx的补充：</p>
<blockquote><p>如果出现 open /dev/kvm: No such file or directory, 可能有人的内核还没有加入kvm支持, 增加一个加入 kvm 到内核的命令, 这个是在 <a href="http://forum.ubuntu.org.cn/viewtopic.php?p=787791&amp;sid=e347f18942e48f750525ec0ee2315c7a" target="_blank">http://forum.ubuntu.org.cn/vie&#8230;..0ee2315c7a</a> 看到的.</p>
<p>命令:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">modprobe kvm_intel 或者kvm_amd</pre></div></div>

</blockquote>
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/ovirt-for-kvm.html" title="KVM有可视化软件啦&#8212;-oVirt">KVM有可视化软件啦&#8212;-oVirt (1)</a></li>
<li><a href="http://backtimer.missnkiss.com/use-vmware-workstation-to-virual-xp.html" title="使用VMware Workstation虚拟XP">使用VMware Workstation虚拟XP (8)</a></li>
<li><a href="http://backtimer.missnkiss.com/t-shirt-from-cu.html" title="ChinaUnix 文化衫">ChinaUnix 文化衫 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/our-opensource-world-needs-more-easy.html" title="我们的开源世界需要更 Easy">我们的开源世界需要更 Easy (21)</a></li>
<li><a href="http://backtimer.missnkiss.com/feelings-sz-loongson-activity.html" title="感受: 龙芯推广活动之深圳站">感受: 龙芯推广活动之深圳站 (6)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/powerful-kvm.html">http://backtimer.missnkiss.com/powerful-kvm.html</a></p>By the time  your rss reader get this post here is <strong> 19 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/kvm/" title="KVM" rel="tag">KVM</a>, <a href="http://backtimer.missnkiss.com/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://backtimer.missnkiss.com/tag/%e8%99%9a%e6%8b%9f%e6%9c%ba/" title="虚拟机" rel="tag">虚拟机</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/powerful-kvm.html/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>使用VMware Workstation虚拟XP</title>
		<link>http://backtimer.missnkiss.com/use-vmware-workstation-to-virual-xp.html</link>
		<comments>http://backtimer.missnkiss.com/use-vmware-workstation-to-virual-xp.html#comments</comments>
		<pubDate>Sun, 25 May 2008 13:50:31 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[虚拟机]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=65</guid>
		<description><![CDATA[VMWare是一个“虚拟PC”软件.它使你可以在一台机器上同时运行二个或更多Windows、DOS、LINUX系 统。与“多启动”系统相比，VMWare采用了完全不同的概念。多启动系统在一个时刻只能运行一个系统... ]]></description>
			<content:encoded><![CDATA[<blockquote><p>VMWare是一个“虚拟PC”软件.它使你可以在一台机器上同时运行二个或更多<a href="http://baike.baidu.com/view/4821.htm" target="_blank">Windows</a>、<a href="http://baike.baidu.com/view/365.htm" target="_blank">DOS</a>、<a href="http://baike.baidu.com/view/1634.htm" target="_blank">LINUX</a>系 统。与“多启动”系统相比，VMWare采用了完全不同的概念。多启动系统在一个时刻只能运行一个系统，在系统切换时需要重新启动机器。VMWare是真 正“同时”运行，多个操作系统在主系统的平台上，就象标准Windows应用程序那样切换。而且每个操作系统你都可以进行虚拟的分区、配置而不影响真实硬盘的数据，你甚至可以通过网卡将几台虚拟机用网卡连接为一个局域网，极其方便。安装在VMware操作系统性能上比直接安装在硬盘上的系统底不少，因此， 比较适合学习和测试。</p></blockquote>
<p align="right">来自:<a href="http://baike.baidu.com/view/301083.htm" target="_blank">百度百科</a></p>
<p style="text-align: center;"><a href="/wp-content/uploads/images/XPScreenshot.png" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/XPScreenshot.png" width="450"/></a></p>
<p><span id="more-65"></span><br />
<a href="/ubuntu-used-diary-3.html" target="_blank">之前</a>台机上用的是VBOX来虚拟XP的.但是,现在,我被<a href="http://www.vmware.com" target="_blank">VMware</a>的新特性&#8211;&#8221;无缝模式&#8221;吸引住了..</p>
<ul>
<li>Compiz特效支持。</li>
<li>虚拟桌面支持。</li>
<li>开始菜单集成。</li>
<li>窗口边框和徽标。</li>
</ul>
<p>这很强大啊&#8230;!!</p>
<p>不过,这个功能是在6.5 beta版本中的..<br />
现在VMware Workstation 6.5 Beta 1正公开测试当中..<br />
访问：<a href="http://communities.vmware.com/community/beta/workstation6.5" target="_blank">Workstation 6.5 Beta Program</a><br />
去注册并下载吧^^</p>
<p>然后进入解压目录.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>vmware-install.pl</pre></div></div>

<p>理论上来说,一路狂按&#8221;enter&#8221;<br />
然后你会看到</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Enjoy,
&nbsp;
<span style="color: #660033;">--the</span> VMware team</pre></div></div>

<p>KO&gt;.&lt;</p>
<p>然后肯定就是开启VMware啦~~<br />
与以往的版本不同,以往是在安装的时候就配置module.<br />
but..这个版本,是在第一次运行的时候,以图形化的界面跟你说要配置&#8230;.<br />
稍等一下之后,VMeare就成功运行啦!</p>
<p>建立虚拟机的过程极其简单..这里就不多说了.</p>
<p>我安装的是深度XP SP2精简版.本来打算安装SP3的,结果深度的SP3还是beta版..<br />
由于需要,我还不能用beta版..只好继续用SP2..嘎嘎<br />
安装好后,运行,极其流畅..比VBOX虚拟的用起来感觉好很多&#8230;.<br />
据说,微软每个员工的电脑里面都有个正版企业版的VMware的..<br />
可见它有多强大啊!!</p>
<p>下面给几张截图吧^^<br />
由于技术+知识的问题..我截图不了.<br />
算了,看看来自<a href="http://linuxdesktop.cn/" target="_blank">linuxdesktop</a>的截图吧:</p>
<blockquote><p>转自<a title="Linux桌面中文网" href="http://linuxdesktop.cn/">Linux桌面中文网</a> &#8211; <a rel="bookmark" href="http://linuxdesktop.cn/2008/04/03/vmware-workstation-65-beta/">VMware Workstation 6.5 Beta公开测试</a></p></blockquote>
<blockquote><p>看了下面几张图，你就明白这四大特性了：</p>
<p>Compiz Fusion已经越来越被用户所使用，VMware当然要兼容这个。“弹性窗口”依然对Windows应用程序有效。图为Ubuntu的GNOME桌面。</p>
<p><a href="http://linuxdesktop.cn/"><img src="http://pic.yupoo.com/tualatrix/25260558372c/u8ntpx77.jpg" alt="" /></a></p>
<p>几乎所有Linux发行版都有四个“虚拟桌面”，现在windows应用程序也能支持虚拟桌面了！</p>
<p><a href="http://linuxdesktop.cn/"><img src="http://pic.yupoo.com/tualatrix/82521558372d/d79j81pm.jpg" alt="" /></a></p>
<p>无缝模式下启动Windows应用程序会不会很麻烦呢？当然不会，有“开始菜单”，这个开始菜单完全是GNOME风格的（注意图标）。</p>
<p><a href="http://linuxdesktop.cn/"><img src="http://pic.yupoo.com/tualatrix/95186558372d/djq16jdb.jpg" alt="" /></a></p>
<p>为突出Windows应用程序与标准Linux应用程序，Windows窗口将用边框和徽标标识出来。</p>
<p><a href="http://linuxdesktop.cn/"><img src="http://pic.yupoo.com/tualatrix/59187558372d/tcvr94yu.jpg" alt="" /></a></p></blockquote>
<p>在这里提一下。<br />
运行VMware虚拟的XP,某些时候很慢?</p>
<p><span class="postbody">打开系统监视器发现了问题的根源.<br />
用户内存才用了101M,而已用交换达到了90M了.<br />
整个系统差不多都是在虚拟内存运行的,怪不得慢了<br />
改了一下vmware设置.</span></p>

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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Edit-<span style="color: #000000; font-weight: bold;">&gt;</span>Preferences-<span style="color: #000000; font-weight: bold;">&gt;</span>Memory</pre></div></div>

<p>改成:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Fit all virtual machine memory into reserved host RAM</pre></div></div>

<p>这样就可以啦.<br />
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/ovirt-for-kvm.html" title="KVM有可视化软件啦&#8212;-oVirt">KVM有可视化软件啦&#8212;-oVirt (1)</a></li>
<li><a href="http://backtimer.missnkiss.com/powerful-kvm.html" title="强悍的KVM!">强悍的KVM! (19)</a></li>
<li><a href="http://backtimer.missnkiss.com/t-shirt-from-cu.html" title="ChinaUnix 文化衫">ChinaUnix 文化衫 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/our-opensource-world-needs-more-easy.html" title="我们的开源世界需要更 Easy">我们的开源世界需要更 Easy (21)</a></li>
<li><a href="http://backtimer.missnkiss.com/feelings-sz-loongson-activity.html" title="感受: 龙芯推广活动之深圳站">感受: 龙芯推广活动之深圳站 (6)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/use-vmware-workstation-to-virual-xp.html">http://backtimer.missnkiss.com/use-vmware-workstation-to-virual-xp.html</a></p>By the time  your rss reader get this post here is <strong> 8 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://backtimer.missnkiss.com/tag/vmware/" title="VMware" rel="tag">VMware</a>, <a href="http://backtimer.missnkiss.com/tag/%e8%99%9a%e6%8b%9f%e6%9c%ba/" title="虚拟机" rel="tag">虚拟机</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/use-vmware-workstation-to-virual-xp.html/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>成功设置无线网卡</title>
		<link>http://backtimer.missnkiss.com/wifi-setting.html</link>
		<comments>http://backtimer.missnkiss.com/wifi-setting.html#comments</comments>
		<pubDate>Sat, 24 May 2008 08:33:01 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Wi-Fi]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=63</guid>
		<description><![CDATA[不厚道的我,昨晚用wifi接入了一个名曰:TP－LINK的网络,玩了通宵赤壁&#8230;&#8230;.
再加上,前段时间成功接入了学校的无线网络&#8211;SZ-SCHOOL,它的稳定与龟速(11Mbps..)令我折服..
这一切,都是在vista下... ]]></description>
			<content:encoded><![CDATA[<p>不厚道的我,昨晚用wifi接入了一个名曰:<strong>TP－LINK</strong>的网络,玩了通宵<a href="http://www.chibi.com" target="_blank">赤壁</a>&#8230;&#8230;.<br />
再加上,前段时间成功接入了学校的无线网络&#8211;<strong>SZ-SCHOOL</strong>,它的稳定与龟速(<strong>11</strong>Mbps..)令我折服..</p>
<p>这一切,都是在<em>vista</em>下完成的..但是,vista的<em>臃肿</em>令我无比厌恶..<br />
so,还是给我的ubuntu弄上<strong>wifi驱动</strong>吧..虽然<a href="/ubuntu-for-my-laptop-2.html" target="_blank">之前</a>说过不弄的&#8230;&#8230;.</p>
<p>好了,进入正题吧。讲讲我是如何<strong>设置</strong>的～</p>
<p>我的网卡:<strong><strong>Atheros AR5007EG Wireless Network Adapter</strong></strong><br />
<span id="more-63"></span><br />
有两种方法..</p>
<p>首先说我成功的方法先：</p>
<ul>
<li> 在受限的驱动里将无线网卡的选中状态去除,重启.</li>
<li> linux软件中,有个叫<strong>ndiswrapper</strong>的东西,这个东西的中文名是:<em>Windows无线驱动程序</em>,好了,不用再说,大家都明白了吧～

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

<p>P.S.:如果不行就只安装ndisgtk,由于依赖关系,ndiswrapper会自动装上的.</li>
<li>
<blockquote><p>“系统”－&gt;“系统管理”－&gt;“Windows无线驱动程序”</p></blockquote>
<p>点击 “安装新的驱动程序“，浏览到你的驱动目录里的.inf文件，点安装就行了。<br />
这样之后,wifi就自动启用啦!!</li>
<li>P.S.:如果想开机自动加载的话还要：

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe ndiswrapper
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ndiswrapper&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">tee</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>modules</pre></div></div>

</li>
</ul>
<p>附:驱动下载地址:<a href="http://www.91files.com/?3PDLM5PKQEZS6KPLH6NC" target="_blank">点我^^</a></p>
<p>另外有个方法比这个简单一点的..据说也会稳定一点.毕竟上面那个方法是调用win的驱动的&#8230;.<br />
but&#8230;&#8230;..我失败了.方法如下:</p>
<ul>
<li> 在受限的驱动里将无线网卡的选中状态去除,重启.</li>
<li>下载驱动文件:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>snapshots.madwifi.org<span style="color: #000000; font-weight: bold;">/</span>special<span style="color: #000000; font-weight: bold;">/</span>madwifi-ng-r2756+ar5007.tar.gz</pre></div></div>

</li>
<li>解压并安装

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xfz madwifi-ng-r2756+ar5007.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> madwifi-ng-r2756+ar5007
<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>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe ath_pci
<span style="color: #c20cb9; font-weight: bold;">sudo</span> reboot</pre></div></div>

</li>
<li>据说再次重启就可以KO了.</li>
</ul>
<p>如此一来,我的ubuntu也可以无线上网啦~!!而且,连接速度比vista快和稳定^^<br />
开心ing&#8230;.<br />
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/new-os-theme.html" title="New OS Theme">New OS Theme (7)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html" title="Ubuntu for my laptop &#8212;- 配置篇">Ubuntu for my laptop &#8212;- 配置篇 (4)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html" title="Ubuntu for my laptop &#8212;- 安装篇">Ubuntu for my laptop &#8212;- 安装篇 (6)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-used-small-problems.html" title="ubuntu使用小问题汇总">ubuntu使用小问题汇总 (2)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/wifi-setting.html">http://backtimer.missnkiss.com/wifi-setting.html</a></p>By the time  your rss reader get this post here is <strong> 5 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/wi-fi/" title="Wi-Fi" rel="tag">Wi-Fi</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/wifi-setting.html/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>New OS Theme</title>
		<link>http://backtimer.missnkiss.com/new-os-theme.html</link>
		<comments>http://backtimer.missnkiss.com/new-os-theme.html#comments</comments>
		<pubDate>Mon, 05 May 2008 07:10:14 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[主题]]></category>
		<category><![CDATA[美化]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=53</guid>
		<description><![CDATA[既然BLOG换主题了,也想给系统换个主题&#8230;.
Blubuntu台机在用了,本本一上来也是用这个的,.,&#8230;.没新鲜感了.
那就顺便换个吧^^这个换起来比blog主题要方便&#8230;.
先来张桌面图~


呵呵,看出来了... ]]></description>
			<content:encoded><![CDATA[<p>既然BLOG换主题了,也想给系统换个主题&#8230;.<br />
Blubuntu台机在用了,本本一上来也是用这个的,.,&#8230;.没新鲜感了.<br />
那就顺便换个吧^^这个换起来比blog主题要方便&#8230;.<br />
先来张桌面图~</p>
<p style="text-align: center;"><a href="/wp-content/uploads/images/new-os-theme/Screenshot-13.jpg" target="_blank"><img class="aligncenter" title="apple theme" src="/wp-content/uploads/images/new-os-theme/Screenshot-13.jpg" alt="" width="450" /></a></p>
<p><span id="more-53"></span><br />
呵呵,看出来了吧,是<strong>MAC风格</strong>的&#8230;..不是本人一向喜欢的<strong>清爽型</strong>了.偶尔换换口味呀&gt;.&lt;<br />
下面就来讲讲换主题的过程吧.~<br />
先下载几个东西:</p>
<ul>
<li>系统图标:<strong>Mac4Lin</strong>,可在此下载<strong>Icons_part_2</strong>：<a href="http://sourceforge.net/project/platformdownload.php?group_id=204373" target="_blank">点我呀点我呀^^</a></li>
<li><strong>GTK+GDM Theme</strong>,链接<a href="http://sourceforge.net/project/platformdownload.php?group_id=204373" target="_blank">同上</a>, 这个是<strong>Part1</strong>,包含了很多很多东西,我就用了其中的<strong>GTK Metacity theme, GDM theme</strong></li>
<li>由于是主题是<strong>自定义</strong>(就是杂合咯..)的&#8230;我还有下了一个GTK Theme的包,:<br />
<a href="http://linuxdesktop.cn/wp-content/uploads/2008/05/imetal-gradienttar.gz" target="_blank">imetal-gradienttar.tar.gz</a>(来自:<a title="Linux桌面中文网" href="http://linuxdesktop.cn/" target="_blank">Linux桌面中文网</a>)</li>
</ul>
<p>安装我就不说啦,太简单了^^直接说我的设置吧</p>
<ul>
<li>首先呢,GDM就用Part1解压出来的,下面给出screensort咯(我不知道怎么在等了u:</li>
<p style="text-align: center;"><a href="/wp-content/uploads/images/new-os-theme/GDM screenshot.jpg" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/new-os-theme/GDM screenshot.jpg" alt="" width="248" height="150" /></a></p>
<li>GTK主题模板就是用的<strong>imetal-gradienttar</strong></li>
<li>然后修改了它的桌面背景为银色调的<strong>MAC壁纸</strong>.以前是用蓝色调的blubuntu,实在不协调&#8230;</li>
<li>窗口边框用的是Icons_part_2里的<strong>Mac4Lin_GTK_v0.4</strong></li>
<li>图标用Icons_part_2里的<strong>Mac4Lin_Icons_v0.4</strong></li>
<li><strong>imetal-gradienttar</strong>的指针是黑色的,理应更好的,但是,一旦繁忙状态,就成了一个<em>彩色转盘</em>&#8230;&#8230;换之.其实..就是换回<strong>默认指针</strong>了,哈哈&gt;.&lt;</li>
<li>上下面板可是<strong>透明</strong>的噢,透明背景在<strong>imetal-gradient</strong>解压目录下的<strong>/gtk-2.0/Panel/panel-bg.png</strong></li>
</ul>
<p>大功告成!!<br />
好了,最后贴一张图over.</p>
<p style="text-align: center;"><a href="/wp-content/uploads/images/new-os-theme/Screenshot-14.jpg" target="_blank"><img class="aligncenter" src="/wp-content/uploads/images/new-os-theme/Screenshot-14.jpg" alt="" width="450" /></a></p>
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/ubuntu-used-diary-2.html" title="Ubuntu使用日志（2）">Ubuntu使用日志（2） (6)</a></li>
<li><a href="http://backtimer.missnkiss.com/how-to-contain-reply-to-in-theme.html" title="如何在主题中集成 ＠reply">如何在主题中集成 ＠reply (14)</a></li>
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/new-theme-garland.html" title="新主题&#8212;-Garland">新主题&#8212;-Garland (17)</a></li>
<li><a href="http://backtimer.missnkiss.com/is-time-to-be-busy.html" title="要忙了&#8220;">要忙了&#8220; (2)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/new-os-theme.html">http://backtimer.missnkiss.com/new-os-theme.html</a></p>By the time  your rss reader get this post here is <strong> 7 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/%e4%b8%bb%e9%a2%98/" title="主题" rel="tag">主题</a>, <a href="http://backtimer.missnkiss.com/tag/%e7%be%8e%e5%8c%96/" title="美化" rel="tag">美化</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/new-os-theme.html/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Ubuntu for my laptop &#8212;- 配置篇</title>
		<link>http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html</link>
		<comments>http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html#comments</comments>
		<pubDate>Sat, 03 May 2008 12:52:45 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=49</guid>
		<description><![CDATA[继上篇安装后,肯定转入配置啦!!
现在的心情还是超开心^^还是什么都不多说先,直接进入主题吧^^
参考资料:

[分享]新手上路学习配置C，C＋＋，GTK等开发环境
Ubuntu速配指南
[分享]配置CPU温度.风... ]]></description>
			<content:encoded><![CDATA[<p>继上篇<strong>安装</strong>后,肯定转入<strong>配置</strong>啦!!</p>
<p>现在的心情还是超开心^^还是什么都不多说先,直接进入主题吧^^</p>
<p>参考资料:</p>
<ul>
<li><a href="http://forum.ubuntu.org.cn/viewtopic.php?t=40971" target="_blank">[分享]新手上路学习配置C，C＋＋，GTK等开发环境</a></li>
<li><a href="http://wiki.ubuntu.org.cn/Qref" target="_blank">Ubuntu速配指南</a></li>
<li><a href="http://forum.ubuntu.org.cn/viewtopic.php?t=55438" target="_blank">[分享]配置CPU温度.风扇转速,硬盘温度监控</a></li>
<li><a href="http://wiki.ubuntu.org.cn/index.php?title=Wine&amp;variant=zh-cn" target="_blank">Wine</a></li>
</ul>
<p><span id="more-49"></span></p>
<blockquote><p>目录<a id="0" name="目录"></a></p>
<ul>
<li><a href="#1">Step No.1 个人配置文件转移</a></li>
<li><a href="#2">插曲 No.1 文泉驿正黑</a></li>
<li><a href="#3">Step No.2 编译环境</a></li>
<li><a href="#4">插曲 No.2 无线网络</a></li>
<li><a href="#5">插曲 No.3 Blubuntu主题</a></li>
<li><a href="#6">Step No.3 Firefox相关设置</a></li>
<li><a href="#7">Step No.4 多媒体环境</a></li>
<li><a href="#8">插曲 No.4 CPU温度监测</a></li>
<li><a href="#9">Step No.5 JAVA环境</a></li>
<li><a href="#10">Step No.6 Wine</a></li>
<li><a href="#11">Step No.7 安装源里有的软件</a></li>
<li><a href="#12">Step No.8 安装源外的软件</a></li>
</ul>
</blockquote>
<ul>
<li><span style="color: #ff9933;">Step No.1</span><strong> 个人配置文件转移</strong><a id="1" name="Step No.1"></a></li>
</ul>
<p>首先把我的个人文件&#8230;包括EVA/Firefox/Evolution/Tomboy/Gftp等等的个人设置复制过来先&#8230;..懒得再去重新配置这些应用的啦..呵呵.</p>
<p>打开Eolution&#8230;配置一下,11封邮件&#8230;&#8230;</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ffcc33;">插曲 No.1</span><strong> 文泉驿正黑</strong><a id="2" name="插曲 No.1"></a></li>
</ul>
<p>虽然说安装中文环境的时候有安装<strong>文泉驿正黑</strong>,但系统很多地方都还是原来那个超级难看的字体..</p>
<p>去<a href="http://wenq.org/" target="_blank">文泉驿</a>那里下载个<a href="http://wenq.org/index.cgi?ZenHei" target="_blank">deb包</a>吧~安装那个包的时候可是会全给你设置好的&#8230;.so,go&#8211;~&gt;.$</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ff9933;">Step No.2</span> <strong>编译环境</strong><a id="3" name="Step No.2"></a></li>
</ul>
<p>肯定要配置好<strong>编译环境</strong>啦..</p>
<p><strong>(1)配置GCC</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential <span style="color: #c20cb9; font-weight: bold;">autoconf</span> automake1.9 <span style="color: #c20cb9; font-weight: bold;">cvs</span> subversion</pre></div></div>

<p>这条命令会安装以下的包：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dpkg-dev <span style="color: #c20cb9; font-weight: bold;">g++</span> g++-<span style="color: #000000;">4.2</span> libc6-dev libstdc++<span style="color: #000000;">6</span>-<span style="color: #000000;">4.2</span>-dev libtimedate-perl linux-libc-dev <span style="color: #c20cb9; font-weight: bold;">patch</span>  <span style="color: #c20cb9; font-weight: bold;">cvs</span> libapr1 libaprutil1 libpq5 libsvn1 subversion</pre></div></div>

<p>不要忘了来个&#8221;<strong>hello world</strong>&#8220;测试下噢~!!</p>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-2/Screenshot-programmer-c-test.jpg" target="_blank"><img class="alignnone" src="/wp-content/uploads/images/ubuntu-for-my-laptop-2/Screenshot-programmer-c-test.jpg" alt="" width="450" /></a></p>
<p><strong>(2)安装GTK环境</strong></p>
<p>使用命令：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-core-devel
<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> libglib2.0-doc libgtk2.0-doc
<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> devhelp
<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> glade-gnome glade-common glade-doc</pre></div></div>

<p>N多包&#8230;..同样,自己做个小测试看看好啦~~</p>
<p><strong>(3)安装压缩工具</strong></p>
<p>顺便的而已&#8230;..</p>
<p>安装<strong>rar、7z、cab</strong>的格式支持</p>

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

<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ffcc33;">插曲 No.2</span><strong> 无线网络</strong><a id="4" name="插曲 No.2"></a></li>
</ul>
<p>突然想到了<strong>WI-FI</strong>..现在的本本基本都有wlan了..vista由于有acer的软件帮忙,可以自动搜索无线网络并自动接入&lt;哇哈哈..&gt;.而到了ubuntu..呃&#8230;没这么好了,要<strong>手动设置</strong>了&#8230;..but,how to?</p>
<p>I don&#8217;t know&#8230;.</p>
<p>but..我要拿到学校用的..为了<strong>合理使用</strong>,我不能开wi-fi..so,不去G怎么弄&#8230;..呼&#8230;.<strong>忍.!</strong>&amp;.&lt;</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ffcc33;">插曲 No.3</span><strong> Blubuntu主题</strong><a id="5" name="插曲 No.3"></a></li>
</ul>
<p>受不了Ubuntu的<strong>土黄色</strong>&#8230;.想到<strong>Blunbentu</strong>啦..~</p>
<blockquote><p><a href="https://wiki.ubuntu.com/Artwork/Incoming/Blubuntu" target="_blank">Blubuntu</a>来自Ubuntu官方Wiki上， 目的是提供一个蓝色的又与原本黄色主题风格相似的一套完整的主题。</p></blockquote>
<p>GDM、会话Splash、主题和墙纸在内的所有主题元素<br />
秉承了在Ubuntu中安装软件的方便,连这个主题的安装都巨方便啊.!!</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> blubuntu-look blubuntu-gdm-theme blubuntu-session-splashes blubuntu-theme  blubuntu-wallpapers tango-icon-theme</pre></div></div>

<p>看到了吧,GDM、会话Splash、主题和墙纸在内的所有主题元素,一次过通通搞定..巨周到方便!!</p>
<p>让蓝色浪潮来得更猛烈些吧！！<br />
<a href="/wp-content/uploads/images/ubuntu-for-my-laptop-2/Screenshot-face-preference.jpg" target="_blank"><img class="alignnone" src="/wp-content/uploads/images/ubuntu-for-my-laptop-2/Screenshot-face-preference.jpg" alt="" width="450" /></a></p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ff9933;">Step No.3</span><strong> Firefox相关设置</strong><a id="6" name="Step No.3"></a></li>
</ul>
<p>打开Firefox..发现,显示的是<strong>繁体中文</strong>?噢..是台湾的中文包&#8230;.个人还是比较习惯简体滴&#8230;.so&#8211;&gt;</p>
<blockquote><p><a href="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0b5/linux-i686/xpi/zh-CN.xpi" target="_blank">啦啦啦,点我下载<strong>Firefox简体中文支持</strong>^^</a></p></blockquote>
<p>一般来说..Firefox是不会默认支持Flash播放的&#8230;..没关系,一句话搞定^^</p>

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

<p>还等什么?赶紧去<a href="http://www.tudou.com" target="_blank">土豆</a>随便找个视频看看啦~~!!</p>
<p>本来还可以讲讲怎么设置字体的&#8230;.可是,安装<strong>文泉驿正黑</strong>的时候,都帮我搞定了,哈哈~</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ff9933;">Step No.4</span><strong> 多媒体环境</strong><a id="7" name="Step No.4"></a></li>
</ul>
<p>由于某些东西的需要,先加入一个有<strong>non-free</strong>软件包的<strong>Medibuntu源</strong>吧.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.medibuntu.org<span style="color: #000000; font-weight: bold;">/</span>sources.list.d<span style="color: #000000; font-weight: bold;">/</span>hardy.list <span style="color: #660033;">-O</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list.d<span style="color: #000000; font-weight: bold;">/</span>medibuntu.list
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update（这样之后才能安装公钥。。）
<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> medibuntu-keyring <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>公钥<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>来的..<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update <span style="color: #7a0874; font-weight: bold;">&#40;</span>....每次弄完源之后必定要做的~<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>地球人都知道,刚装好的ubuntu基本什么东西都不能放&#8230;.不能光学习啊,娱乐必不可少啊&gt;.&lt;~!!</p>
<p>好,看我的!!</p>
<p>首先安装<strong>多媒体解码器</strong><br />
* Xine多媒体引擎解码器</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libxine1-ffmpeg libxine1-all-plugins libxine1-plugins gcc-<span style="color: #000000;">3.3</span>-base libstdc++<span style="color: #000000;">5</span>
&nbsp;
<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> w32codecs<span style="color: #7a0874; font-weight: bold;">&#40;</span>w64codecs<span style="color: #7a0874; font-weight: bold;">&#41;</span> ----<span style="color: #000000; font-weight: bold;">&gt;</span>看你的系统是几位的咯....~</pre></div></div>

<p>* Gstreamer多媒体引擎解码器</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-esd</pre></div></div>

<p>* DVD影碟功能支持(这个在<a href="http://wiki.ubuntu.org.cn/Qref/Gutsy" target="_blank">7.10的设置教程</a>中是没有的&#8230;.)</p>

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

<p>Ubuntu原带的那个电影播放器很烂的..接下来,需要<strong>配置电影播放器</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> remove totem-mozilla
<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> smplayer smplayer-themes mozilla-mplayer</pre></div></div>

<p>如此一来,可爱的<strong>MPlayer</strong>就出现啦!!多媒体的初步设置也就KO了.&gt;.&amp;</p>
<p>发现了么,上面那条命令中,有个<strong>smplayer</strong>,它的描述是:<strong>A great MPlayer front-end</strong></p>
<p>MS是mplayer的修改版..试用了一下,比mplayer好用&#8230;.哈哈,good~!</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ffcc33;">插曲 No.4</span> <strong>CPU温度监测</strong><a id="8" name="插曲 No.4"></a></li>
</ul>
<p>运行了这么就,突然想到温度问题了..对于心爱的本本肯定不想因为<strong>CPU温度</strong>高而重启什么的啦..于是乎,G到一个监测的方法..~</p>

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

<p>这样子之后呢,就可以用<strong>sensors</strong>命令来查看各项参数啦~</p>
<p>如果显示不了&#8230;.请查阅:<a href="http://forum.ubuntu.org.cn/viewtopic.php?t=55438" target="_blank">[分享]配置CPU温度.风扇转速,硬盘温度监控</a></p>
<p>然后呢,再+一个监测<strong>硬盘温度</strong>的东东吧^^</p>

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

<p>每次都用<strong>sensors</strong>命令来查看,你烦不烦?!我烦!!so&#8230;.<strong>Computer Temperature Monitor</strong>出场啦!!</p>
<p><img src="http://computertemp.berlios.de/screenshots/screenshot_action.gif" alt="" /><br />
自行到这个链接查看<strong>Computer Temperature Monitor</strong>相关信息噢:<a href="http://computertemp.berlios.de/" target="_blank">http://computertemp.berlios.de</a></p>
<p>我们来看看它的配置界面吧&#8211;&gt;</p>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-2/Screenshot-computer-temperature-monitor-preferences.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-2/Screenshot-computer-temperature-monitor-preferences.jpg" alt="" width="450" /></a></p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ff9933;">Step No.5</span><strong> JAVA环境</strong><a id="9" name="Step No.5"></a></li>
</ul>
<p>其实我并不怎么常用这个的&#8230;..不过,还是装上吧,会有用到的一天的.</p>
<p>P.S.:据说,可以下载个<strong>QQ手机版</strong>&#8230;然后用JAVA来运行&#8230;..</p>

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

<p>本来想安装浏览器的<strong>JAVA Plugin</strong>的&#8230;.结果,MS源里没有?代码如下..</p>

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

<p>另寻它法咯~到java的测试网址:<a href="http://java.com/zh_TW/download/help/testvm.xml" target="_blank">点我测试^^</a></p>
<p>点开之后,Firefox就会自动检查是否安装了浏览器java支持,如果没有,肯定提示<strong>缺失插件</strong>啦,你安装就是咯~^^</p>
<p>有些程序是用java来运行的..需要配置下当前<strong>默认的java解释器</strong>：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> update-alternatives <span style="color: #660033;">--config</span> java</pre></div></div>

<p>执行后会出现类似如下的画面:</p>
<blockquote><p>现有 2 个可选项，它们都提供了“java”&lt;</p>
<p>选择        可选项</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>1    /usr/lib/jvm/java-6-sun/jre/bin/java</p>
<p>*+        2    /usr/lib/jvm/java-6-openjdk/jre/bin/java(P.S.刚刚安装的浏览器java插件用的这个&#8230;.)<br />
输入 有包含 &#8220;sun&#8221; 的行的前面的数字。如上面显示，则输入1，然后回车确定。</p></blockquote>
<p>最后再配置<strong>JAVA环境变量</strong>就大功告成啦!!</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>environment</pre></div></div>

<p>在其中添加如下两行：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CLASSPATH</span>=.:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-<span style="color: #000000;">6</span>-sun<span style="color: #000000; font-weight: bold;">/</span>lib
<span style="color: #007800;">JAVA_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-<span style="color: #000000;">6</span>-sun</pre></div></div>

<p>然后&#8211;&gt;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>jvm</pre></div></div>

<p>这一行填入到配置块的顶部</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-<span style="color: #000000;">6</span>-sun</pre></div></div>

<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ff9933;">Step No.6</span><strong> Wine</strong><a id="10" name="Step No.6"></a></li>
</ul>
<p>有时候不可避免要运行win程序的&#8230;.这就要用到<strong>Wine</strong>啦.Wine1.0版本的代码冻结了..期待~!!!</p>
<p>下面来看看<strong>安装</strong>吧~</p>
<p>先增加签名::</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-q</span> http:<span style="color: #000000; font-weight: bold;">//</span>wine.budgetdedicated.com<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>387EE263.gpg <span style="color: #660033;">-O-</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-key</span> add -</pre></div></div>

<p>然后增加 wine 源</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>wine.hudgetdedicated.com<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list.d<span style="color: #000000; font-weight: bold;">/</span>hardy.list <span style="color: #660033;">-0</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list.d<span style="color: #000000; font-weight: bold;">/</span>winehq.list</pre></div></div>

<p>不过,好像会出错?<br />
我出错了&#8230;.</p>
<blockquote><p>wget: invalid option &#8212; 0</p>
<p>用法： wget [选项]&#8230; [URL]&#8230;</p>
<p>请尝试使用“wget &#8211;help”查看更多的选项。</p></blockquote>
<p>没办法&#8230;.先下载7.10的源吧..</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>wine.budgetdedicated.com<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list.d<span style="color: #000000; font-weight: bold;">/</span>gutsy.list <span style="color: #660033;">-O</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list.d<span style="color: #000000; font-weight: bold;">/</span>winehq.list</pre></div></div>

<p>然后手动将<strong>gutsy</strong>改成<strong>hardy</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list.d<span style="color: #000000; font-weight: bold;">/</span>winehq.list</pre></div></div>

<p>接下来&#8230;.又是熟悉的..&#8211;&gt;</p>

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

<p>搞定了之后就可以安装wine啦~~</p>

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

<p>又一个大功告成..~!&gt;.&lt;</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ff9933;">Step No.7</span><strong> 安装源里有的软件</strong><a id="11" name="Step No.7"></a>
<ul>
<li>sudo apt-get install anjuta</li>
<p>超奇怪..MS记得anjuta是8.10默带的啊&#8230;.怎么没有&#8230;&#8230;&#8230;.没关系,一句话搞定..嘎嘎^^</p>
<li>sudo apt-get install lazarus</li>
<p>神奇啊..这回竟然可以直接安装了&#8230;.!原来,源里能直接判断并安装FPC编译环境依赖了,good!!^^</p>
<p>我错了&#8230;.它还是没安装全&#8230;&#8230;</p>
<p>到<strong>新立德软件包管理器</strong>里面搜索<strong>fp</strong>然后该装的都给装上吧&#8230;~</p>
<li>sudo apt-get install compizconfig-settings-manager</li>
<p>ubuntu默带了conmpiz,所以,我们只需要一个管理工具就OK啦.</p>
<li>sudo apt-get install emacs</li>
<p>这么强悍的东西,不安装对不起自己啊&#8230;.</p>
<li>sudo apt-get install gftp</li>
<p>用了很久的ftp软件咯.</p>
<li>sudo apt-get install k3b</li>
<p>我钟爱的刻录软件~<br />
汉化(实际上是安装KDE环境的中文语言包):</p>

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

<li>sudo apt-get install eva</li>
<p>个人认为这是目前在linux中QQ的最好代替品.~&gt;.&lt;</p>
<li>sudo apt-get install ubuntu-tweak</li>
<p>一个ubuntu系统简单管理的小工具.</p>
<li>sudo apt-get install kalzium</li>
<p>元素周期表&#8230;just for fun^^</p>
<li>sudo apt-get install kmplot</li>
<p>绘制函数图像的工具.</p>
<li>sudo apt-get install gnochm</li>
<p>看看名字就知道啦,阅读chm的.不过,乱码问题比较严重,暂无解决方法.以前使用FF的一款插件来看CHM的,结果,那款插件没有跟上3.0&#8230;..</p>
<li>以上命令&#8230;.一条龙搞定吧:</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> anjuta lazarus compizconfig-settings-manager emacs gftp k3b eva ubuntu-tweak kalzium kmplot gnochm</pre></div></div>

<li>最后是星际译王,一款超级好用的词典.这回换个安装方式.
<p>在<strong>新立德软件包管理器</strong>里面搜索<strong>stardict</strong>来安装吧.</li>
</ul>
</li>
<p>可能这是最简单的一步了&#8230;.</ul>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #ff9933;">Step No.8</span><strong> 安装源外的软件</strong><a id="12" name="Step No.8"></a>
<ul>
<li>由于blog的管理,要离线处理点东西的话..有个东西必不可少的,那就是&#8212;-<strong>XAMPP(LAMPP)</strong>啦~!
<p>只需到:<a href="http://xampp.cc:8080/xampp/34.html" target="_blank">适用于 Linux 的 XAMPP</a>,按照流程来安装即可~</li>
<li>对于PDF文件的阅读,个人还是比较喜欢<strong>Adobe Reader</strong>的,到这个链接下载<a href="http://www.adobe.com/products/acrobat/readstep2.html?promoid=BUIGO" target="_blank">Adobe Reader</a>,注意选好格式和语言噢~<br />
啊啊啊啊啊啊,下载好了才发现,原来官方的包是i386的,不兼容<strong>AMD64 CPU</strong>&#8230;..郁闷,现在又找不到解决方法&#8230;<br />
难道要用ubuntu自带那个垃圾??郁闷!!!!!!!@_@</li>
<li>我blog的所有文章里的图片都是帖到picasa的,没有这个,我还怎么混?!<br />
so, let&#8217;s go to <a href="http://picasa.google.com/linux/" target="_blank">get picasa</a></li>
</ul>
</li>
</ul>
<p align="right"><a href="#0">返回目录</a></p>
<p>虚拟机,准备用<strong>VMwave</strong>了..没空噢,暂时就不弄先了&#8230;..下次再说啦~</p>
<p>到这里,从<strong>买机</strong>,到<strong>装机</strong>,到<strong>配置</strong>&#8230;.总共花了3天时间&#8230;&#8230;..天啊&#8230;</p>
<p>累&#8230;.我要休息了..</p>
<p>6个月,只要我需要重装什么的,只要跟着这个来就好了,哈哈~以后就舒坦咯^^~!!</p>
<p>好了,就这样了吧..~</p>
<p><strong>Tired but Happy&gt;.&lt;</strong><br />
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/bluetoothialup.html" title="使用蓝牙与手机拨号上网">使用蓝牙与手机拨号上网 (1)</a></li>
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/wifi-setting.html" title="成功设置无线网卡">成功设置无线网卡 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/new-os-theme.html" title="New OS Theme">New OS Theme (7)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html" title="Ubuntu for my laptop &#8212;- 安装篇">Ubuntu for my laptop &#8212;- 安装篇 (6)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html">http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html</a></p>By the time  your rss reader get this post here is <strong> 4 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/%e9%85%8d%e7%bd%ae/" title="配置" rel="tag">配置</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu for my laptop &#8212;- 安装篇</title>
		<link>http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html</link>
		<comments>http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html#comments</comments>
		<pubDate>Sat, 03 May 2008 01:52:16 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wubi]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=48</guid>
		<description><![CDATA[对于心爱的本本,肯定还是要装上喜欢的ubuntu来用啦^^但由于有预装系统+隐藏分区在,不能对硬盘×·O&#8230;.所以,我想到了传说中的ubuntu的新安装模式&#8212;-install inside windows,在windows中直接安装ubunt... ]]></description>
			<content:encoded><![CDATA[<p>对于心爱的本本,肯定还是要装上喜欢的ubuntu来用啦^^但由于有<strong>预装系统+隐藏分区</strong>在,不能对硬盘×·O&#8230;.所以,我想到了传说中的ubuntu的新安装模式&#8212;-<strong>install inside windows</strong>,在windows中直接安装ubuntu!.这可是ubuntu向windows融合的一大进步啊~!!<br />
<span id="more-48"></span><br />
下面,来讲讲我在本本上<strong>安装</strong>ubuntu的全过程吧~~</p>
<blockquote><p>目录:<br />
<a id="0" name="目录"></a></p>
<ul>
<li><a href="#1">Step No.1 载入ubuntu光盘</a></li>
<li><a href="#2">Step No.2 基本配置</a></li>
<li><a href="#3">Step No.3 检查文件</a></li>
<li><a href="#4">Step No.4 复制文件</a></li>
<li><a href="#5">Step No.5 重启</a></li>
<li><a href="#6">Step No.6 安装系统</a></li>
<li><a href="#7">Step No.7 完成安装</a></li>
<li><a href="#8">尾曲 No.1 源</a></li>
<li><a href="#9">尾曲 No.2 在win下查看ubuntu安装点</a></li>
<li><a href="#10">尾曲 No.3 添加卸载中的ubuntu</a></li>
</ul>
</blockquote>
<ul>
<li><span style="color: #0000ff;">Step No.1</span><a id="1" name="Step No.1"></a></li>
</ul>
<p>首先,肯定是要载入ubuntu8.04 live-cd啦~</p>
<p>自动加载后,请看第二项~</p>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-1/1.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-1/1.jpg" alt="" width="450" /></a></p>
<p>实际上,光盘里面有个叫<strong>wubi.exe</strong>的东东,这项调用的就是这个小东西啦~</p>
<p>据说,直接到wubi官方下载的wubi,可以选择安装各种ubuntu,选好再下载&#8230;一体化程度高呀..but,我没用过&#8230;不晓得噢,有兴趣的朋友自己G一下吧&gt;.&lt;</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0000ff;">Step No.2</span><a id="2" name="Step No.2"></a></li>
</ul>
<p>点选后马上就会进入这个界面:</p>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-1/2.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-1/2.jpg" alt="" width="450" /></a></p>
<p>调整信息,填写用户名密码咯,这个就是自动创建的ubuntu的用户名密码啦~</p>
<p>郁闷的是,可选最大分区才30GB&#8230;.还好我没什么神奇的用途,30GB够用了,再说,还可以在ubuntu里挂载win分区咯,足矣足矣.</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0000ff;">Step No.3</span><a id="3" name="Step No.3"></a></li>
</ul>
<p>当一切准备就绪后,按下&#8221;安装&#8221;,你就会给带到这个神奇的地方啦..^^&#8211;&gt;</p>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-1/3.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-1/3.jpg" alt="" width="450" /></a></p>
<p>不得不佩服ubuntu的谨慎..这样都还要检查<strong>光盘信息完整度</strong><a href="/ubuntu-used-diary-2.html" target="_blank">我曾经给完整度害过</a>&#8230;.but,奇怪的是,用live-cd或alternat-cd安装,要手动选择检查&#8230;.</p>
<p>刻录的时候用的是<strong>16x</strong>慢慢刻的..我有信心能够通过,嘎嘎~%.&lt;</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0000ff;">Step No.4</span><a id="4" name="Step No.4"></a></li>
</ul>
<p>检查完毕,下一步&#8230;.</p>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-1/4.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-1/4.jpg" alt="" width="450" /></a></p>
<p>这一步实际上是把整张光盘的东西都差不多复制到了win分区里&#8230;.</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0000ff;">Step No.5</span><a id="5" name="Step No.5"></a></li>
</ul>
<p>当然,复制完之后,就会要你&#8230;..&#8212;-<strong>重启</strong>.</p>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-1/5.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-1/5.jpg" alt="" width="450" /></a></p>
<p>CD/DVD弹出.被我发现了~!原来,这种安装方式是<strong>硬盘安装</strong>来滴..&gt;.$</p>
<p>以上5步,总耗时仅<strong>10-15分钟</strong>..</p>
<p>刻不容缓,<strong>restart</strong>!!!</p>
<p>重启后,我们就会发现,启动项可以选择vista或ubuntu了,不过,是win的方式来的..</p>
<p>废话,想都不用想啦,除了选ubuntu,我们还能干嘛?</p>
<p>在点选了ubuntu之后,会出现这样一句话:</p>
<blockquote><p>Press &#8220;ESC&#8221; to enter the menu&#8230;.</p></blockquote>
<p>还有10s的倒数的&#8230;.这个,按不按是无所谓的,因为&#8230;..这个menu指代的是ubuntu的guid菜单..~</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0000ff;">Step No.6</span><a id="6" name="Step No.6"></a></li>
</ul>
<p>真正的安装开始了..</p>
<p>准备安装&#8211;安装系统&#8230;.&#8211;(下载语言包)&#8211;..配置硬件软件..&#8211;KO.</p>
<p>为什么某个地方要括号括起来?因为..那里出现的预计时间是60h+&#8230;..吓人&#8230;&#8230;我等了20分钟&#8230;取消.~</p>
<p>安装完成!!以上步骤待时<strong>20分钟</strong>左右,+上我白等的就40咯..</p>
<p>也就是说,这样的安装方法,仅需30-40分钟,一个全新的ubuntu就出现啦!!</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0000ff;">Step No.7</span><a id="7" name="Step No.7"></a></li>
</ul>
<p>安装完成之后,又是重启..</p>
<p>由于刚刚在下载语言包的时候,点了取消&#8230;..所以,界面大部分是<strong>万恶的E文</strong>..so,需要手动下载中文语言包.</p>
<p>但是,对于我这种懒人,怎么可能记得怎样通过命令获取语言包呢&#8230;..呃,好吧,有个方法很简单的^^</p>
<blockquote><p>系统(system)&#8211;&gt;系统管理(system manager)&#8211;&gt;语言支持(language support)&#8211;&gt;找到&#8221;汉语&#8221;,勾选&#8211;&gt;应用+确定</p></blockquote>
<p>就是这样啦,这样子就可以自动下载中文语言包啦~</p>
<p>but,你会发现&#8230;其实,这样挺慢的..why?<strong>源</strong>不好&#8230;.Oh,对,一开始应该搞定源先&#8230;&#8230;</p>
<p>我直接从我的台机copy了一份源过来,so&#8230;<strong>nothing special</strong>啦.</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0066ff;">尾曲 No.1</span><a id="8" name="尾曲 No.1"></a></li>
</ul>
<p>以下是我所使用的几组源:</p>
<p>台湾大学的源,我使用的最全最快最稳定的.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-updates main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-updates main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-backports main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-backports main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-security main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-security main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-proposed main multiverse restricted universe
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.csie.ntu.edu.tw<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-proposed main restricted universe multiverse</pre></div></div>

<p>cn99,电信源,也很快很稳定</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-security main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-updates main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-proposed main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-backports main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-security main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-updates main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-proposed main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.cn99.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> hardy-backports main restricted universe multiverse</pre></div></div>

<p>lupaworld社区的</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">deb http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-security main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-updates main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-backports main restricted universe multiverse
deb http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-proposed main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-security main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-updates main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-backports main restricted universe multiverse
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>mirror.lupaworld.com<span style="color: #000000; font-weight: bold;">/</span>ubuntu hardy-proposed main restricted universe multiverse</pre></div></div>

<p>修改完源之后,肯定是要:</p>

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

<p>啦~</p>
<p>然后就是:</p>

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

<p>&#8230;.</p>
<blockquote><p>共升级了 55 个软件包，新安装了 0 个软件包，要卸载 0 个软件包，有 0 个软件未被升级。</p>
<p>需要下载 34.6MB 的软件包。</p>
<p>操作完成后，会释放 4096B 的磁盘空间。</p></blockquote>
<p>这个和中文语言包更新完之后,就可以重启啦^^</p>
<p>BTW,中文语言包里面竟然集合了<strong>文泉驿正黑了</strong>&#8230;爽!</p>
<p>虽然还是觉得雅黑好看点,但是,毕竟雅黑是商业字体,<strong>支持开源</strong>!!</p>
<p>好了,又是restart了.</p>
<p>这回,我并没有回ubuntu,而是到vista先,我要看看<strong>something fun</strong>.~^^</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0066ff;">尾曲 No.2</span><a id="9" name="尾曲 No.2"></a></li>
</ul>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-1/6.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-1/6.jpg" alt="" width="450" /></a></p>
<p>看出来了么?原来,30G空间,就是2个disk用了..原理MS有点像VBOX的镜像..也对,这样子就轻松解决了<strong>分区格式不兼容</strong>问题啦~</p>
<p>值得一提的是,ubuntu镜像(姑且叫做镜像吧..)所在的分区,在ubuntu里面是无法挂载的&#8230;然后MS在win下是无法访问ubuntu&#8221;分区&#8221;的..~</p>
<p>郁闷啊&#8230;我要转移到ubuntu的资料,就是存在同一个分区的&#8230;.13G&#8230;又要半个小时传回C盘&#8230;&#8230;郁闷郁闷!!&#8230;&#8230;..</p>
<p align="right"><a href="#0">返回目录</a></p>
<ul>
<li><span style="color: #0066ff;">尾曲 No.3</span><a id="10" name="尾曲 No.3"></a></li>
</ul>
<p><a href="/wp-content/uploads/images/ubuntu-for-my-laptop-1/7.jpg" target="_blank"><img src="/wp-content/uploads/images/ubuntu-for-my-laptop-1/7.jpg" alt="" width="450" /></a></p>
<p>注意注意..原来卸载ubuntu只需这样就可以了&#8230;&#8230;&#8230;</p>
<p>决定按下卸载需谨慎!!</p>
<p>其实这种方式超好,特别是对品牌机来说&#8230;.好了,废话不多说,安装到此结束~</p>
<p><strong>配置篇</strong>即将发布,敬请期待!</p>
<p align="right"><a href="#0">返回目录</a></p>
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/wifi-setting.html" title="成功设置无线网卡">成功设置无线网卡 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/new-os-theme.html" title="New OS Theme">New OS Theme (7)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html" title="Ubuntu for my laptop &#8212;- 配置篇">Ubuntu for my laptop &#8212;- 配置篇 (4)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-used-small-problems.html" title="ubuntu使用小问题汇总">ubuntu使用小问题汇总 (2)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html">http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html</a></p>By the time  your rss reader get this post here is <strong> 6 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/wubi/" title="wubi" rel="tag">wubi</a>, <a href="http://backtimer.missnkiss.com/tag/%e5%ae%89%e8%a3%85/" title="安装" rel="tag">安装</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>ubuntu使用小问题汇总</title>
		<link>http://backtimer.missnkiss.com/ubuntu-used-small-problems.html</link>
		<comments>http://backtimer.missnkiss.com/ubuntu-used-small-problems.html#comments</comments>
		<pubDate>Fri, 22 Feb 2008 12:44:03 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[问题解答]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=13</guid>
		<description><![CDATA[小小声明：
很久没更新blog了..开学了，忙哦&#8220;
之前在“ubuntu使用日志(1)、(3)“中有写到一些ubuntu使用中的小问题及其解答，现在就加上新遇到的几个问题来个汇总吧。～



08.02.22更新


&#62;... ]]></description>
			<content:encoded><![CDATA[<p><strong>小小声明：</strong></p>
<blockquote><p>很久没更新blog了..开学了，忙哦&#8220;<br />
之前在“ubuntu使用日志<a href="/ubuntu-used-diary-1.html" target="_blank">(1)</a>、<a href="/ubuntu-used-diary-3.html" target="_blank">(3)</a>“中有写到一些ubuntu使用中的小问题及其解答，现在就加上新遇到的几个问题来个汇总吧。～</p></blockquote>
<p><span id="more-13"></span></p>
<ul>
<li>
<h2><strong>08.02.22更新</strong></h2>
</li>
</ul>
<h5><strong>&gt;.&lt;</strong> MPLAYER不能全屏</h5>
<p>解决方法：</p>
<blockquote><p>关掉mplayer</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mplayer<span style="color: #000000; font-weight: bold;">/</span>mplayer.conf</pre></div></div>

<p>找到<strong>＃zoom = yes</strong> 行<strong>去掉前边的＃</strong><br />
保存</p></blockquote>
<h5><strong>&gt;.&lt;</strong> MD5校验方法</h5>
<blockquote><p>输入 md5sum 要校验的iso文件名 ，敲回车，等几秒种，校验码就出来了。</p></blockquote>
<h5><strong>&gt;.&lt;</strong> 虚拟机占用空间问题</h5>
<p><strong>只大不减？！不管删除任何东西？？</strong>&#8230;&#8230;&#8230;.faint&#8230;.</p>
<p>原帖地址：<a href="http://forum.ubuntu.org.cn/viewtopic.php?p=573443&amp;sid=b1f150ed860eb9e9f7f66bdb499fc732" target="_blank">点这里^^</a></p>
<blockquote><p> <strong>此法只适合：不需要保存虚拟系统变化，才可以做到最小占用空间。</strong></p>
<p><strong>＊＊＊＊注意：确定可以删除所有现有虚拟系统的设置后再往下进行。如果有重要工作成果请先保存（文件损失后果自负）＊＊＊＊</strong><br />
1，打开vbox（但是不运行你虚拟的系统），右边有个snapshots的栏目，点击，删除现有的snapshots。<br />
2，运行虚拟系统，设置成自己最顺手的状态。（此间需要重启的话，一定要用windows自己的重启按键，这样虚拟系统的设置都保存下来了）<br />
3，所有软件安装完毕，设置配置完成，用windows的关机按键关掉虚拟机。（注意：至此，不需要做任何snapshot）<br />
4，打开vbox，到snapshots栏目，点击take snapshots。<br />
［现在到你的vbox目录的snapshots里面看看，刚生成的snapshot文件只有40+k，而不是几百兆或者上G。］<br />
5，以后每次关机都是直接点击关闭虚拟机，同时勾上：回到上次状态。</p></blockquote>
<ul>
<li>
<h2><strong>08.02.22以前</strong></h2>
</li>
</ul>
<h5><strong>&gt;.&lt;</strong> 乱码转换</h5>
<p>由于ubuntu采用utf-8编码，用win下弄来的一些文件可能出现文件名乱码问题..<br />
(1)光驱挂在中文目录名乱码问题</p>
<blockquote><p>终端执行：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab</pre></div></div>

<p>找到这一行：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>scd0       <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>cdrom0   udf,iso9660 user,noauto,<span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #000000;">0</span>       <span style="color: #000000;">0</span></pre></div></div>

<p>修改为</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>scd0       <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>cdrom0   udf,iso9660 user,noauto,<span style="color: #7a0874; font-weight: bold;">exec</span>,<span style="color: #007800;">iocharset</span>=utf8 <span style="color: #000000;">0</span>       <span style="color: #000000;">0</span></pre></div></div>

<p>保存退出</p></blockquote>
<p>(2)从远程文件夹下载来的中文文件名乱码转换方法：</p>
<blockquote>

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

<p>，<br />
then</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">convmv <span style="color: #660033;">-f</span> gbk <span style="color: #660033;">-t</span> utf8 –notest <span style="color: #660033;">-r</span> 目录名</pre></div></div>

</blockquote>
<p>(3)Phythmbox音乐标签乱码转换方法：</p>
<blockquote>

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

<p>，<br />
then</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-iname</span> “<span style="color: #000000; font-weight: bold;">*</span>.mp3″ <span style="color: #660033;">-execdir</span> mid3iconv <span style="color: #660033;">-e</span> gbk <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> ;</pre></div></div>

</blockquote>
<p>(4)gFTP乱码问题<br />
用gFTP访问远程中文目录是乱码的….<br />
解决方法：</p>
<blockquote><p>FTP—-&gt;选项—-&gt;远程字符集—-&gt;填入“<strong>cp936,gb18030,gbk,gb2312,utf-8,euc-tw</strong>”</p></blockquote>
<p>基本所有编码问题都解决了。</p>
<h5><strong>&gt;.&lt;</strong> Mplayer Movie Player问题</h5>
<p>打开媒体的时提示：can’t open the file……<br />
解决方法：</p>
<blockquote>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>applications<span style="color: #000000; font-weight: bold;">/</span>mplayer.desktop</pre></div></div>

<p>找到这句</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">Exec</span>=gmplayer <span style="color: #000000; font-weight: bold;">%</span>U</pre></div></div>

<p>修改成</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">Exec</span>=gmplayer <span style="color: #000000; font-weight: bold;">%</span>f</pre></div></div>

<p>或者将%U去掉<br />
保存退出</p></blockquote>
<p>这样，在文件浏览器中，发送给mplayer命令的文件路径参数就被修改成本地物理路径，而非URL路径。如果其它程序出现类似问题，也可以参考这样的解决方案。<br />
PS：顺便找到的相关问题解决方法<br />
郁闷的是机器上的Mplayer老是出现这样的错误。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Error opening<span style="color: #000000; font-weight: bold;">/</span>initializing the selected video_out <span style="color: #7a0874; font-weight: bold;">&#40;</span>-vo<span style="color: #7a0874; font-weight: bold;">&#41;</span> device</pre></div></div>

<p>没有办法播放视频。其实解决的方法很简单：</p>
<blockquote><p>打开MPLAYER—-&gt;右击—-&gt;选择“preferences”—-&gt;”Video”选项卡—-&gt;在”Availabe Drivers”中选择“X11“—-&gt;点”OK”关闭设置—-&gt;重启Mplayer。</p></blockquote>
<p>打开个视频看看。</p>
<h5><strong>&gt;.&lt;</strong> EVA字体</h5>
<p>eva的字体并不随着系统字体改变而改变…..这点比较郁闷。不过，也是当然的啦，GNOME的设置改变了，但这个是KDE软件来的呀..<br />
设置方法：</p>
<blockquote>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit ~<span style="color: #000000; font-weight: bold;">/</span>.kde<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>kdeglobals</pre></div></div>

<p>添加以下内容，把里面的雅黑（加粗部分）换成你要的字体</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>General<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">fixed</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">font</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">menuFont</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">taskbarFont</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">toolBarFont</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span></pre></div></div>

</blockquote>
<h5><strong>&gt;.&lt;</strong> 分区自动挂载问题</h5>
<p>某天，在xp下格式化了一个fat32的分区，回到ubuntu后发现，这个分区不会自动挂载了….<br />
原因：在win下格式化分区后，其<strong>UUID</strong>值改变，需配置ubuntu的自动挂载文件。<br />
解决方法：</p>
<blockquote>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab</pre></div></div>

<p>找到你在win下格式化掉的分区，将其UUID改回。如：
</pre lang="bash"># /dev/sdb5<br />
UUID=54DA-506F /media/sdb5 vfat defaults,utf8,umask=007,gid=46 0 1</pre>
<p>UUID的值，你手动挂载了分区后，在其属性的volume里面可查得。</p></blockquote>
<h5><strong>&gt;.&lt;</strong> 隐藏桌面上已挂载分区图标</h5>
<p>得到一个无比清秀的桌面～～</p>
<blockquote><p>在终端中输入</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gconf-editor</pre></div></div>

<p>打开Gnome配置编辑器，仔细研究吧。<br />
隐藏桌面图标：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">app-<span style="color: #000000; font-weight: bold;">&amp;</span>gt;nautilus-<span style="color: #000000; font-weight: bold;">&amp;</span>gt;desktop</pre></div></div>

<p>去掉相应的分区对应的<strong>volumes_visible</strong>的勾，即可隐藏该分区在桌面上的图标。</p></blockquote>
<h5><strong>&gt;.&lt;</strong>  K3B汉化</h5>
<p>gnome桌面下安装好K3B是英文版的….<br />
解决：K3B是KDE程序，需要kde的中文包</p>

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

<h5><strong>&gt;.&lt;</strong>  改变土黄色</h5>
<p>某人说，那个土黄色实在恶心…然而，在加载桌面的时候那个土黄色，要过很长一段时间后才会改成桌面背景…..<br />
更改方法：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>gdm<span style="color: #000000; font-weight: bold;">/</span>PreSession<span style="color: #000000; font-weight: bold;">/</span>Default
<span style="color: #666666; font-style: italic;">#开头的颜色</span></pre></div></div>

<p>至此，我的ubuntu中已无这种恶心色….都给我给成了<strong>蓝色</strong>^^</p>
<h5><strong>&gt;.&lt;</strong>  主菜单启动到一半自动关闭</h5>
<p>这个比较郁闷….<br />
解决方法：</p>
<blockquote><p>原来/home/yours_user_name/.config/menus菜单权限变为root了….<br />
我是解决权限问题就KO了……</p>

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

<p>更改menus文件夹以及其下所有文件权限为leewings</p></blockquote>
<p>搜到的更彻底的解决方法（PS：同样需要更改权限先）：<br />
你看看你的 /home/yours_user_name/.config/menus 里面的applications.menu 文件是不是变成0字节或者打不开了，如果是就说明此文件遭到了破坏。</p>
<blockquote><p>找到 /etc/xdg/menus/applications.menu 这个文件，拷贝一份将你坏掉的 /home/your_user_name/.config/menus/applications.menu 文件替换掉就可以了。</p></blockquote>
<p>或者使用命令</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>your_user_name<span style="color: #000000; font-weight: bold;">/</span>.config<span style="color: #000000; font-weight: bold;">/</span>menus
<span style="color: #c20cb9; font-weight: bold;">mv</span> .<span style="color: #000000; font-weight: bold;">/</span>applications.menu applications.menu.bak
<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>xdg<span style="color: #000000; font-weight: bold;">/</span>menus<span style="color: #000000; font-weight: bold;">/</span>applications.menu .<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/ubuntu-used-diary-1.html" title="Ubuntu使用日志（1）">Ubuntu使用日志（1） (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/wifi-setting.html" title="成功设置无线网卡">成功设置无线网卡 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/new-os-theme.html" title="New OS Theme">New OS Theme (7)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html" title="Ubuntu for my laptop &#8212;- 配置篇">Ubuntu for my laptop &#8212;- 配置篇 (4)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/ubuntu-used-small-problems.html">http://backtimer.missnkiss.com/ubuntu-used-small-problems.html</a></p>By the time  your rss reader get this post here is <strong> 2 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/%e9%97%ae%e9%a2%98%e8%a7%a3%e7%ad%94/" title="问题解答" rel="tag">问题解答</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/ubuntu-used-small-problems.html/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu使用日志（3）—- vbox与rdesktop</title>
		<link>http://backtimer.missnkiss.com/ubuntu-used-diary-3.html</link>
		<comments>http://backtimer.missnkiss.com/ubuntu-used-diary-3.html#comments</comments>
		<pubDate>Sun, 10 Feb 2008 07:37:35 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[rdesktop]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vbox]]></category>
		<category><![CDATA[虚拟机]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=11</guid>
		<description><![CDATA[又用了ubuntu一小段时间啦..虽然说很多地方都已经完全在ubuntu上工作了。但是..万恶的网银都不能在linux下原生态运行&#8230;&#8230;由于老妈要炒股，每次她要看股我总是要切换回win环境&#8230;麻烦... ]]></description>
			<content:encoded><![CDATA[<p>又用了ubuntu一小段时间啦..虽然说很多地方都已经完全在ubuntu上工作了。但是..<strong>万恶的网银都不能在linux下原生态运行&#8230;&#8230;</strong>由于老妈要炒股，每次她要看股我总是要切换回win环境&#8230;麻烦！</p>
<p>于是乎，想到了，安装<strong>虚拟机</strong>，就是我这篇日志的主角之一啦&#8212;-<strong>VirtualBox</strong>。</p>
<p>下载及安装与设置，参考：<del datetime="2009-04-11T01:38:03+00:00"><a href="http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&amp;op=mydown&amp;did=4949" target="_blank">VirtualBox 安装设置图解(ubuntu7.04,7.10).pdf</a></del></p>
<h3>搞定之后，一个新生的XP的跃然眼前啦。～～</h3>
<p>看我截图吧～～<br />
<strong>No.1&#8212;-冰火双生的时刻</strong></p>
<p><a href="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-10.png" target="_blank"><img title="ubuntu" src="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-10.png" alt="" width="450" /></a></p>
<p><span id="more-11"></span><br />
<strong>No.2&#8212;-两大强者</strong><br />
PS：启动了vbox的<strong>无缝模式</strong>~~</p>
<p><a href="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-11.png" target="_blank"><img title="ubuntu" src="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-11.png" alt="" width="450" /></a></p>
<p>值得一提的是，<strong>模拟出来XP后，放到全屏了，在compiz fusion中设置的鼠标触屏事件还是可用的</strong>～so，可以通过这一功能达到以下效果：</p>
<p><a href="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-9.png" target="_blank"><img src="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-9.png" alt="" width="450" /></a></p>
<p>嘿嘿，注意到了么。<strong>原生态的IE，QQ，还有&#8230;.<del datetime="2008-02-10T08:21:41+00:00">CMD</del>？！</strong>哈哈，注意哦，这<strong>不是无缝模式了</strong>！！</p>
<p>这要得益与ubuntu的另外一个工具：<strong>rdesktop</strong>。用它可以很方便的调用出虚拟机的程序～</p>
<p>详细请见：<a href="http://linuxdesktop.cn/2007/06/11/use-rdesktop-run-windows-softwares-on-ubuntu" target="_blank">通过rdesktop在Ubuntu下运行原生IE、QQ等</a></p>
<p>注意，原帖有个细微却强悍的错误&#8230;.有某楼某仁兄指出：</p>
<blockquote><p>faninx 说：</p>
<p>不知道有没有人由这样的问题，就是复制了</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rdesktop <span style="color: #660033;">-A</span> <span style="color: #660033;">-s</span> “c:seamlessrdpseamlessrdpshell.exe C:Program FilesInternet Exploreriexplore.exe” 虚拟机的IP:<span style="color: #000000;">3389</span> <span style="color: #660033;">-u</span> administrator <span style="color: #660033;">-p</span> password</pre></div></div>

<p>然后发现打不开，<br />
我好不容易才发现，原来文章里的引号是全角的，要把他改成半角的才能用</p>
<p>另外，虚拟机只支持16位色，Ubuntu是24位色，这样好像会有冲突，不知道怎么解决？</p></blockquote>
<p>就是这一点&#8230;我反复弄了N次&#8230;在看了原帖留言后，才知道&#8230;&#8230;.</p>
<p><del datetime="2008-02-10T08:21:41+00:00">在使用中，我发现，用这个功能，<strong>每个帐户每次命令只能启动一个程序</strong>，那要是想启动其他程序，而在已启动的程序中找不到启动方式，要如何启动呢？比如，打开了QQ，那要是我想打开扫雷呢&#8230;&#8230;&#8230;所以，看到<strong>gnome-terminal</strong>我想到了<strong>CMD</strong>。于是乎&#8230;&#8230;</del></p>
<p><del datetime="2008-02-10T08:21:41+00:00"><a title="ubuntu" href="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-CMD.jpg" target="_blank"><img title="ubuntu" src="/wp-content/uploads/images/ubuntu-used-diary-3/Screenshot-CMD.jpg" alt="" width="500" /></a></del></p>
<p><del datetime="2008-02-10T08:21:41+00:00">前一副截图的CMD就是这样来的，呵呵。QQ、IE都是在CMD中打开的～～～方便了，哈哈。（<strong>注意，要设置成“终端中的应用程序”</strong>）</del></p>
<h4>以上纯属自作聪明&#8230;因为突然发现，IE可以作文窗口管理器来用的&#8230;&#8230;&#8230;如此一来，只要建立个IE的启动器就OK了^^</h4>
<p>恩，这样一来，的确就方便好多了｀｀<strong>不用老是两个系统狂重启&#8230;.</strong></p>
<p>上面引用某位仁兄的话中，提到了一个问题，原文是：</p>
<blockquote><p>WARNING: Remote desktop does not support colour depth 24; falling back to 16</p></blockquote>
<p>解决方法：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></div></div>

<p>修改 DefaultDepth	    24 为 DefaultDepth	  16</p>
<p><strong>感谢<a href="http://www.briefdream.com" target="_blank">WindyWinter</a>的帮助^^</strong></p></blockquote>
<p><del datetime="2008-02-10T09:35:52+00:00">这个问题我也非常想问&#8230;.</del><br />
我还遇到问题是，</p>
<blockquote><p>不管是在终端中直接用命令启动，还是用我作的起动器，第一次启动总是不出任何东西，而要第二次启动（终端启动就是另开一个终端..）才能打开程序窗口，why？&#8230;.</p></blockquote>
<blockquote><p>and，如果载入了客户机的桌面，在断开后，会出现XP的登录界面，此时无法切换回ubuntu&#8230;..好，我关客户机。关了之后，回到ubuntu，可是，<strong>视觉效果竟然变成了None</strong>！&#8230;&#8230;..要手动调回自定义&#8230;&#8230;</p></blockquote>
<p>上述<del datetime="2008-02-10T09:35:52+00:00">3</del><strong>2</strong>个问题该如何解决呢？</p>
<p>最后，贴出我在这小段时间中遇到的小问题及其解决方法吧。<br />
（1）<strong>K3B汉化</strong><br />
gnome桌面下安装好K3B是英文版的&#8230;.</p>
<p>解决：K3B是KDE程序，需要kde的中文包</p>

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

<p>（2）<strong>改变土黄色</strong><br />
某人说，那个土黄色实在恶心&#8230;然而，在加载桌面的时候那个土黄色，要过很长一段时间后才会改成桌面背景&#8230;..</p>
<p>更改方法：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>gdm<span style="color: #000000; font-weight: bold;">/</span>PreSession<span style="color: #000000; font-weight: bold;">/</span>Default
<span style="color: #666666; font-style: italic;">#开头的颜色</span></pre></div></div>

<p>至此，我的ubuntu中已无这种恶心色&#8230;.都给我给成了<strong>蓝色</strong>^^</p>
<p>（3）<strong>主菜单启动到一半自动关闭</strong><br />
这个比较郁闷&#8230;.</p>
<p>解决方法：<br />
原来/home/yours_user_name/.config/menus菜单权限变为root了&#8230;.<br />
我是解决权限问题就KO了&#8230;&#8230;</p>

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

<p>更改menus文件夹以及其下所有文件权限为leewings</p>
<p>搜到的更彻底的解决方法（PS：同样需要更改权限先）：<br />
你看看你的 /home/yours_user_name/.config/menus 里面的applications.menu 文件是不是变成0字节或者打不开了，如果是就说明此文件遭到了破坏。<br />
找到 /etc/xdg/menus/applications.menu 这个文件，拷贝一份将你坏掉的 /home/your_user_name/.config/menus/applications.menu 文件替换掉就可以了。<br />
或者使用命令</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>your_user_name<span style="color: #000000; font-weight: bold;">/</span>.config<span style="color: #000000; font-weight: bold;">/</span>menus
<span style="color: #c20cb9; font-weight: bold;">mv</span> .<span style="color: #000000; font-weight: bold;">/</span>applications.menu applications.menu.bak
<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>xdg<span style="color: #000000; font-weight: bold;">/</span>menus<span style="color: #000000; font-weight: bold;">/</span>applications.menu .<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/ovirt-for-kvm.html" title="KVM有可视化软件啦&#8212;-oVirt">KVM有可视化软件啦&#8212;-oVirt (1)</a></li>
<li><a href="http://backtimer.missnkiss.com/powerful-kvm.html" title="强悍的KVM!">强悍的KVM! (19)</a></li>
<li><a href="http://backtimer.missnkiss.com/use-vmware-workstation-to-virual-xp.html" title="使用VMware Workstation虚拟XP">使用VMware Workstation虚拟XP (8)</a></li>
<li><a href="http://backtimer.missnkiss.com/wifi-setting.html" title="成功设置无线网卡">成功设置无线网卡 (5)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/ubuntu-used-diary-3.html">http://backtimer.missnkiss.com/ubuntu-used-diary-3.html</a></p>By the time  your rss reader get this post here is <strong> 18 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/rdesktop/" title="rdesktop" rel="tag">rdesktop</a>, <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/vbox/" title="vbox" rel="tag">vbox</a>, <a href="http://backtimer.missnkiss.com/tag/%e8%99%9a%e6%8b%9f%e6%9c%ba/" title="虚拟机" rel="tag">虚拟机</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/ubuntu-used-diary-3.html/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Ubuntu使用日志（2）</title>
		<link>http://backtimer.missnkiss.com/ubuntu-used-diary-2.html</link>
		<comments>http://backtimer.missnkiss.com/ubuntu-used-diary-2.html#comments</comments>
		<pubDate>Fri, 08 Feb 2008 10:46:26 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[美化]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=7</guid>
		<description><![CDATA[假期到现在，在使用上最大的事情就是ubuntu的重装和美化了。
当时想买内存的冲动，是因为kubuntu。装kubuntu的过程又是一波三折，刻了4张&#8230;.在此敬告各位朋友：
在刻的时候呀，把速度放到... ]]></description>
			<content:encoded><![CDATA[<p>假期到现在，在使用上最大的事情就是<strong>ubuntu的重装和美化了</strong>。</p>
<p>当时想买内存的冲动，是因为kubuntu。装kubuntu的过程又是一波三折，刻了4张&#8230;.在此敬告各位朋友：</p>
<blockquote><p>在刻的时候呀，把速度放到最低吧..不要为了刻录速度的小快而造成光盘数据不完整的大慢。</p>
</blockquote>
<p>为什么会想到kubuntu呢？极大的因素是因为kubuntu的主题色是蓝色..<strong>似乎该说是KDE的主题色是蓝色</strong>，而本人可谓是极爱蓝色的～～由此萌发了冲动&#8230;.于是乎，</p>

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

<p>安装后者是为了尝鲜&#8230;.xubuntu100多个包，kubuntu180个包&#8230;.很好很强大，安装了1个小时吧..结果是：ubuntu应用程序里面乱套了&#8230;so，下定决心，<strong>删除ubuntu，装上kubuntu</strong>~~<br />
<span id="more-7"></span></p>
<p>可就是这个决心..白白浪费了2天的时间&#8230;.多次刻的光盘不完整，时限没有考虑到<strong>引导问题</strong>，原本存在的xp也进不去了..只好用ubuntu的<strong>LIVE－CD</strong>进去&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..（以下省略痛苦的多次重刻 &#038; 重装过程）</p>
<p>风雨过后，一个kubuntu跃然眼前。超喜欢^^，but,but&#8230;.很多软件在使用上的问题..而且，汉化及其不完整&#8230;.如千里大姐在其大作<strong>《KDE综览》</strong>中所言：</p>
<blockquote><p>Debian对GNOME的支持力度高于KDE，在许多细节上您可以看出来，比如Splash。<br />
Ubuntu的DistroWatch.com排名远远高于Kubuntu，而且前者的特色显然多于后者。</p>
</blockquote>
<p>so，那要是用ubuntu系列的话，<strong>个人觉得还是用gnome的ubuntu好了..想使用KDE，那就用那些原生使用KDE的linux发行版吧~</strong>(比如PCLinuxOS？！暂不了解..）KDE呢，以后有时间慢慢研究吧。。</p>
<p>装回ubuntu..此次装回ubuntu呢，较第一次，肯定是好很多啦，毕竟还是有了经验的了^^不仅恢复速度快，而且恢复满意度高，恩恩。哈哈～～然后，趁着年前几天有空，对其进行了美化。</p>
<p>先说下字体吧。由于我还没有到能脱离教程配置ubuntu的程度，恢复过程的配置还是参照在<a href="/ubuntu-used-diary-1/">Ubuntu使用日志（1）</a>提及的各篇文章，字体教程也如是。由于本人较懒..就完全按照教程了，使用微软雅黑，尽管知道<strong>iYaHei是有版权的</strong>&#8230;.懒得去装回以前用的华康字库了，况且iYaHei确实是不错呀｀｀</p>
<p>好了，言归正传。美化使用的软件有art manager和<strong>compiz fusion</strong>。前者呢，</p>

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

<p>就好了，这个是设置主题的，使用极其简单，就不多说了。后者，是美化的主角。<br />
先是看了安装教程：<a href="http://forum.ubuntu.org.cn/viewtopic.php?t=94178">[分享]gutsy下安装最新的 compiz 0.6.99（源）</a><br />
同样参考教程设置compiz fusion：<a href="http://www.mobile01.com/newsdetail.php?id=4006">Ubuntu 7.10 加 Windows Vista，超華麗雙重開機 </a><br />
这是一篇比较全的教程，从系统安装到设置3D桌面&#8230;.<br />
好啦。其他就不多说了，看看我的桌面吧^^<br />
PS1：sidebar由于我怎么弄都不好看，故不用之。<br />
PS2：AWN懒得弄&#8230;.<br />
PS3：由于本人能力有限（<strong>技术能力+审美能力</strong>），再加之懒人一个，懒得去找很多很多的主题慢慢挑，so，美化程度仍存在大量不足&#8230;.等哪天不懒了继续慢慢弄（遥遥无期？..~~）。</p>
<p>相关截图，请直接查看我的picasa相册吧^^</p>
<table style="width:194px;">
<tr>
<td align="center" style="height:194px;background:url(http://picasaweb.google.com/f/img/transparent_album_background.gif) no-repeat left"><a target="_blank" href="http://picasaweb.google.com/wzf277028527/RxMAxG"><img src="http://lh4.google.com/wzf277028527/R66d_LxCuBE/AAAAAAAABJo/zRCAaqxG5K4/s160-c/RxMAxG.jpg" width="160" height="160" style="margin:1px 0 0 4px;"></a></td>
</tr>
<tr>
<td style="text-align:center;font-family:arial,sans-serif;font-size:11px"><a target="_blank" href="http://picasaweb.google.com/wzf277028527/RxMAxG" style="color:#4D4D4D;font-weight:bold;text-decoration:none;">抓图</a></td>
</tr>
</table>
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/new-os-theme.html" title="New OS Theme">New OS Theme (7)</a></li>
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/wifi-setting.html" title="成功设置无线网卡">成功设置无线网卡 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html" title="Ubuntu for my laptop &#8212;- 配置篇">Ubuntu for my laptop &#8212;- 配置篇 (4)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-%e5%ae%89%e8%a3%85%e7%af%87.html" title="Ubuntu for my laptop &#8212;- 安装篇">Ubuntu for my laptop &#8212;- 安装篇 (6)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/ubuntu-used-diary-2.html">http://backtimer.missnkiss.com/ubuntu-used-diary-2.html</a></p>By the time  your rss reader get this post here is <strong> 6 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/%e7%be%8e%e5%8c%96/" title="美化" rel="tag">美化</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/ubuntu-used-diary-2.html/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Ubuntu使用日志（1）</title>
		<link>http://backtimer.missnkiss.com/ubuntu-used-diary-1.html</link>
		<comments>http://backtimer.missnkiss.com/ubuntu-used-diary-1.html#comments</comments>
		<pubDate>Wed, 06 Feb 2008 04:35:05 +0000</pubDate>
		<dc:creator>Leewings</dc:creator>
				<category><![CDATA[Ubuntu 学习笔记]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[问题解答]]></category>

		<guid isPermaLink="false">http://www.backtimer.com/?p=5</guid>
		<description><![CDATA[用Ubuntu已经2个月了吧。假前每星期就用那么1天多，实在很多东西都没用到，也就没什么体会。呵呵，记得刚装好那天，也快晚7点多了，又该上学了&#8230;.之后整整一个星期都在学校的电脑里面... ]]></description>
			<content:encoded><![CDATA[<p>用Ubuntu已经2个月了吧。假前每星期就用那么1天多，实在很多东西都没用到，也就没什么体会。呵呵，记得刚装好那天，也快晚7点多了，又该上学了&#8230;.之后整整一个星期都在学校的电脑里面查ubuntu的使用。。真正开始好好的用ubuntu，应该就是随着假期开始的了，为此，还买了一条1G的内存，尽管知道<strong>DDR400</strong>的，还不如直接升级电脑..但是我等不及了。好了，废话就不多说了，写写我的使用吧。此篇暂且写我假前的相关使用。</p>
<p>注：<strong><a href="http://www.ubuntu.com">Ubuntu</a>／<a href="http://forum.ubuntu.org.cn/">Ubuntu Forum</a>/<a href="http://wiki.ubuntu.org.cn/">Ubuntu wiki</a>基本上所有的资料以及问题解决都是在这3个网站中搜得的。</strong>开始时向官方订了<a href="http://shipit.ubuntu.com">ubuntu live-cd</a>，要三四个星期才能送到。后来还订了<a href="http://kubuntu.org">kubuntu</a>和<a href="http://xubuntu.org">xubuntu</a>的。<br />
<span id="more-5"></span></p>
<ul>
<li>安装</li>
</ul>
<p>从ubuntu的官网下载了iso镜像之后，经过一番波折，终于在第四张碟成功刻上了<strong>Ubuntu alternate-CD</strong>（为此买了刻录机&#8230;..）。本来刻有live-CD（desktop-cd），但是，当时的内存是256&#8230;..跑不动。。折腾了N个小时之后只好重下，下alternate-CD镜像来刻。安装过程，事先看了<a href="http://forum.ubuntu.org.cn/viewtopic.php?t=39777">教程</a>的。其实也不难，就是在分区的时候注意点就是了。很快就可以装好了，<strong>据说ubuntu是对硬件支持最好的linux发行版</strong>，果然，一个驱动都不用额外装就可以开始使用了。而且，基本软件也都配备了。<strong>从安装时间+基本软件配置时间来看，安装xp的时间可以装上N个ubuntu了。</strong></p>
<ul>
<li>快速设置</li>
</ul>
<p><a href="http://wiki.ubuntu.org.cn/index.php?title=%E5%BF%AB%E9%80%9F%E8%AE%BE%E7%BD%AE%E6%8C%87%E5%8D%97/GutsyGibbon&amp;variant=zh-cn">快速设置指南</a>这是一篇在ubuntu的wiki显而易见的文章，里面交代了ubuntu的源、中文输入法、JAVA环境以及多媒体支持等基本的系统使用设置，很容易上手。这给我的第一印象就是，呀，ubuntu里面安装东西好方面，知道软件名，<strong>sudo apt－get install +软件名</strong> 就可以安装了～～</p>
<blockquote><p>P.S.关于sudo：这个词太强悍了，在终端（gnome-terminal）中，它能够执行root命令，只要在正常命令前+上它就好了，需要密码，15分钟不活跃就要重输。一开始我还不熟悉linux的基本命令，需要用到root的地方，比如根目录下的文件改动，为了达到目的，甚至登录用root用户登录&#8230;.其实，这是不必要的麻烦也是很有风险的。后来查了一些<strong>linux的菜鸟基本命令</strong>之后，才知道，sudo真的太好用了。呵呵，现在就用命令行解决权限问题了。</p></blockquote>
<p><a href="http://wiki.ubuntu.org.cn/index.php?title=%E4%B8%AD%E6%96%87%E6%94%AF%E6%8C%81&amp;variant=zh-cn">中文支持</a>，这也是一篇ubuntu的wiki里面的文章，这里基本解决了中文用户的各种习惯问题。<strong>这块wiki最大的用处在于系统字体的配置</strong>（<a href="http://wiki.ubuntu.org.cn/index.php?title=%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E9%9B%85%E9%BB%91%E5%AD%97%E4%BD%93%E8%BF%9B%E8%A1%8C%E4%B8%AD%E6%96%87%E7%BE%8E%E5%8C%96&amp;variant=zh-cn">如何使用雅黑字体进行中文美化</a>）。依照这篇文章，成功将系统一切文字都换成了<strong>iYaHei</strong>（除了登录页面，至今仍不知道如何更改登录页面字体，请大大赐教..~~），而后换成<strong>华康少女文字</strong>（不支持繁体..EVA聊天的时候最郁闷了&#8230;..).<br />
<a href="http://forum.ubuntu.org.cn/viewtopic.php?t=40971"><br />
新手上路学习配置C，C＋＋，GTK等开发环境</a>，这是在ubuntu forum上的，也是一篇很好的文章。依据它，基本的开发环境就配置好了。再安装了<strong>EMACS</strong>，基本上就满足了我的编程需求了。只是，让我比较郁闷的是，eamcs好难用&#8230;.也有人说用<strong>vim</strong>吧，可是，我至今都还没用过vim..懒得去装了。据说<strong>emacs+GDB是很强悍的</strong>。我是假期才学会emacs+gdb的基本使用的，也试着编写+调试了几个小小例程，感觉就是：好麻烦。恩，或许还是我不熟悉吧..还是觉得用IDE比较舒坦。可偏偏就是没找到linux下C的IDE（这好像有点多余&#8230;&#8230;似乎<strong>gcc/g++ ＆ gdb</strong>已经足以了）。最近听说一款多功能IDE&#8212;-<strong>kdevelop</strong>，看名字就知道了，是在<strong>KDE</strong>环境下的。ubuntu默认使用的<strong>GNOME</strong>，使用KDE程序极容易崩溃..况且，要使用kedvelop还得安装一大堆诸如kconsole（KDE终端）等等的工具才能舒坦&#8230;.删之。</p>
<ul>
<li>我的常用软件</li>
</ul>
<p>1.<strong><a href="http://www.myswear.net/forum/forumdisplay.php?fid=3">EVA</a></strong><br />
安装命令：<strong>sudo apt-get install eva</strong><br />
这是在linux下做得最好的仿QQ软件了。当然，wine出来的QQ更逼真（应该说就是“真”的..），只不过，这样极其不稳定。EVA是基于KDE ＆ Qt库开发的，在gnome下使用也是容易崩溃的..主要的崩溃原因有：<br />
（1）接受群消息，与SCIM冲突；（2）本身的不稳定因素。<br />
关于（2），在新版的EVA里似乎好多了；至于（1），解决方法也是容易的，就是在SCIM里面设置一下即可。具体如下：</p>
<blockquote><p>系统&#8212;-&gt;首选项&#8212;-&gt;SCIM输入法设置（以上3步亦可如此：SCIM输入法状态栏右键&#8212;-&gt;SCIM设置）&#8212;-&gt;全局设置&#8212;-&gt;取消勾选“在所有应用程序中共享同一个输入法。</p></blockquote>
<p>这个方法简单，但是有点不好，就是每新建一个窗口（包括EVA的聊天窗口）都要重新打开输入法&#8230;.</p>
<p>2.EMACS<br />
安装命令：<strong>sudo apt-get install emacs</strong><br />
我没什么好说吧，强大的编辑工具，只是我还不能熟悉运用而已。关于EMACS可参考：《learning gnu emacs》（<a href="http://www.debian.org">Debian</a>作者700多页的大作&#8230;.）。</p>
<p>3.<strong>Lazarus</strong><br />
安装方法：需先安装好fp环境，然后sudo apt-get install lazarus.（直接到<a href="http://www.lazarus.freepascal.org">lazarus官网</a>下载也可，里面已有相关依赖下载）<br />
这是pascal/delphi在linux下的IDE。使用DELPHI 5开发的，几乎与win下的DELPHI完全一样。所以，我还是比较快就上手了的~~<strong>IOI官方推荐使用的IDE啊</strong>，很有价值的..以前在win下，由于OI的限制，只能用FP&#8230;&#8230;郁闷死了.有了Lazarus，不错不错，方便了很多~~不过，还是可惜啊，<strong>深圳的比赛环境不提供Lazarus</strong>&#8230;&#8230;&#8230;.</p>
<p>4.<strong>Tomboy</strong><br />
这是个很方便的小工具，ubuntu自带的了，是个便签工具。我的基本日程安排都输进了这个工具，呵呵，当然，它不具有自动提醒功能。只是我经常会查看这些便签，所以就达到的“提醒”的目的。我在使用ubuntu中遇到的问题也都记录在了这里，同时附上了解决方法。<br />
以下是我使用中遇到的部分问题以及相关解决方法。</p>
<p>（1）乱码转换<br />
由于ubuntu采用utf-8编码，用win下弄来的一些文件可能出现文件名乱码问题..</p>
<blockquote><p>PS：光驱挂在中文目录名乱码问题请参考：<a href="http://wiki.ubuntu.org.cn/index.php?title=%E6%8C%82%E8%BD%BD%E5%85%89%E7%9B%98%E7%9A%84%E4%B9%B1%E7%A0%81%E9%97%AE%E9%A2%98&amp;variant=zh-cn">挂载光盘的乱码问题</a></p></blockquote>
<p>从远程文件夹下载来的中文文件名乱码转换方法：</p>

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

<p>，<br />
then</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">convmv <span style="color: #660033;">-f</span> gbk <span style="color: #660033;">-t</span> utf8 <span style="color: #660033;">--notest</span> <span style="color: #660033;">-r</span> 目录名</pre></div></div>

<p>Phythmbox音乐标签乱码转换方法：</p>

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

<p>，<br />
then</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-iname</span> <span style="color: #ff0000;">&quot;*.mp3&quot;</span> <span style="color: #660033;">-execdir</span> mid3iconv <span style="color: #660033;">-e</span> gbk <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> ;</pre></div></div>

<p>（2）Mplayer Movie Player问题<br />
打开媒体的时提示：can&#8217;t open the file&#8230;&#8230;<br />
解决方法：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>applications<span style="color: #000000; font-weight: bold;">/</span>mplayer.desktop</pre></div></div>

<p>找到这句</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">Exec</span>=gmplayer <span style="color: #000000; font-weight: bold;">%</span>U</pre></div></div>

<p>修改成</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">Exec</span>=gmplayer <span style="color: #000000; font-weight: bold;">%</span>f 或者将<span style="color: #000000; font-weight: bold;">%</span>U去掉</pre></div></div>

<p>保存退出</p>
<p>这样，在文件浏览器中，发送给mplayer命令的文件路径参数就被修改成本地物理路径，而非URL路径。如果其它程序出现类似问题，也可以参考这样的解决方案。</p>
<p>PS：顺便找到的相关问题解决方法<br />
郁闷的是机器上的Mplayer老是出现这样的错误。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Error opening<span style="color: #000000; font-weight: bold;">/</span>initializing the selected video_out <span style="color: #7a0874; font-weight: bold;">&#40;</span>-vo<span style="color: #7a0874; font-weight: bold;">&#41;</span> device</pre></div></div>

<p>没有办法播放视频。其实解决的方法很简单：</p>
<blockquote><p>打开MPLAYER&#8212;-&gt;右击&#8212;-&gt;选择“preferences&#8221;&#8212;-&gt;&#8221;Video&#8221;选项卡&#8212;-&gt;在&#8221;Availabe Drivers&#8221;中选择“X11“&#8212;-&gt;点&#8221;OK&#8221;关闭设置&#8212;-&gt;重启Mplayer。</p></blockquote>
<p>打开个视频看看。</p>
<p>（3）EVA字体<br />
eva的字体并不随着系统字体改变而改变&#8230;..这点比较郁闷。不过，也是当然的啦，GNOME的设置改变了，但这个是KDE软件来的呀..<br />
设置方法：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit ~<span style="color: #000000; font-weight: bold;">/</span>.kde<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>kdeglobals</pre></div></div>

<p>添加以下内容，把里面的雅黑（加粗部分）换成你要的字体</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>General<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">fixed</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">font</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">menuFont</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">taskbarFont</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>
<span style="color: #007800;">toolBarFont</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>iYaHei<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>,<span style="color: #000000;">10</span>,-<span style="color: #000000;">1</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">50</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>,<span style="color: #000000;">0</span></pre></div></div>

<p>（4）分区自动挂载问题<br />
某天，在xp下格式化了一个fat32的分区，回到ubuntu后发现，这个分区不会自动挂载了&#8230;.<br />
原因：在win下格式化分区后，其<strong>UUID</strong>值改变，需配置ubuntu的自动挂载文件。<br />
解决方法：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab</pre></div></div>

<p>找到你在win下格式化掉的分区，将其UUID改回。如：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /dev/sdb5</span>
<span style="color: #007800;">UUID</span>=54DA-506F <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>sdb5 vfat defaults,utf8,<span style="color: #007800;"><span style="color: #7a0874; font-weight: bold;">umask</span></span>=007,<span style="color: #007800;">gid</span>=<span style="color: #000000;">46</span> <span style="color: #000000;">0</span> <span style="color: #000000;">1</span></pre></div></div>

<p>UUID的值，你手动挂载了分区后，在其属性的volume里面可查得。</p>
<p>（5）gFTP乱码问题<br />
用gFTP访问远程中文目录是乱码的&#8230;.<br />
解决方法：</p>
<blockquote><p>FTP&#8212;-&gt;选项&#8212;-&gt;远程字符集&#8212;-&gt;填入“<strong>cp936,gb18030,gbk,gb2312,utf-8,euc-tw</strong>”</p></blockquote>
<p>基本所有编码问题都解决了。</p>
<p>（6）<strong>隐藏桌面上已挂载分区图标</strong><br />
得到一个无比清秀的桌面～～</p>
<blockquote><p>在终端中输入<strong>gconf-editor</strong>，打开Gnome配置编辑器，仔细研究吧。<br />
隐藏桌面图标：<strong>app-&gt;nautilus-&gt;desktop</strong>，去掉相应的分区对应的<strong>volumes_visible</strong>的勾，即可隐藏该分区在桌面上的图标。</p></blockquote>
<p>（7）<strong>黑屏问题</strong><br />
这个问题一直困扰着我&#8230;..至今没有解决。。。。<br />
就是在登录窗口输入密码回车后，登录时，突然黑屏（习惯了也就不突然了&#8230;.），概率20％左右。用<strong>ctrl+alt+退格</strong>回到登录页面也都是黑屏&#8230;..声音正常！诶诶，只好按下重启键了&#8230;.郁闷&#8230;&#8230;显卡是845G的，驱动是最新的&#8230;&#8230;&#8230;&#8230;&#8230;有人能帮我解决下么？</p>
<blockquote><p>I need your help pressingly!!</p></blockquote>
<p>好了吧&#8230;..又写了这么长&#8220;就此为止吧。<br />
<h3>You may like these posts:</h3>
<ul class="related_post">
<li><a href="http://backtimer.missnkiss.com/ubuntu-used-small-problems.html" title="ubuntu使用小问题汇总">ubuntu使用小问题汇总 (2)</a></li>
<li><a href="http://backtimer.missnkiss.com/access-hidden-partition.html" title="访问隐藏分区的方法">访问隐藏分区的方法 (9)</a></li>
<li><a href="http://backtimer.missnkiss.com/wifi-setting.html" title="成功设置无线网卡">成功设置无线网卡 (5)</a></li>
<li><a href="http://backtimer.missnkiss.com/new-os-theme.html" title="New OS Theme">New OS Theme (7)</a></li>
<li><a href="http://backtimer.missnkiss.com/ubuntu-for-my-laptop-2.html" title="Ubuntu for my laptop &#8212;- 配置篇">Ubuntu for my laptop &#8212;- 配置篇 (4)</a></li>
</ul>
<p>&copy;2010 <a href="http://backtimer.missnkiss.com">逆时</a>. All Rights Reserved.</p>.
<p>This article addresses:<a href="http://backtimer.missnkiss.com/ubuntu-used-diary-1.html">http://backtimer.missnkiss.com/ubuntu-used-diary-1.html</a></p>By the time  your rss reader get this post here is <strong> 9 </strong>comments ,Welcome you come to leave your opinion !<p><strong style="border-bottom-style:groove">本<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" rel="dc:type">作品</span>采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh">署名-非商业性使用-相同方式共享 3.0 许可协议</a>进行许可。转载请注明出自<a rel="BackTimer" href="http://www.BackTimer.com/">逆时</a>。</strong></p>
	Tags: <a href="http://backtimer.missnkiss.com/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://backtimer.missnkiss.com/tag/%e9%97%ae%e9%a2%98%e8%a7%a3%e7%ad%94/" title="问题解答" rel="tag">问题解答</a><br />
]]></content:encoded>
			<wfw:commentRss>http://backtimer.missnkiss.com/ubuntu-used-diary-1.html/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
