﻿<?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>C++博客-HyJune的专栏-随笔分类-1. 软件开发工具</title><link>http://www.cppblog.com/hyjune/category/7119.html</link><description>专注基于Linux嵌入式系统的学习和研究</description><language>zh-cn</language><lastBuildDate>Sat, 31 May 2008 15:24:44 GMT</lastBuildDate><pubDate>Sat, 31 May 2008 15:24:44 GMT</pubDate><ttl>60</ttl><item><title>rxvt-unicode + screen</title><link>http://www.cppblog.com/hyjune/archive/2008/05/23/50838.html</link><dc:creator>赵海军</dc:creator><author>赵海军</author><pubDate>Fri, 23 May 2008 02:50:00 GMT</pubDate><guid>http://www.cppblog.com/hyjune/archive/2008/05/23/50838.html</guid><wfw:comment>http://www.cppblog.com/hyjune/comments/50838.html</wfw:comment><comments>http://www.cppblog.com/hyjune/archive/2008/05/23/50838.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hyjune/comments/commentRss/50838.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hyjune/services/trackbacks/50838.html</trackback:ping><description><![CDATA[<h3>1. 安装：</h3>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #0000ff;">get</span><span style="color: #000000;">&nbsp;install&nbsp;rxvt</span><span style="color: #000000;">-</span><span style="color: #000000;">unicode</span></div>
<h3>
2. 配置文件 ~/.Xresource</h3>
<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: #000000;">!!================================================================</span><span style="color: #000000;"><br></span><span style="color: #000000;">!!</span><span style="color: #000000;">&nbsp;设置&nbsp;Xftp.dpi(字体分辨率）<br></span><span style="color: #000000;">!!==================================================================</span><span style="color: #000000;"><br>Xft.dpi:&nbsp;</span><span style="color: #000000;">96</span><span style="color: #000000;"><br>Xft.hinting:&nbsp;none<br><br></span><span style="color: #000000;">!!==================================================================</span><span style="color: #000000;"><br></span><span style="color: #000000;">!!</span><span style="color: #000000;">&nbsp;RXVT</span><span style="color: #000000;">-</span><span style="color: #000000;">unicode&nbsp;setting<br></span><span style="color: #000000;">!!==================================================================</span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"><br></span><span style="color: #000000;">!</span><span style="color: #000000;">Color<br>URxvt.background:#213a5e<br>URxvt.foreground:wheat<br>URxvt.colorBD:yellow<br>URxvt.colorUL:Green<br>URxvt.color0:black<br>URxvt.color1:red3<br>URxvt.color2:springgreen<br>URxvt.color3:wheat3<br></span><span style="color: #000000;">!</span><span style="color: #000000;">URxvt.color4:navy<br>URxvt.color5:magenta4<br>URxvt.color6:steelblue1<br>URxvt.color7:gray85<br>URxvt.color8:gray10<br>URxvt.color9:SkyBlue3<br>URxvt.color10:chartreuse3<br>URxvt.color11:lightgoldenrod2<br></span><span style="color: #000000;">!</span><span style="color: #000000;">URxvt.color12:SkyBlue1<br>URxvt.color13:pink1<br>URxvt.color14:lightblue1<br>URxvt.color15:#dbeff9<br>URxvt.color4:SkyBlue1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#重新指定ansi的蓝色和背景冲突了<br>URxvt.color12:#BFE1FF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#重新指定ansi的高亮蓝色<br>URxvt.inheritPixmap:False<br><br></span><span style="color: #000000;">!</span><span style="color: #000000;">fonts<br>URxvt.fontlist:xft:stxihei:pixelsize</span><span style="color: #000000;">=</span><span style="color: #000000;">14</span><span style="color: #000000;"><br>URxvt.font:&nbsp;xft:DejaVu&nbsp;Sans&nbsp;YuanTi&nbsp;Mono</span><span style="color: #000000;">-</span><span style="color: #000000;">12</span><span style="color: #000000;">,xft:Microsoft&nbsp;Yahei</span><span style="color: #000000;">-</span><span style="color: #000000;">10</span><span style="color: #000000;"><br>URxvt.boldFont:&nbsp;xft:DejaVu&nbsp;Sans&nbsp;YuanTi&nbsp;Mono</span><span style="color: #000000;">-</span><span style="color: #000000;">12</span><span style="color: #000000;">:Bold,xft:Microsoft&nbsp;Yahei</span><span style="color: #000000;">-</span><span style="color: #000000;">10</span><span style="color: #000000;">:Bold<br><br></span><span style="color: #000000;">!</span><span style="color: #000000;">frame<br>URxvt.scrollBar:True<br>URxvt.scrollBar_left:True<br>URxvt.scrollstyle:next<br>URxvt.scrollBar_floating:False<br>URxvt.scrollColor:#</span><span style="color: #000000;">999999</span><span style="color: #000000;"><br><br><br>URxvt.saveLines:</span><span style="color: #000000;">3000</span><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#屏幕缓冲行数<br></span><span style="color: #000000;"></span><span style="color: #000000;"><br>URxvt.preeditType:Root<br>URxvt.transparency:</span><span style="color: #000000;">255</span><span style="color: #000000;">&nbsp;<br><br><br><br></span><span style="color: #000000;">!!==================================================================</span><span style="color: #000000;"><br></span><span style="color: #000000;">!!</span><span style="color: #000000;">&nbsp;Emacs&nbsp;setting<br></span><span style="color: #000000;">!!==================================================================</span><span style="color: #000000;"><br>Emacs.FontBackend:&nbsp;xft<br>Emacs.Font:DejaVu&nbsp;Sans&nbsp;YuanTi&nbsp;Mono</span><span style="color: #000000;">-</span><span style="color: #000000;">10</span><span style="color: #000000;"><br>Emacs.Foreground:&nbsp;Wheat<br>Emacs.Background:&nbsp;#213a5e<br></span><span style="color: #000000;">!</span><span style="color: #000000;">Emacs.Background:&nbsp;DarkSlateGray<br>Emacs.ScrollBars:&nbsp;nil<br>Emacs.Geometry:&nbsp;126x44</span><span style="color: #000000;">+</span><span style="color: #000000;">80</span><span style="color: #000000;">+</span><span style="color: #000000;">80</span></div>
<h3>
3. 创建 launcher 启动rxvt时自动启动screen</h3>
<div style="margin-left: 40px;">Name：urxvt<br> Command:urxvt -e screen<br></div>
<h3>4. 配置文件 ~/.screenrc</h3>
<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: #000000;"># =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # <br>##&nbsp;&nbsp;&nbsp; Explanation of hardstatus line&nbsp;&nbsp;&nbsp; ## <br><br># Ignore the ' marks if you use these examples for yourself <br><br># Note that if you want to use the color brown under konsole <br># You actually use bright yellow (%{Y}). <br><br># Note the embeded space after the colon, I feel <br>#&nbsp; it just looks nicer with a blank between the <br>#&nbsp; text and console edge: <br>#&nbsp;&nbsp; '%{=b}%{G} Screen(s): ' <br><br># This prints the window listing in blue: <br>#&nbsp;&nbsp; '%{b}%w' <br><br># This right-aligns what follows: <br>#&nbsp;&nbsp; '%=' <br><br># This displays the time (hours and minutes) in 12hr format <br># and adds an AM/PM flag, in bold green: <br>#&nbsp;&nbsp; '%{G}%C%A' <br><br># This displays the day of the week: <br>#&nbsp;&nbsp; '%D' <br><br>#This displays the date in Mon/day/year format: <br># and again I embeded a space to give me one space <br># between the text and console edge: <br>#&nbsp; '%M/%d/%Y ' <br><br># Green text, time, and date; windows in blue: <br>hardstatus alwayslastline "%{=b}%{b}%-w%{.BW}%10&gt;%n*%t%{-}%+w%&lt; %=%{kG}%C%A %D, %Y-%m-%d" <br># =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # <br>##&nbsp;&nbsp;&nbsp; Some general options&nbsp;&nbsp;&nbsp; ## <br><br># Turn off start message: <br>startup_message off&nbsp;&nbsp; # default: on <br><br># Automatically detach on hangup, or the screen will keep eating your memory after the terminal emulator has been terminated. <br>autodetach off&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # default: on <br><br># Set messages timeout to one second: <br>msgwait 1 <br><br>#use bash as default shell. <br>shell bash <br># =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # <br>##&nbsp;&nbsp;&nbsp; Keybindings&nbsp;&nbsp;&nbsp; ## <br><br># bind F1&nbsp; to select 1 <br># bind F7&nbsp; to detach screen session from this terminal <br># bind F8&nbsp; to kill current screen window. <br># bind F9&nbsp; to create a new screen <br># bind F10 to rename current screen window <br># bind F11 to move to previous window <br># bind F12 to move to next window <br>#bindkey -k k1 select 1 <br>#bindkey -k k7 detach <br>#bindkey -k k8 kill <br>#bindkey -k k9 screen <br>bindkey -k k; title <br>bindkey -k F1 prev <br>bindkey -k F2 next <br># =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #</span><span style="color: #000000;"><br></span><span style="color: #000000;"></span><span style="color: #000000;"></span></div>
<br>   <img src ="http://www.cppblog.com/hyjune/aggbug/50838.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hyjune/" target="_blank">赵海军</a> 2008-05-23 10:50 <a href="http://www.cppblog.com/hyjune/archive/2008/05/23/50838.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux下开发环境搭建－－－2. emacs篇</title><link>http://www.cppblog.com/hyjune/archive/2008/05/21/50653.html</link><dc:creator>赵海军</dc:creator><author>赵海军</author><pubDate>Wed, 21 May 2008 08:23:00 GMT</pubDate><guid>http://www.cppblog.com/hyjune/archive/2008/05/21/50653.html</guid><wfw:comment>http://www.cppblog.com/hyjune/comments/50653.html</wfw:comment><comments>http://www.cppblog.com/hyjune/archive/2008/05/21/50653.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hyjune/comments/commentRss/50653.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hyjune/services/trackbacks/50653.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 本节主要参考：&nbsp;&nbsp;&nbsp; 曹乐的《在Emacs下用C/C++编程》&nbsp;&nbsp;&nbsp; 王纯业的《Emacs 一个强大的平台》&nbsp;&nbsp;&nbsp; emacswiki.orgemcas难学易用，可扩展性强。有人把她当作信仰，有人认为他是魔鬼！学习首先记住基本的键盘快捷键，学会常用插件，深入学习还需学习lisp语言。本节紧对emacs作为开发...&nbsp;&nbsp;<a href='http://www.cppblog.com/hyjune/archive/2008/05/21/50653.html'>阅读全文</a><img src ="http://www.cppblog.com/hyjune/aggbug/50653.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hyjune/" target="_blank">赵海军</a> 2008-05-21 16:23 <a href="http://www.cppblog.com/hyjune/archive/2008/05/21/50653.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux下开发环境搭建－－－1. 引言</title><link>http://www.cppblog.com/hyjune/archive/2008/05/21/50638.html</link><dc:creator>赵海军</dc:creator><author>赵海军</author><pubDate>Wed, 21 May 2008 06:16:00 GMT</pubDate><guid>http://www.cppblog.com/hyjune/archive/2008/05/21/50638.html</guid><wfw:comment>http://www.cppblog.com/hyjune/comments/50638.html</wfw:comment><comments>http://www.cppblog.com/hyjune/archive/2008/05/21/50638.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hyjune/comments/commentRss/50638.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hyjune/services/trackbacks/50638.html</trackback:ping><description><![CDATA[很多程序员都熟悉Windows下用VC＋VA编程，或用Source
Insight阅读编辑代码，对Linux下的编程环境比较陌生，找不适合的的开发环境。本文主要讨论Linux下常用的开发环境及其建立过程。
Linux下常见的开发环境有一下几种：一种是基于vi的，一种基于emacs的，还有一种是其他Xwindow的开发环境
Eclipse，SourceNav，SlickEdit等。<br><br>基本编程环境：<br>
<div id="" style="border: 1px solid #666666; margin-left: 40px;">Ubuntu 8.04<br>Gnome 2.14<br>Gnu tool chain(gcc gdb make)</div>
<br><br>基本编程环境的建立可以参考：<a href="http://www.cppblog.com/hyjune/archive/2008/05/21/50637.html">Ubuntu Ubuntu 8.04 LTS 配置笔记</a>   <img src ="http://www.cppblog.com/hyjune/aggbug/50638.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hyjune/" target="_blank">赵海军</a> 2008-05-21 14:16 <a href="http://www.cppblog.com/hyjune/archive/2008/05/21/50638.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu Ubuntu 8.04 LTS 配置笔记</title><link>http://www.cppblog.com/hyjune/archive/2008/05/21/50637.html</link><dc:creator>赵海军</dc:creator><author>赵海军</author><pubDate>Wed, 21 May 2008 06:14:00 GMT</pubDate><guid>http://www.cppblog.com/hyjune/archive/2008/05/21/50637.html</guid><wfw:comment>http://www.cppblog.com/hyjune/comments/50637.html</wfw:comment><comments>http://www.cppblog.com/hyjune/archive/2008/05/21/50637.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hyjune/comments/commentRss/50637.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hyjune/services/trackbacks/50637.html</trackback:ping><description><![CDATA[<h3>1、设置源</h3>
<h4>(1)台湾大学的源，现对cn99的源较完整也比较新虽然速度有点慢 推荐</h4>
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse<br>deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse<br>deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse<br>deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse<br>deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse<br>deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse<br>deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse<br>deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse<br>deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe<br>deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse<br>
<h4>(2)cn99的源</h4>
deb http://debian.cn99.com/ubuntu/ hardy main restricted universe multiverse<br>deb-src http://debian.cn99.com/ubuntu/ hardy main restricted universe multiverse<br>deb http://debian.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse<br>deb-src http://debian.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse<br>deb http://debian.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse<br>deb-src http://debian.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse<br>deb http://debian.cn99.com/ubuntu/ hardy-security main restricted universe multiverse<br>deb-src http://debian.cn99.com/ubuntu/ hardy-security main restricted universe multiverse<br>deb http://debian.cn99.com/ubuntu/ hardy-proposed main multiverse restricted universe<br>deb-src http://debian.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse<br><br>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;</span><span style="color: #0000ff;">update</span><span style="color: #000000;">&nbsp;</span><span style="color: #808080;">&amp;&amp;</span><span style="color: #000000;">&nbsp;upgrade</span></div>
<h3>2 安装 ATI显卡驱动</h3>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;xorg</span><span style="color: #808080;">-</span><span style="color: #000000;">driver</span><span style="color: #808080;">-</span><span style="color: #000000;">fglrx<br>sudo&nbsp;reboot</span></div>
<br>
<h3>3 字体 美化</h3>
<h4>安装字体</h4>
虽然ubuntu 8.04 LTS 用的文泉驿系列字体已经很不错，但和商业字体还有差距 <br>安装dejavu sans yuanti 和微软雅黑（此字体有版权问题）<br>下载dejavu sans yuanti字体文件：<br><a href="http://ftp.ubuntu.org.cn/home/zhuqin_83/">http://ftp.ubuntu.org.cn/home/zhuqin_83/</a><br>用户名：ubuntu，密码：ubuntuftp<br>解压后放在 ~/.font目录下<br>拷贝微软雅黑也放在~/.font目录下<br>
<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: #000000;">sudo&nbsp;fc</span><span style="color: #808080;">-</span><span style="color: #000000;">cache&nbsp;</span><span style="color: #808080;">-</span><span style="color: #000000;">fv</span></div>
System--&gt;Preferences--&gt;Appearance--&gt;Fonts选择字体 <br>改为上述安装的字体<br>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;gnome</span><span style="color: #808080;">-</span><span style="color: #000000;">icon</span><span style="color: #808080;">-</span><span style="color: #000000;">theme</span><span style="color: #808080;">-</span><span style="color: #000000;">gartoon <br></span></div>
System--&gt;Preferences--&gt;Appearance--&gt;Themes<br>
<div style="margin-left: 40px;">&nbsp;Control: Mist<br>&nbsp;Color: <br>
<div style="margin-left: 40px;">&nbsp; Windows:&nbsp;&nbsp;&nbsp; #EAEAEA #000000<br>&nbsp; Slected items #B7B7B7 #FFFFFF<br></div>
&nbsp;Windows Board: Crux<br>&nbsp;Icons: Gartoon<br></div>
<span style="font-weight: bold;"><br></span>GNOME_ternimal<br>
<div id="" style="border: 1px solid #666666;">FONT:Dejavu Sans Yuanti Mono 10<br>Buil-in shemes: Custom<br>Text Color:#FFFFFF<br>Background Color:#8B8B8B<br>Palette: RXVT<br>Scroll Bar: Left</div>
<p>&nbsp;</p>
<h3>4.安装软件</h3>
<h4>(1) editer tools</h4>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;vim&nbsp;vim</span><span style="color: #808080;">-</span><span style="color: #0000ff;">full</span><span style="color: #000000;">&nbsp;ctags&nbsp;&nbsp;cscope&nbsp;vim</span><span style="color: #808080;">-</span><span style="color: #000000;">doc&nbsp;ghex</span></div>
<h4>(2) programming tools</h4>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;build</span><span style="color: #808080;">-</span><span style="color: #000000;">essential&nbsp;devhelp&nbsp;gcc</span><span style="color: #808080;">-</span><span style="color: #800000; font-weight: bold;">4.2</span><span style="color: #808080;">-</span><span style="color: #000000;">doc&nbsp;glibc</span><span style="color: #808080;">-</span><span style="color: #000000;">doc&nbsp;libstdc</span><span style="color: #808080;">++</span><span style="color: #800000; font-weight: bold;">6</span><span style="color: #808080;">-</span><span style="color: #800000; font-weight: bold;">4.2</span><span style="color: #808080;">-</span><span style="color: #000000;">doc&nbsp;diff</span><span style="color: #808080;">-</span><span style="color: #000000;">doc<br>sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;libgtk2.</span><span style="color: #800000; font-weight: bold;">0</span><span style="color: #808080;">-</span><span style="color: #000000;">dev&nbsp;libglib2.</span><span style="color: #800000; font-weight: bold;">0</span><span style="color: #808080;">-</span><span style="color: #000000;">doc&nbsp;libgtk2.</span><span style="color: #800000; font-weight: bold;">0</span><span style="color: #808080;">-</span><span style="color: #000000;">doc<br>sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;autoconf&nbsp;autogen&nbsp;automake<br>sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;cvs&nbsp;indent&nbsp;libtool&nbsp;subversion<br>sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;glade</span><span style="color: #808080;">-</span><span style="color: #800000; font-weight: bold;">3</span><span style="color: #000000;">&nbsp;libglade2</span><span style="color: #808080;">-</span><span style="color: #000000;">dev&nbsp;anjuta<br>sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;kernel</span><span style="color: #808080;">-</span><span style="color: #000000;">package&nbsp;fakeroot&nbsp;debhelper&nbsp;gettext&nbsp;gettext</span><span style="color: #808080;">-</span><span style="color: #000000;">doc&nbsp;dh</span><span style="color: #808080;">-</span><span style="color: #000000;">make&nbsp;libncurses</span><span style="color: #808080;">-</span><span style="color: #000000;">dev<br>sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;ddd&nbsp;ddd</span><span style="color: #808080;">-</span><span style="color: #000000;">doc&nbsp;valgrind&nbsp;meld&nbsp;gnuplot&nbsp;gnuplot</span><span style="color: #808080;">-</span><span style="color: #000000;">doc</span></div>
<h4>(3) entertainment</h4>
添加Medibuntu源<br>
<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: #000000;">sudo&nbsp;wget&nbsp;http:</span><span style="color: #808080;">//</span><span style="color: #000000;">www.medibuntu.org</span><span style="color: #808080;">/</span><span style="color: #000000;">sources.list.d</span><span style="color: #808080;">/</span><span style="color: #000000;">hardy.list&nbsp;</span><span style="color: #808080;">-</span><span style="color: #000000;">O&nbsp;</span><span style="color: #808080;">/</span><span style="color: #000000;">etc</span><span style="color: #808080;">/</span><span style="color: #000000;">apt</span><span style="color: #808080;">/</span><span style="color: #000000;">sources.list.d</span><span style="color: #808080;">/</span><span style="color: #000000;">medibuntu.list<br>sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;</span><span style="color: #0000ff;">update</span><span style="color: #000000;">&nbsp;</span><span style="color: #808080;">&amp;&amp;</span><span style="color: #000000;">&nbsp;sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;medibuntu</span><span style="color: #808080;">-</span><span style="color: #000000;">keyring&nbsp;</span><span style="color: #808080;">&amp;&amp;</span><span style="color: #000000;">&nbsp;sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;</span><span style="color: #0000ff;">update</span><span style="color: #000000;"> <br></span></div>
安装 MPlayer<br>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;mplayer&nbsp;mplayer</span><span style="color: #808080;">-</span><span style="color: #000000;">fonts</span></div>
配置 Mplayer显示中文字幕<br>
<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: #000000;">mkdir&nbsp;</span><span style="color: #808080;">~/</span><span style="color: #000000;">.mplayer<br>ln&nbsp;</span><span style="color: #808080;">-</span><span style="color: #000000;">sf&nbsp;</span><span style="color: #808080;">~/</span><span style="color: #000000;">.fonts</span><span style="color: #808080;">/</span><span style="color: #000000;">yahei_ct.ttf&nbsp;</span><span style="color: #808080;">~/</span><span style="color: #000000;">.mplayer</span><span style="color: #808080;">/</span><span style="color: #000000;">subfont.ttf<br>gedit&nbsp;</span><span style="color: #808080;">~/</span><span style="color: #000000;">.mplayer</span><span style="color: #808080;">/</span><span style="color: #000000;">gui.conf</span></div>
<br>
<div style="margin-left: 40px;">sub_cp = "cp936"<br>font_text_scale = "4.000000"<br>font_osd_scale = "4.000000"<br>sub_fuzziness=2<br></div>
<br>安装w32codecs多媒体解码器<br>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;w32codecs&nbsp;gcc</span><span style="color: #808080;">-</span><span style="color: #800000; font-weight: bold;">3.3</span><span style="color: #808080;">-</span><span style="color: #000000;">base&nbsp;libstdc</span><span style="color: #808080;">++</span><span style="color: #800000; font-weight: bold;">5</span></div>
安装gstreamer的解码器<br>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;gstreamer0.</span><span style="color: #800000; font-weight: bold;">10</span><span style="color: #808080;">-</span><span style="color: #000000;">pitfdll&nbsp;gstreamer0.</span><span style="color: #800000; font-weight: bold;">10</span><span style="color: #808080;">-</span><span style="color: #000000;">ffmpeg&nbsp;gstreamer0.</span><span style="color: #800000; font-weight: bold;">10</span><span style="color: #808080;">-</span><span style="color: #000000;">plugins</span><span style="color: #808080;">-</span><span style="color: #000000;">bad&nbsp;gstreamer0.</span><span style="color: #800000; font-weight: bold;">10</span><span style="color: #808080;">-</span><span style="color: #000000;">plugins</span><span style="color: #808080;">-</span><span style="color: #000000;">bad</span><span style="color: #808080;">-</span><span style="color: #000000;">multiverse&nbsp;gstreamer0.</span><span style="color: #800000; font-weight: bold;">10</span><span style="color: #808080;">-</span><span style="color: #000000;">plugins</span><span style="color: #808080;">-</span><span style="color: #000000;">ugly&nbsp;gstreamer0.</span><span style="color: #800000; font-weight: bold;">10</span><span style="color: #808080;">-</span><span style="color: #000000;">plugins</span><span style="color: #808080;">-</span><span style="color: #000000;">ugly</span><span style="color: #808080;">-</span><span style="color: #000000;">multiverse</span></div>
<br>
<h4>5 解决pidgin QQ 群 NULL</h4>
下载地址：<br><a href="http://xxb.is-programmer.com/user_files/xxb/File/libqq.so">http://xxb.is-programmer.com/user_files/xxb/File/libqq.so</a><br>替换原来的libqq.so<br>
<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: #000000;">sudo&nbsp;mv&nbsp;libqq.so&nbsp;</span><span style="color: #808080;">/</span><span style="color: #000000;">usr</span><span style="color: #808080;">/</span><span style="color: #000000;">lib</span><span style="color: #808080;">/</span><span style="color: #000000;">purple</span><span style="color: #808080;">-</span><span style="color: #800000; font-weight: bold;">2</span></div>
<h4>6 删除SCIM多余输入法</h4>
<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: #000000;">sudo&nbsp;rm&nbsp;</span><span style="color: #808080;">-</span><span style="color: #000000;">f&nbsp;</span><span style="color: #808080;">/</span><span style="color: #000000;">usr</span><span style="color: #808080;">/</span><span style="color: #000000;">share</span><span style="color: #808080;">/</span><span style="color: #000000;">scim</span><span style="color: #808080;">/</span><span style="color: #000000;">tables</span><span style="color: #008080;">/*</span></div>
<br>
<h3>7 安装 配置emacs23</h3>
执行命令安装：<br>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;emacs</span><span style="color: #808080;">-</span><span style="color: #000000;">snapshot</span><span style="color: #808080;">-</span><span style="color: #000000;">gtk&nbsp;&nbsp;emacs</span><span style="color: #808080;">-</span><span style="color: #000000;">snapshot</span><span style="color: #808080;">-</span><span style="color: #000000;">el</span></div>
字体<br>让 emacs 不要使用默认的 X 核心字体,转而使用 xft 字体引擎:<br>
<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: #000000;">gedit&nbsp;.Xresources</span></div>
<br>
<div style="margin-left: 40px;">Emacs.FontBackend: xft<br>Emacs.Font:DejaVu Sans YuanTi Mono-15<br>Emacs.Foreground: Wheat<br>Emacs.Background: DarkSlateGray<br>Emacs.ScrollBars: nil<br>Emacs.Geometry: 126x44+0+0<br>Xft.dpi: 96<br>Xft.hinting: none<br></div>
<br>&nbsp;更改生效:<br>
<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: #000000;">xrdb&nbsp;</span><span style="color: #808080;">-</span><span style="color: #0000ff;">load</span><span style="color: #000000;">&nbsp;.</span><span style="color: #808080;">/</span><span style="color: #000000;">.Xresources</span></div>
启动emacs：<br>
<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: #000000;">emacs</span></div>
显示中文<br>emacs23 支持xft，可以显示漂亮的英文，但中文依然十分丑陋，大小不一致，参考<a href="http://karronqiu.googlepages.com/emacs_xft.html">http://karronqiu.googlepages.com/emacs_xft.html</a><br>删除字体ttf-kochi-gothic , ttf-kochi-mincho ,ttf-baekmuk , ttf-arphic-uming后就OK了<br>
<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: #000000;">sudo&nbsp;apt</span><span style="color: #808080;">-</span><span style="color: #000000;">get&nbsp;</span><span style="color: #008080;">--</span><span style="color: #008080;">purge&nbsp;remove&nbsp;ttf-kochi-gothic&nbsp;ttf-kochi-mincho&nbsp;ttf-baekmuk&nbsp;ttf-arphic-uming</span></div>
<br><br><br><br> <img src ="http://www.cppblog.com/hyjune/aggbug/50637.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hyjune/" target="_blank">赵海军</a> 2008-05-21 14:14 <a href="http://www.cppblog.com/hyjune/archive/2008/05/21/50637.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>