﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-尘封阁-随笔分类-玩转软件</title><link>http://www.cnitblog.com/cockerel/category/5286.html</link><description>多想相邀再次喝酒，待葡萄成熟透</description><language>zh-cn</language><lastBuildDate>Mon, 26 Sep 2011 06:40:01 GMT</lastBuildDate><pubDate>Mon, 26 Sep 2011 06:40:01 GMT</pubDate><ttl>60</ttl><item><title>[翻译]在SONY VAIO FZ31E/FZ35上安装ubuntu</title><link>http://www.cnitblog.com/cockerel/archive/2009/05/02/56878.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Sat, 02 May 2009 09:56:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2009/05/02/56878.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/56878.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2009/05/02/56878.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/56878.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/56878.html</trackback:ping><description><![CDATA[[按：万恶的SONY-Microsoft排他性协议，如果不是因为这个的话，SONY的本本可以跟Linux兼容得更好。我用的是FZ35，使用ubuntu老是有些硬件兼容问题，但<a href="http://proxiess.com/index.php?hl=f5&amp;q=uggc%3A%2F%2Fvafunzr.oybtfcbg.pbz%2F2008%2F06%2Fhohagh-uneql-ureba-ba-fbal-invb-ita.ugzy">这篇博客</a>基本上都帮我解决了。原作者用的是FZ31E，我也不知道跟我的FZ35有什么区别，看着样子长得像就直接把死马当活马医了，没想到这么有效，呵呵～由是感激，便把它翻译为中文，希望能让更多人受惠～<img src="http://www.cnitblog.com/images/cnitblog_com/cockerel/5112/o_14.gif" border="0">第一次做翻译，没有经验，如有错漏请评论告知，谢谢]<br>[再按：在手提电脑上安装Linux有问题，建议还是先上<a  href="http://www.linux-laptop.net/">Linux On Laptops</a>看看，常常会有意想不到的收获^_^]<br><br>Yeap I bought it. I though that since it had an NVidia card and it was Centrino based etc it wouldn't have any incompatibilities with Linux. (aaaargh if I only knew...) Anyway.<br>是的，我把它（Vaio VGN-FZ31E）买下来了。我当初以为既然它使用NVIDIA显卡，而且基于迅驰技术什么的，使用Linux应该不会遇到什么兼容性问题吧。（啊啊啊～～如果我早知道的话&#8230;）算了吧。<br><br>The laptop came with Vista. I was going to keep them for a week or so just to make sure I don't miss any of the Sony specific programs that was preinstalled. Well I couldn't bare them for more than 24 hours. I made some factory restore CDs and repartitioned the whole drive which now only has Ubuntu installed in it.<br>这部手提电脑预装了Vista。我本来打算保留它一个星期左右来确保我没有遗漏任何SONY预装的专有程序的。可是我实在无法忍受它们超过24小时。我制作了一张恢复光盘，然后把整个硬盘重新分区了。现在，我只安装了Ubuntu操作系统。<br><br>What worked out of the box:<br>一开机就正常工作的硬件：<br><br>The SD/MS reader (104c:803b). It works out of the box with SD cards but the MS PRO slot doesn't work for me and I have found no way to make it work.<br>SD/MS 读卡器（104c:803b）。SD读卡器能够正常工作，但MS PRO插槽不行，而且我没办法让它工作起来。<br><br>Graphics Card (10de:0426): The NVidia GeForce 8400 GT worked perfectly with the closed source drivers that Ubuntu installed. The temperature sensor works OK too.<br>显卡（10de:0426）：使用Ubuntu安装的闭源驱动程序，NVIDIA GeForce 8400 GT显卡能够完美地工作。温度传感器也没有问题。<br><br>Nevertheless I recreated the xorg.conf (for no specific reason). Here is the new one.<br>不过我还是重新生成了xorg.conf文件（没什么特别的原因）这是新的xorg.conf（图片/代码缺失？）<br><br>DVD-Drive (PIONEER DVD-RW DVRKD08): It works OK. I recorded a data DVD with Brasero (for some reason it couldn't verify the burned disk afterwards but it worked perfectly). I also installed Diablo 2 through Wine. The CD protection of Diablo 2 works OK and recognizes the original CD.<br>DVD驱动器（PIONEER DVD-RW DVRKD08）：它能正常工作。我使用Brasero软件刻录了一张数据DVD盘（由于某种原因它没能在刻录完成后检验光盘，不过那张光盘没有任何问题）。我还通过Wine安装了Diablo 2。Diablo 2的CD保护功能正常工作，而且认出了原始的CD光盘。<br><br>CPU (Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz): Both cores are recognized and the temperature sensors work OK. The same goes for frequency scaling.<br>CPU (Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz)：两个核都能被认出来，温度传感器正常工作，变频功能也没有问题。<br><br>Wireless and LAN (8086:4229 and 11ab:4351): They both work perfectly right out of the box.<br>无线及有线网卡 (8086:4229 and 11ab:4351)：两者都没有任何问题。（译者的无线网卡偶然会不能工作）<br><br>What didn't work out of the box but works with some tricks. Before trying the tricks enable the extra repositories (universe, multiverse etc) from System-&gt;Administration-&gt;Software sources).<br>一开机时不能正常工作，但有解决方法的硬件。在尝试解决方法之前 ，先激活额外的软件库（把"系统-&gt;管理-&gt;软件源"里面的universe,multiverse之类的选项都选上即可）。<br><br>Camera (05ca:183b): HAL loads a wrong module for the camera that in addition to not working, makes the laptop crash when you try to suspend it. So you must remove the misbehaving module from the kernel and prohibit reloading it.<br>摄像头（05ca:183b）：HAL（硬件抽象层）为摄像头加载了一个错误的模块，使得它不只不能工作，在你挂起系统时还会导致系统崩溃。因此，你必须从内核中去掉那个工作不正常的模块，并且禁止它重新加载。<br><br>&nbsp;&nbsp; 1. Type the following in a console (you can find the console in Applications-&gt;Accessories-&gt;Terminal):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在命令行输入以下命令（你可以通过"应用程序-&gt;附件-&gt;终端"来打开它）<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo gedit /etc/pm/config.d/unload_modules<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Give your password and then copy and paste the following line at the end of the file:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 输入你的密码，并且把这行复制粘贴到文件的末尾。<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SUSPEND_MODULES=uvcvideo<br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F3.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFRs72UZAuiV%2FNNNNNNNNNDH%2FStslvDW7LqD%2Ff400%2Ferzbirzbqhyr.cat"><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Save the file and close the text editor.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后保存文件，关闭gedit。<br><br>&nbsp;&nbsp; 2. To download the r5u870 drive you will need svn, so in a console type:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 要下载r5u870摄像头驱动你需要先安装svn，所以在命令行输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo apt-get install subversion<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (answer yes to any questions you may encounter)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (如果被问到任何问题，输入y)<br><br>&nbsp;&nbsp; 3. To download the source of the driver, type in the console:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 要下载驱动程序的源代码，在命令行输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; svn co http://svn.mediati.org/svn/r5u870/trunk r5u870<br><br>&nbsp;&nbsp; 4. Now that all files are downloaded go into their directory by typing:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 所有文件都下载完成后，进入目录，输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd r5u870<br><br>&nbsp;&nbsp; 5. Install the build-essential package before trying to compile the drivers by typing:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在编译驱动程序前，先安装build-essential软件包，输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo apt-get install build-essential<br><br>&nbsp;&nbsp; 6. Compile the driver by typing:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 编译驱动程序，输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make<br><br>&nbsp;&nbsp; 7. and then install the driver by typing:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 安装驱动程序，输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo make install<br><br>&nbsp;&nbsp; 8. Now instead of restarting you may just load the module into the kernel by typing:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 你不用重启电脑就可以把编译好的模块加载到内核，输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo modprobe r5u870<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When you reach this point the camera will only work with some applications like Skype.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在，这个摄像头只能在某些应用程序（如Skype）下工作。<br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F1.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFRs_USo_8tV%2FNNNNNNNNNDp%2F40S__BGt6np%2Ff400%2Fpnzrenfxlcr.cat"><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If you open Cheese (a very nice application for capturing video and still pictures from your camera, install it by typing sudo apt-get install cheese) you will notice that it doesn't recognize your camera. That's because the system doesn't recognize it as a Video4Linux camera.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果你使用Cheese（一个通过摄像头捕捉视频和静态图像的很不错的软件，通过输入sudo apt-get install cheese即可安装）你会发现它没能认出你的摄像头。那是因为系统没有认出它是一个Video4Linux摄像头。<br><br>&nbsp;&nbsp; 9. To fix this you will have to download this file and copy it to /usr/share/hal/fdi/information/20thirdparty . If you don't know how to do this just type the following two lines in the console:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 要解决这个问题，你需要下载<a href="http://students.ceid.upatras.gr/%7Easimakis/10-r5u870-webcam.fdi">这个文件</a>，并且把它复制到/usr/share/hal/fdi/information/20thirdparty。如果你不知道应该怎么做，只需在命令行输入以下两行：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd /usr/share/hal/fdi/information/20thirdparty<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo wget http://students.ceid.upatras.gr/~asimakis/10-r5u870-webcam.fdi<br><br>&nbsp; 10. Now either restart you computer or execute this in the console:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在你要么重启你的电脑，要么在命令行执行这一行：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo /etc/init.d/hal restart<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Now you should have a perfectly working camera! Oh, you may now delete the sources by typing:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在你的摄像头应该能够完美地工作！喔，现在你可以通过输入这一行删除驱动程序源代码了：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo rm -r ~/r5u870<br><br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F2.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFRtWK2JDf2V%2FNNNNNNNNNDf%2FCz--unyci6j%2Ff400%2Fpurrfrnsgre.cat"><br>Sleep and Hibernate: They don't work initially. The computers go to sleep but when awaken it stays in a black screen. Fixing the camera will fix this problem too. :-)<br>睡眠和休眠：他们一开始不能正常工作。电脑能够睡眠，但被唤醒时它一直保持黑屏。解决摄像头问题会连这个问题也解决掉。^_^<br><br>Sound Card (8086:284b): Well, playback worked out of the box but when opening the sound options there were no recording controls and the sound was coming out only through the builtin speakers, plugging in headphones changed nothing. To fix all these problems follow these simple steps:<br>声卡（8086:284b）：嗯，回放功能是一开机就正常的，不过打开声音选项时，找不到录音控制，并且只能通过内置的扬声器发出声音，插入耳机并不能切换。解决这个问题只需完成简单的几步：<br><br>&nbsp;&nbsp; 1. Optional step. I suggest that you don't use Pulseaudio because I found it a bit buggy. To switch back to ALSA go to System-&gt;Preferences-&gt;Sound and change everything to ALSA.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 可选步骤。我建议你不要使用Pulseaudio（脉冲音频），因为我发现它有一些小bug。要切换回ALSA，打开"系统-&gt;选项-&gt;声音"，然后把所有的下拉列表都改为ALSA。<br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F2.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFRtAcwcOl0V%2FNNNNNNNNND0%2FrANpIif9HTt%2Ff400%2Ffbhaqpunatrgbnyfn.cat"><br>&nbsp;&nbsp; 2. Type the following in a console:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在命令行输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "options snd-hda-intel model=vaio" | sudo tee -a /etc/modprobe.d/snd-hda-intel （原文在sudo前漏了管道符号）<br><br>&nbsp;&nbsp; 3. Restart you computer.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 重启电脑。<br><br>&nbsp;&nbsp; 4. Open the sound controls by clicking the sound icon next to the clock.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 通过点击时钟旁边的声音图标打开声音控制。<br><br>&nbsp;&nbsp; 5. Select File-&gt;Change Device-&gt;HDA Intel (Alsa mixer)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 选择"文件-&gt;改变设备-&gt;HDA Intel (Alsa mixer)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; （在Ubuntu 9.04里直接把设备下拉列表改为HDA Intel (Alsa mixer)即可）<br><br>&nbsp;&nbsp; 6. Then goto Edit-&gt;Preferences and select everything.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后把"编辑-&gt;选项"中所有的选项都选上。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; （在Ubuntu 9.04里直接点选项按钮，然后把所有选项都选上。）<br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F3.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFRtEGlbckoV%2FNNNNNNNNND8%2FORT7cPaP318%2Ff400%2Ffbhaqpbagebyf.cat"><br><br>&nbsp;&nbsp; 7. Play around with the controls. Don't forget to look at all three tabs (in the third tab you will find the record selection switches: Internal Mic, PCM, Mic Jack)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 播放一些声音，调节一下这些控制杆。别忘了把这三个标签栏都看一下（在第三个标签栏里你会找到录音切换选项：内置麦克风，PCM（脉冲编码调制），麦克风插孔）<br><br><br>Bluetooth (044e:3010): It is properly recognized by the system but it will not work. Here is a way to fix it:<br>蓝牙（044e:3010）：它能够正确地被系统辩认出来，但不能正常工作。这是解决的办法：<br><br>&nbsp;&nbsp; 1. In a console type:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在命令行输入：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo gedit /etc/rc.local<br><br>&nbsp;&nbsp; 2. Now append the following line before the exit command (if there is one) near the end of the file:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后在靠近文件末尾的exit命令（如果有的话）前输入这一行：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hciconfig hci0 reset<br><br>&nbsp;&nbsp; 3. Now save the file and close gedit.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在保存文件，关闭gedit。<br><br><br>This way the bluetooth will work correctly but if you switch it off and again on (using the hardware switch in the front side of the laptop) it will stop working so you also have to do the following:<br>这样的话，蓝牙能够正常工作（在译者的系统里，内置的蓝牙管理器仍然不能工作，但blueman可以，通过在命令行输入sudo apt-get install blueman即可安装），但假如你把蓝牙关掉，然后又重新打开，它又会停止工作。因此，你还要这样做：<br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F3.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFRtGrIe7VTV%2FNNNNNNNNNER%2FXJOxZ1qnv8Z%2Ff400%2FOyhrgbbgusvk.cat"><br><br>&nbsp;&nbsp; 1. Right click on an empty space on your panel and select "Add to panel..."<br>&nbsp;&nbsp; 用鼠标右键点击你的面板的任何空白处，选择"添加到面板&#8230;&#8230;"<br><br>&nbsp;&nbsp; 2. Then create a new custom launcher and in the command textfield copy and paste this:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后创建一个自定义启动器，在命令文本框复制粘贴这一行：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gksudo hciconfig hci0 reset<br><br>This way when your bluetooth stops working, just click on the new launcher that you made and it will ask for your password and then reset the bluetooth device so that it will start working again<br>这样的话，当你的蓝牙不工作时，只需单击一下你创建的那个启动器，然后它会让你输入密码，并且重置蓝牙设置而使它重新开始工作。<br><br><br>VGA-out:<br>VGA输出：<br><br>Open a console and type:<br>打开一个命令行窗口然后输入：<br><br>cp /etc/X11/xorg.conf ~/xorg.conf.back<br><br>This will back up your xorg.conf file just in case you mess it up.<br>Now you will have to install the NVIDIA settings manager. To do this just type:<br>这条命令会备份你的xorg.conf文件，如果你搞乱了的话，可以用它来恢复。<br>现在你要安装NVIDIA设置管理器。只需输入：<br><br>sudo apt-get install nvidia-settings<br><br>And then run it by typing:<br>然后通过输入这一行运行它：<br><br>sudo nvidia-settings<br><br>The NVIDIA settings manager will open. (you might need to resize this window because for some strange reason it initializes too small)<br>NVIDIA设置管理器会打开（你可能需要改变一下窗口的大小，由于某些原因，它初始化时太小了）。<br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F3.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFTEnfhN-fOV%2FNNNNNNNNNEx%2Fd7r9CE53SIR%2Ff400%2Faivqvnitnbhg.cat"><br><br>Now select X Server Display Configuration and then click on Detect Displays to detect the connected display. Now you will be able to configure the two screens using the options in the Display and the X Screen tabs.<br>现在选择X服务器显示配置，然后单击检测显示器来检测已连接的显示器。现在你能够通过显示和X屏幕标签栏里的选项配置两个屏幕了。<br><br>From ere you may also set the resolution to for your laptop's monitor to the correct one (1280x800). If you select a resolution from the Resolution drop-down-list (it's visible in the above picture) the drop-down-list on its right will be enabled and you can then select the desired refresh rate.<br>在此之前，你可能也需要把你的手提电脑显示器的分辨率设置为正确的值（1280x800）。如果你从分辨率下拉列表（在上图中可以看到）中选择了一个分辨率。其右边的那个下拉列表会激活，然后你可以选择希望的刷新率。<br><br>Afterwords don't forget to click on Save to X Configuration File.<br>最后别忘了单击"保存到X配置文件"<br><br>If you mess up then type this in a console to restore your backup:<br>如果你搞乱了，那么在命令行输入这一行来恢复你的备份文件：<br><br>sudo cp ~/xorg.conf.back /etc/X11/xorg.conf<br><br>To delete your backup type:<br>要删除备份文件，输入：<br><br>rm ~/xorg.conf.back<br><br>Tip: To get rid of the annoying NVIDIA splash screen type this a a terminal:<br>提示：要摆脱NVIDIA那个烦人的启动画面，在命令行输入：<br><br>sudo gedit /etc/X11/xorg.conf<br><br>Then find all the Device sections and add this line inside them:<br>然后找出所有的设备段，然后在它们里面输入这一行。<br><br>Option "NoLogo" "True"<br><img alt="" src="http://proxiess.com/index.php?q=uggc%3A%2F%2F1.oc.oybtfcbg.pbz%2F_gdin1JeuQR8%2FFTEnehJZwTV%2FNNNNNNNNNEp%2FCUqwX-7_BXR%2Ff400%2Fabfcynfu.cat"><br><br>Then save and exit.<br>然后保存、退出。<br><br><br>What doesn't work and still I have found no solution:<br>不能工作，并且我目前还没找到解决方案的：<br><br>The Fn buttons don't work. In fact the sound controls work, the next track, previous track, play, stop buttons work too. The S1 (customizable button), the AV MODE and the brightness control buttons doesn't work. I am still looking for a solution. The MS PRO slot doesn't work and I still haven't found any solution.<br>Fn按钮不能工作。实际上，声音控制能够工作，后一首/前一首，播放、停止按钮都能工作。S1（可自定义按钮），AV模式，还有亮度控制不能工作。我还在寻找解决方案。MS PRO插槽不能工作，并且我还没能找到任何解决方案。<br><br>What I haven't fully tried yet:<br>我还没完全尝试过的：<br><br>S-Video out, HDMI output. I'll try them some time... (Shawe in the comments says that HDMI works OK but without any sound.)<br>S-Video输出，HDMI输出。我会找个时间试试他们的&#8230;&#8230;（Shawe在评论里说HDMI能正常工作，但没有任何声音。）<br><br><br>References:<br>参考：<br>http://ubuntuforums.org/showthread.php?t=706530<br>https://bugs.launchpad.net/ubuntu/+bug/147757<br>http://wiki.mediati.org/Installation<br>https://launchpad.net/ubuntu/+source/alsa-driver/+bug/33719<br><br>PS: If I fix more problems I will update this post so you might want to check back later. If you find any problems or omissions please leave a comment.<br>补充1：如果我修正了更多问题，我会更新这篇文章。因此你以后可能想回来查看这篇文章。如果你发现了任何问题，或者缺漏，请留下评论。（本翻译文章可能不会同步更新）<br><br>PS2: It seems like someone did a partial translation of this article into Catalan. Here is a link to it. :-)<br>补充2：貌似有人把这篇文章的一部分翻译为加泰罗尼亚文了。这是它的链接 ^_^<br><br>PS3: Thank you for your comments and the info you provided!<br>补充3：感谢你的评论和你提供的信息！<br><br>
<br><img src ="http://www.cnitblog.com/cockerel/aggbug/56878.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2009-05-02 17:56 <a href="http://www.cnitblog.com/cockerel/archive/2009/05/02/56878.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>晒一下我最中意的Firefox扩展</title><link>http://www.cnitblog.com/cockerel/archive/2008/06/27/45658.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Thu, 26 Jun 2008 17:15:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2008/06/27/45658.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/45658.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2008/06/27/45658.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/45658.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/45658.html</trackback:ping><description><![CDATA[时间过得真快，一转眼间，Firefox 3网页浏览器就告别了n个beta版阶段和m个RC版阶段，正式走向正式版了。最近关于Firefox的话题又热了起来，其中一个最热的也许是Mozilla基金会那帮童心未泯的可爱人们想出来的<a href="http://www.spreadfirefox.com/zh-CN/worldrecord">下载日活动</a>－－试图让Firefox3成为单日下载量最高的软件，被载进吉尼斯世界纪录。据<a href="http://ap.google.com/article/ALeqM5i4Dno03NpL4SWP4KE2Tg3SgicXWgD91CN3N80">新闻</a>和<a href="http://blog.mozilla.com/ligong/2008/06/18/%E7%81%AB%E7%8B%90%E6%B5%8F%E8%A7%88%E5%99%A83%E6%98%A8%E6%97%A5%E9%A6%96%E5%8F%91800%E5%A4%9A%E4%B8%87%E4%BA%BA%E4%B8%8B%E8%BD%BD/">官方博客</a>报道，全球首日下载量达800万份，似乎创造世界纪录已是板上钉钉的了。<br />   为什么要用Firefox？<a href="http://www.mozifire.cn/firefox/">这里</a>给出了一堆的理由。但对于我来说，它遗漏了最最重要的一个：Firefox最吸引我的并非Firefox本身，而是人们为它开发的成千上万种的<a href="https://addons.mozilla.org/en-US/firefox/">Firefox扩展</a>。<a href="#cmt1"><sup>1</sup></a><br />    什么是Firefox扩展？简单来说扩展就是一些简单的脚本代码，它能够改变Firefox的显示方式，或添加标准Firefox不具备的功能，使得一般用户也能非常轻易地“定制你的Firefox“。<br />    说起来，Firefox的扩展与IE的插件颇有些相似之处。说起IE插件，很多人“谈插色变”，仿佛插件已成了恶意软件的代名词。然而，我觉得这样的情况不大可能在Firefox上发生，原因是：<br />    1、Firefox有完善的扩展管理器，该管理器负责所有扩展的安装、自动升级、缷载。因此，扩展不可能在用户不知情的情况偷偷地装上，也不可能在用户点了缷载后还赖着不走。<br />    2、Firefox是开源的浏览器，其扩展基本上也是开源的。试想一下，一个被几万人下载过、几千人评过分，几百人检查过其代码（这种扩展很多）的扩展，是恶意扩展的概率，基本上等于零。<br />    那么，这成千上万的扩展，哪些最好用呢？当然这取决于你的爱好，所以最好的办法是想到了一种功能，然后到<a href="https://addons.mozilla.org/en-US/firefox/">这里</a>搜一下，经常就会有意外的惊喜了！下面我就晒一下我最大的惊喜们：<br /><br /><u><b>我最推荐的Firefox扩展介绍</b></u><b>：</b><br /><ol><li><a href="https://addons.mozilla.org/en-US/firefox/addon/1419">IE Tab</a>(兼容Firefox 3)<br />网络上（尤其是中国），总有那么一小撮网站，声称只支持IE浏览器（Windows自带的网页浏览器），这个扩展可以很好地对付这些网站。它为Firefox安装上IE的内核，当遇到这种顽固的网页时，只要点一下按钮，Firefox就按IE方式来显示网页了。它还能记住哪些网页需要用IE内核显示呢～因此，你现在可以大声宣布：我的Firefox也是双核的！<hr /></li><li><a href="http://maltekraus.de/Firefox/search-tools">AddtoSearchBar</a>(兼容Firefox 3)<br />Firefox安装后默认右上角有个搜索栏，但我经常用的搜索引擎（维基百科、百度百科、百度知道等）都不在里边，于是我曾一度周围寻找搜索引擎插件，但后来我发现没有必要了－－因为我找到了这个扩展。只要在你要添加的搜索引擎的输入框里点右键，然后点“add to search bar...”，便能动态地“生成”一个搜索引擎插件了，是不是很强大？<hr /></li><li><a href="http://maltekraus.de/Firefox/search-tools/">OrganizeSearchEngines</a>(兼容Firefox 3)<br />搜索引擎插件越来越多了，是不是想收拾整理一下?Firefox自带的搜索引擎插件管理功能比较弱，于是我安装了这个扩展 ，它有两大功能：<ol><li>整理搜索引擎插件，通过文件夹或分隔线等对其归类</li><li>为搜索引擎定义缩写（Keyword）</li></ol>后一功能尤其有用，比如我把百度百科缩写为bk，则我只要在地址栏里输入“bk firefox”就可以跳到firefox词条了。<hr /></li><li><a href="http://downthemall.net/">DownThemAll</a>(兼容Firefox 3)<br />喜欢用多线程下载工具？这个就是Firefox的多线程下载扩展！<hr /></li><li><a href="http://flashgot.net">FlashGot</a>(兼容Firefox 3)<br />也许你更喜欢自己的下载工具（Flashget、迅雷、wget等），安装了这个扩展就可以自动调用那些工具了。<hr /></li><li><a href="http://customsoftwareconsult.com/extensions">FEBE</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />Windows经常都要重装以保持最佳性能，如果不想每次都要重新设置Firefox的话，就使用这个扩展把，它可以备份几乎一切设置，甚至还能够将你安装了的扩展重新打包成xpi格式（也就是安装文件）。<hr /></li><li><a href="http://customsoftwareconsult.com/extensions">OPIE</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />FEBE对扩展的备份是打包成安装文件，也就是不包含对扩展的设置的备份，如果连这个都要备份的话，你就要出动这个OPIE了。<hr /></li><li><a href="http://gladder.gneheix.com">gladder</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />热爱知识的人不会不知道Wikipedia，关心时事的人不会不知道BBC，可惜它们都被GFW屏蔽了。要上的话就要用代理，如果嫌一般代理设置太繁琐的话，用gladder就最适合了，它可以自动寻找设置代理，十分方便。（毕竟这是爬大防火墙的大梯子嘛）<hr /></li><li><a href="http://www.google.com/tools/firefox/browsersync/">GoogleBrowserSync</a><br />如果你有几部电脑，或者几个操作系统，总之有几个Firefox，你希望它们之间保持同步的话，可以这个Google公司开发 的Firefox扩展。它甚至可以同步你打开了的网页。<hr /></li><li><a href="http://cang.baidu.com/">百度搜藏</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />如果你发现你收藏夹里的文章太多，经常找不到曾经浏览过的一篇好文章，或者希望搜索自己收藏的一篇文章，或者你不希望你收藏的文章链接失效，浏览器告诉你“找不到网页”的话，就需要安装这个百度公司开发的Firefox扩展了，你可以通过它搜索你收藏过的网页，并且建立网页快照使其永不失效。 <hr /></li><li><a href="http://fireftp.mozdev.org">FireFTP</a>(兼容Firefox 3)<br />Firefox本身是可以访问FTP站点的，但功能较弱。如果你希望Firefox提供类似CuteFTP或FlashFXP这样的功能，可以试试这个FireFTP<hr /></li><li><a href="http://www.naan.net/trac/wiki/TwitterFox">TwitterFox</a>(兼容Firefox 3)<br />如果你使用twitter的话，TwitterFox是一个相当好用的twitter客户端。<hr /></li><li><a href="http://cdn.mozdev.org/compact/">CompactMenu-Blue</a>(不兼容Firefox 3)<br />如果你和我一样，非常在意Firefox显示网页的空间，甚至觉得菜单栏占用一行也太过份的话，可以考虑这个扩展，它可以把主菜单变成弹出式菜单，从而与功能按钮、地址栏等共同分享一行空间了。不过这个扩展不兼容Firefox 3，Firefox 3用户可以考虑Tiny Menu或Hide Menubar（自动隐藏）,反正这类扩展太多了。<br /><hr /></li><li><a href="http://en.design-noir.de/mozilla/aging-tabs/">AgingTabs</a>(兼容Firefox 3)<br />如果你经常开了一堆的网页，然后希望清理其中一些已经不用的网页的话，这个可以扩展可以将最久未使用的那些网页的标签变得比较深色，这样就很容易发现它们了<hr /></li><li><a href="http://www.getfirebug.com/">Firebug</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />鼎鼎大名的网页分析、调试工具。<hr /></li><li><a href="http://chrispederick.com/work/web-developer/">WebDeveloper</a>(兼容Firefox 3)<br />同样非常出名的网页分析工具。<hr /></li><li><a href="http://firefox.exxile.net/aios/">All-in-One Sidebar</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />很好用的多合一侧栏<hr /></li></ol><br /><u><b>
其它比较有特色的扩展介绍</b></u><b>：</b><br /><ol><li><a href="http://fasterfox.mozdev.org/">Fasterfox</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />如果你很在意速度，这个扩展据说可以使你的Firefox变得更快<hr /></li><li><a href="http://mozmonkey.com/">TinyUrlCreator</a>(暂不兼容Firefox 3，但可以<a href="#force">强制安装</a>)<br />如果你不希望发给好友的网页链接是一大长串无意义的字符的话，这个扩展可以创建一个等效的但非常短的链接。<hr /></li><li><a href="http://www.getgspace.com/">GmailSpace</a>(兼容Firefox 3)<br />Google公司的Gmail一向以巨大著称，但是几G的空间只用来装邮件实在是太浪费了！这个扩展可以把Gmail邮箱变成一个巨大的网络硬盘。<hr /></li><li><a href="http://gamespottingnetworks.com/projects/">gTalkSidebar</a>(兼容Firefox 3)<br />Gtalk作为一个IM，最大的优势是所有聊天记录都保存在Gmail邮箱里，所以你永远不必害怕失去它们。这个扩展使gtalk变成Firefox的一个边栏。<hr /></li><li><a href="http://mediawrap.mozdev.org/">MediaWrap</a>(兼容Firefox 3)<br />网页上不符合规范的媒体格式（网页上各种自动播放的小控件）会使Firefox不能识别。这个扩展据说可以纠正这些错误的格式。<hr /></li><li><a href="http://vimperator.mozdev.org">Vimperator</a>(兼容Firefox 3)<br />如果你是一个vim的忠实fans，希望用全命令行的方式来使用Firefox的话，可以试一下这个扩展(慎用！)<hr /></li><li><a href="http://www.freebookzone.com">eQuakeAlert</a>(兼容Firefox 3)<br />最近的地震牵动着千千万万个人们的心。如果你想第一时间知道哪里发生了地震的话，可以试一下这个扩展。有特色的是，如果发生了强烈地震的话，你的Firefox也会随之强烈震动的喔！<hr /></li></ol><b><br />注：以上提及的所有Firefox扩展都可以在</b><a href="https://addons.mozilla.org/en-US/firefox/">Mozilla官方的下载平台</a><b>中找到（这是最方便的安装方法）。所有标题链接都是开发者主页或进一步介绍的网页。</b><br /><br /><a name="force">最后再说一下Firefox兼容性的问题。</a>由于Firefox3的改进非常之大，而且刚刚推出，因此还有很多Firefox扩展不能支持。如果你确信你的扩展能够兼容Firefox3（或者想试试），则可以使用以下任何一种方法来强制安装扩展：(<a href="http://wiki.sociz.com/@%E5%A6%82%E4%BD%95%E5%BC%BA%E5%88%B6%E5%AE%89%E8%A3%85%E6%89%A9%E5%B1%95%EF%BC%9F">方法来源</a>)

<br /><ol><li>由于版本原因造成安装问题的，可以用压缩软件（winzip、winrar等）打开 .xpi 文件(可能需要先把扩展名改为.zip)，找到其中的
Install.rdf 并用编辑类软件（如记事本）打开他，再找到&lt;em:maxVersion&gt; ，将后面的数字加大，比如将 2.0.0.* 改为3.0.0.*。然后重新打包(zip格式)。
</li><li>安装 <a href="http://addons.mozine.cn/firefox/35/" class="external text" title="http://addons.mozine.cn/firefox/35/" rel="nofollow">Nightly Tester Tools</a> 扩展，这个扩展可以允许您安装与 Firefox 版本号不兼容的扩展。（这是我最推荐的方法，既可以在安装不兼容扩展时得到警告，又可以强制安装确信兼容的扩展）</li><li>最简单的方法就是禁止检查扩展主题兼容性：在 <a href="http://wiki.sociz.com/index.php?title=About:config&amp;action=edit" class="new" title="About:config">about:config</a> 中找到 extensions.checkCompatibility双击赋值为 false。（如果没有就新建一个布尔值） 
</li></ol><p>注意：
</p><ul><li>以上方法并不能保证所有不兼容的扩展都能正常使用，建议等待该扩展的新版本发布。
</li><li>升级扩展时，最好是卸载原有扩展后再安装新版本。
</li></ul>我的Firefox 2上安装的扩展有70多个，以上仅仅是我觉得最值得推荐的扩展们。你又用着哪些扩展？如果你也有一些非常中意的扩展的话也来晒一下吧！呵呵~~<br /><hr size="2" width="100%" /><a name="cmt1">1</a> Firefox具体的扩展数目并没有权威的数据，笔者唯一可以确定的是，<a href="https://addons.mozilla.org/en-US/firefox/">Mozilla官方的下载平台</a>提供的扩展数超过5200个，另外还有很多网站提供Firefox扩展下载，比如<a href="http://mozdev.org/">http://mozdev.org/</a>等，百度、Google、迅雷等公司也有为Firefox开发扩展。<br /><img src ="http://www.cnitblog.com/cockerel/aggbug/45658.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2008-06-27 01:15 <a href="http://www.cnitblog.com/cockerel/archive/2008/06/27/45658.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>架设了个维基百科本地镜像</title><link>http://www.cnitblog.com/cockerel/archive/2008/04/29/43083.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Tue, 29 Apr 2008 07:11:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2008/04/29/43083.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/43083.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2008/04/29/43083.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/43083.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/43083.html</trackback:ping><description><![CDATA[写完论文了，终于有些时间来不务正业了。鉴于前不久一个速度颇快的<a target="_blank" href="http://wikientry.cn/">维基百科代理</a>被无情地和谐掉，各路新闻大吹网络实名搞到一片风声鹤唳，实在担心将来即使用代理访问维基百科也会触犯天朝律法，于是花了几天的时间来在本地架设了一个<a target="_blank" title="维基百科" href="http://bk.baidu.com/view/1245.htm">维基百科</a>的本地镜像，成功是成功的，但结果多少令我有些失望：虽然访问速度是快了一点（打开一个页面用时５~20秒不等），但相比一些比较快的代理，如<a target="_blank" href="http://bk.baidu.com/view/1245.htm">维基百科浏览器</a>来说，差别并不太大。由于对ＬＡＭＰ架构（Linux+Apache+ＭySQL+PHP）上的调试还很不熟悉，无法得知我的镜像到底瓶颈在哪里，如有高手路过烦请指点一二。<br />　　维基百科的数据可以在<a target="_blank" href="http://download.wikimedia.org/">这里</a>下载，建本地镜像的方法基本上参考自<a target="_blank" href="http://www.xxlinux.com/linux/e/DoPrint/?classid=7&amp;id=9623">这里</a>。文章中有些个别的小错就不一一指出了，需要注意的是导入数据之前清空数据库是必须的，否则虽然看起来数据在导入，其实做的全是无用功。导入数据可能需要很长时间（简体中文约需半小时），建议先用一些小型的百科（如粤语维基百科）来练练手~<br />　　<br /><img src ="http://www.cnitblog.com/cockerel/aggbug/43083.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2008-04-29 15:11 <a href="http://www.cnitblog.com/cockerel/archive/2008/04/29/43083.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[分享]让outlook检查空主题</title><link>http://www.cnitblog.com/cockerel/archive/2007/12/25/38065.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Tue, 25 Dec 2007 04:33:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2007/12/25/38065.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/38065.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2007/12/25/38065.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/38065.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/38065.html</trackback:ping><description><![CDATA[<p>　　发邮件时，总要记得填上主题，要是一个不小心忘了，就会给收件人带来一些不便。但有时候发邮件很顺手地一个Alt+S就发出去了，然后才大叫一
声&#8220;又忘写主题了！！！&#8221;显然已经为时太晚。偏偏MS
outlook还没有检查空主题的功能（如果有并且你知道的话，请留言分享一下），真让人崩溃。不过俗话说，when there is a wil,
there is a way。搜一下，马上就来了个解决方案：</p>
<p class="MsoNormal"><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">在</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">outlook</span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">里还真找不到这个选项，但在网上找到一个解决办法：</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">a. </span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">打开</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">outlook<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">b. </span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">按&#8220;</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">Alt + F<st1:chmetcnv w:st="on" unitname="&#8221;" sourcevalue="11" hasspace="False" negative="False" numbertype="1" tcsc="0">11<font face="宋体"><span style="font-family: 宋体;" lang="EN-US"><span lang="EN-US">&#8221;</span></span></font></st1:chmetcnv></span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: Arial;">
</span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">键来打开</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">VB
Script<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">c. </span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">点击左侧树状目录最下面的&#8220;</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">ThisOutlookSession</span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">&#8221;，看到右边出现空白的编辑窗口</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">d.</span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">下面的代码拷贝到编辑窗口，保存，退出</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">VB
Script</span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">编辑。（不用重启</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">Outlook</span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">）</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US"><o:p>&nbsp;
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #0000ff;">Private</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">Sub</span><span style="color: #000000;">&nbsp;Application_ItemSend(</span><span style="color: #0000ff;">ByVal</span><span style="color: #000000;">&nbsp;Item&nbsp;</span><span style="color: #0000ff;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">Object</span><span style="color: #000000;">,&nbsp;Cancel&nbsp;</span><span style="color: #0000ff;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">Boolean</span><span style="color: #000000;">)<br><br></span><span style="color: #0000ff;">If</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">TypeName</span><span style="color: #000000;">(Item)&nbsp;</span><span style="color: #000000;">&lt;&gt;</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">"</span><span style="color: #000000;">MailItem</span><span style="color: #000000;">"</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">Then</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">Exit&nbsp;Sub</span><span style="color: #000000;"><br><br>&nbsp;<br><br></span><span style="color: #008000;">'</span><span style="color: #008000;">CHECK&nbsp;FOR&nbsp;BLANK&nbsp;SUBJECT&nbsp;LINE</span><span style="color: #008000;"><br></span><span style="color: #000000;"><br></span><span style="color: #0000ff;">If</span><span style="color: #000000;">&nbsp;Item.Subject&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">""</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">Then</span><span style="color: #000000;"><br><br>Cancel&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">MsgBox</span><span style="color: #000000;">(</span><span style="color: #000000;">"</span><span style="color: #000000;">This&nbsp;message&nbsp;does&nbsp;not&nbsp;have&nbsp;a&nbsp;subject.</span><span style="color: #000000;">"</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">&amp;</span><span style="color: #000000;">&nbsp;vbNewLine&nbsp;</span><span style="color: #000000;">&amp;</span><span style="color: #000000;">&nbsp;_<br><br></span><span style="color: #000000;">"</span><span style="color: #000000;">Do&nbsp;you&nbsp;wish&nbsp;to&nbsp;continue&nbsp;sending&nbsp;anyway?</span><span style="color: #000000;">"</span><span style="color: #000000;">,&nbsp;_<br><br>vbYesNo&nbsp;</span><span style="color: #000000;">+</span><span style="color: #000000;">&nbsp;vbExclamation,&nbsp;</span><span style="color: #000000;">"</span><span style="color: #000000;">No&nbsp;Subject</span><span style="color: #000000;">"</span><span style="color: #000000;">)&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;vbNo<br><br></span><span style="color: #0000ff;">End</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000ff;">If</span><span style="color: #000000;"><br><br></span><span style="color: #0000ff;">End&nbsp;Sub</span><span style="color: #000000;"><br></span></div>
</o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US"><o:p>&nbsp;</o:p></span><span style="font-size: 9pt; color: navy; font-family: 宋体;"><o:p> </o:p><br>
（解决方案原文见：</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; color: navy; font-family: arial;" lang="EN-US">http://hi.baidu.com/%CA%AB%D5%B9/blog/item/c<st1:chmetcnv w:st="on" unitname="F" sourcevalue="7" hasspace="False" negative="False" numbertype="1" tcsc="0">7f</st1:chmetcnv>8dff9d032d658242df275.html</span></font><font color="navy" face="宋体" size="1"><span style="font-size: 9pt; color: navy; font-family: 宋体;">）</span></font></p>
<p>&nbsp;</p><img src ="http://www.cnitblog.com/cockerel/aggbug/38065.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2007-12-25 12:33 <a href="http://www.cnitblog.com/cockerel/archive/2007/12/25/38065.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>修炼成"Winbuntu"</title><link>http://www.cnitblog.com/cockerel/archive/2007/09/03/32855.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Mon, 03 Sep 2007 06:48:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2007/09/03/32855.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/32855.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2007/09/03/32855.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/32855.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/32855.html</trackback:ping><description><![CDATA[花了足足两日的时间来精心设置，终于炼成咗惊天地，泣鬼神嘅超级无敌Winbuntu：Windows+Ubuntu～～<img  src="http://www.cnitblog.com/images/cnitblog_com/cockerel/5112/o_4.gif" border="0"><br><img alt=""  src="http://www.cnitblog.com/images/cnitblog_com/cockerel/blog/winbuntu.png"><br><br><img src ="http://www.cnitblog.com/cockerel/aggbug/32855.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2007-09-03 14:48 <a href="http://www.cnitblog.com/cockerel/archive/2007/09/03/32855.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>赤兔＋笨兔</title><link>http://www.cnitblog.com/cockerel/archive/2007/05/08/26753.html</link><dc:creator>踏雪赤兔</dc:creator><author>踏雪赤兔</author><pubDate>Tue, 08 May 2007 12:08:00 GMT</pubDate><guid>http://www.cnitblog.com/cockerel/archive/2007/05/08/26753.html</guid><wfw:comment>http://www.cnitblog.com/cockerel/comments/26753.html</wfw:comment><comments>http://www.cnitblog.com/cockerel/archive/2007/05/08/26753.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/cockerel/comments/commentRss/26753.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/cockerel/services/trackbacks/26753.html</trackback:ping><description><![CDATA[最近见到肥虫与笨兔（博主注：一个免费开源的操作Linux系统ubuntu的中文爱称）玩得正欢，不禁有点眼红，便求肥虫引荐引荐，认识一下这个新朋友。<br>　　当然，为了安全起见，这次并没有真的格掉了某个盘来装ubuntu，而只是在Vmware里边虚拟了一个，因为我的Ｗindows还运行着一些重要的服务嘛(例如我们班的ＦＴＰ)，万一在ubuntu里用不了怎么办？<br>&nbsp;　　原来以为装ubuntu会很复杂，很麻烦，一试之下发现原来完全不是那回事。当然这很大程度上归功于肥虫的指导，使我基本上也没有遇到什么障碍。<br>　　我首先在中大内网某名叫netshare的著名的的ＦＴＰ站里下了ubuntu7.04版的LiveCD的iso光盘镜像，然后用Ａlchohol120%把它虚拟成一个&#8220;光驱&#8221;，再到网上下载一个Vmware６的注册版，&#8220;开机&#8221;，它便自动从我的&#8220;光驱&#8221;启动了，所谓的LiveCD，就是一张能够不安装也能直接运行操作系统的ＣＤ，接下来的所有安装操作，包括&#8220;分区&#8221;、将ubuntu安装到&#8220;硬盘&#8221;中等等都可以直接在这个ＬiveCD的操作系统上运行，就像安装一个普通软件一般，全图形的界面，还可以边安装边做其它的事，比如上网看ubuntu的用户手册，或者打打小游戏，实在是惬意到极了。<br>　　在ＬiveCD上运行的操作系统很慢，但这不是ubuntu的问题，也不是vmware的问题，等装好之后运行就会快很多了。<br>　　ubuntu下的应用程序还是很丰富的，网络工具、小游戏、输入法／各种办公软件甚至连可以登录Windows桌面的远程桌面都有，而最吸引人的是当你要装一些新软件时，并不需要上网到处找软件（的&#8220;破解版&#8221;）下载，你只需要打开一个叫&#8220;新立得&#8220;的软件包管理器，勾选你要安装的包，那个管理器就会自动帮你下载、安装，而且那些软件还都是免费的，你不需要为使用了破解软件而感到歉疚。<br>　　据说ubuntu是所有Linux发行版中图形界面做得最好的，所以对于像我这样新手来说它非常容易上手。当然，ubuntu is a Linux，它的命令行处理和其它的Ｌinux发行版一样方便强大。要使用命令行界面很简单，按一下&#8220;应用程序&#8221;－＞&#8220;附件&#8221;－＞&#8220;终端&#8221;就可以了。你还可以把它拖动到菜单栏的空白区域中，以便需要时只要按一下鼠标就能打开。<br>　　像我这样的新手入门当然会遇到不少的问题，一般在<a href="http://wiki.ubuntu.com.cn/i">http://wiki.ubuntu.com.cn/</a>都能够找到答案，我还解决了一个连肥虫都未解决的问题呢<img src="http://www.cnitblog.com/images/cnitblog_com/cockerel/5112/o_21.gif">~~就是当我在终端里运行程序时，它常常会占用了这个终端，使我在程序结束之前不能继续输入其它命令。原来，这是因为程序默认而前台方式运行，解决方法就是在要执行的命令最后面加一个&amp;字符，它就会改为在后台运行而不占用当前终端了。如果你在运行程序后才发现这个问题，而又不想关掉程序，那也不难，先按Ctrl+Z暂停程序，然后输入BG，回车，就可以使它转到后台了。如果要让它回到前台，只需输入ＦＧ，回车即可。<br><img src="http://www.cnitblog.com/images/cnitblog_com/cockerel/blog/ubuntu.JPG" border=0><br>说明：<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;左边是文本编辑器gedit，比M$的记事本强多了~与UltraEdit有得一比。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;右边是新立得软件包管理器，要安装什么软件不用上网乱找，在这里勾选一下就可以了~~~^_^<br><br>　　<br><br><img src ="http://www.cnitblog.com/cockerel/aggbug/26753.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/cockerel/" target="_blank">踏雪赤兔</a> 2007-05-08 20:08 <a href="http://www.cnitblog.com/cockerel/archive/2007/05/08/26753.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>