<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/rss.xsl" type="text/xsl" media="screen"?>
<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:ppp="http://blog.sohu.com/rss/module/ppp/"
	>

	<channel>
		<title>wildwolf's</title>
		<link>http://wildwolfgang.blog.sohu.com/</link>
		<description><![CDATA[wildwolf's]]></description>
		<pubDate>Wed, 13 Aug 2008 18:09:32 +0800</pubDate>
		<generator>搜狐博客</generator>
		<ppp:ebi>2540d9c792</ppp:ebi>
		<image>
			<title>http://blog.sohu.com</title>
			<url>http://js.pp.sohu.com/ppp/blog/images/common/logo_150_60.gif</url>
			<link>http://blog.sohu.com/</link>
			<width>100</width>
			<height>43</height>
			<description>搜狐博客</description>
		</image>
		<item>
			<title>gentoo rox fvwm</title>
			<link>http://wildwolfgang.blog.sohu.com/96834918.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/96834918.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Wed, 13 Aug 2008 18:09:32 +0800</pubDate>
			<category>gentoo</category>
			<guid>http://wildwolfgang.blog.sohu.com/96834918.html</guid>
			<description><![CDATA[<p><a href="http://www.oceanboo.cn/read.php/239.htm">http://pemarchandet.free.fr/fvwm.html<br /></a></p><p><a href="http://www.oceanboo.cn/read.php/239.htm">http://www.oceanboo.cn/read.php/239.htm</a><span></span></p>
<p><span><a href="http://www.cublog.cn/u/17248/showart_127165.html" target="_blank">http://www.cublog.cn/u/17248/showart_127165.html</a></span></p>
<p><span><a href="http://wiki.chinaunix.net/index.php/Desktop_fvwm">http://wiki.chinaunix.net/index.php/Desktop_fvwm</a></span></p>
<p><span><a href="http://fvwm.lair.be/viewtopic.php?t=1425">http://fvwm.lair.be/viewtopic.php?t=1425</a></span></p>
<p><span><a href="http://gentoo-wiki.com/HOWTO_FVWM">http://gentoo-wiki.com/HOWTO_FVWM</a></span></p>
<p><span></span>&nbsp;</p>
<p><span></span>&nbsp;</p>
<p><span></span>&nbsp;</p>
<p><span></span>&nbsp;</p>
<p><span>&nbsp;</span></p>]]></description>
		</item>
		    
		
		<item>
			<title>转：fvwm</title>
			<link>http://wildwolfgang.blog.sohu.com/96582314.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/96582314.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Wed, 6 Aug 2008 21:35:48 +0800</pubDate>
			<category>linux</category>
			<guid>http://wildwolfgang.blog.sohu.com/96582314.html</guid>
			<description><![CDATA[<div style="margin: 15px;">
		<div>初次接触FVWM,在参考几位大虾的作品后，自己胡搞出了一个简单的配置。<br />本来只愿独自陋藏。基于一下原因，拿出来让大家共赏。<br />1,刚接触fvwm，有许多不当之处，希望得到高人指点。<br />2,我好忘事，如不趁热写下来，过一段时间，说不定就忘了如何配置。（^_^放在网上作个备份）<br /><br />我的主要参考资源：<br />1,FVWM FAQ中文版<br /><a href="http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=67623" target="_blank"><font color="#800080">http://www.linuxfans.org/nuke/modul...ewtopic&amp;t=67623</font></a><br />2,清华大学王垠博士的《FVWM使用指南》<br /><a href="http://learn.tsinghua.edu.cn/homepage/2001315450/fvwm_frame.html" target="_blank"><font color="#800080">http://learn.tsinghua.edu.cn/homepa...fvwm_frame.html</font></a><br />3,主要参考的配置文件<br /><a href="http://www.pcshow.net/bbs/viewthread.php?tid=350683088&fpage=1" target="_blank"><font color="#0000ff">http://www.pcshow.net/bbs/viewthrea...0683088&amp;fpage=1</font></a><br /><br /><br /><br />FVWM的配置文件是用户目录中的<font color="#ff0000">./fvwm/.fvwm2rc</font><br />在其中可以把所有的设置都写进去。但我感到把所有的定义都放在一起，不便查找。于是就就把.<font color="#ff0000">fvwm2rc</font>分解开了，对于一些具体的方面单独写了配置。<br />具体说明如下：<br /><font color="#ff0000">.fvwm2rc</font> （起始文件，主要是些路径及起动时的设置）<br /><font color="#ff0000">f.menu</font> （菜单）<br /><font color="#ff0000">f.buttonbar</font> （buttonbar模块，就是在我的桌面左上角那一排快捷按钮）<br /><font color="#ff0000">f.taskbar</font> （taskbar模块，任务条）<br /><font color="#ff0000">f.pager</font> （pager模块，虚拟桌面切换程序。在我桌面的右上角）<br /><font color="#ff0000">f.style</font> （窗口样式）<br /><font color="#ff0000">f.Mouse</font> （鼠标，键盘设定）<br /><font color="#ff0000">f.ButtonStyle</font> （标题栏。按钮的排列，样式等）<br /><font color="#ff0000">f.autohiding</font> （模块自动隐藏设置）<br /><br /><br /><br /><br />想用图标，建一目录<font color="#ff0000"> ./fvwm/icons</font> 我是把<font color="#ff0000">/usr/share/icons/</font>目录中的16X16的图标拷贝过来的<br />墙纸用的是png格式，你只要写上相应的路径即可。<br /><font color="#ff0000">./fvwm/imgae</font>目录放的是一些背景图片，用来装饰<font color="#0000ff">buttonbar,pager</font>等模块的。<br /><br /><br />另外：我的本地编码是gb2312<br /><br /><br />附件里的是所有配置，只需解压后，拷贝到./fvwm/目录即可。当然，要想显示图标和墙纸，还需按我上面说的做。^_^</div>
<div><strong>.fvwm2c设置及解释</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div>################**GKP**#######################<br /># 虾米 ：QQ: 391512866 #<br /># Mail:gkp790522@yahoo.com.cn #<br /># BLOG: #<br />#<a href="http://www.linuxeden.com/forum/blog/index.php?blogId=88495" target="_blank"><font color="#0000ff">http://www.linuxeden.com/forum/blog...hp?blogId=88495</font></a> #<br />#############################################<br /># 2005.7.7第四次修改 #<br />#############################################<br /><br /><br /><font color="#0000ff"># 加入一些路径,FVWM在这些路径中查找后面要用到的图标</font><br />ImagePath ${HOME}/.fvwm/image:+<br />ImagePath ${HOME}/.fvwm/icons:+<br /><br /><font color="#0000ff">#插入另外一个文件file的内容</font><br />Read f.strokes<br />Read f.menu<br />Read f.buttonbar<br />Read f.taskbar<br />Read f.pager<br />Read f.iconman<br />Read f.style<br />Read f.Mouse<br />Read f.ButtonStyle<br />Read f.autohiding<br /><br /><font color="#0000ff"># 窗口最大化是两边撑满,而上面留出20个(像素?),下面相应的留出25</font><br />EwmhBaseStruts 0 0 20 25 <br /><br /><font color="#0000ff">#使用EdgeScroll命令禁止flipping pages（鼠标不会因为接近屏幕边缘而进入相近的桌面）</font><br />EdgeScroll 0 0 <br /><br /><font color="#0000ff"># 用来设定桌面的大小,这里只设置了一个桌面,但是有8页</font><br />DeskTopSize 8x1<br /><br /><font color="#0000ff"># 这里是FVWM的启动函数，加载一些模块</font><br />AddToFunc StartFunction<br />+ I Module FvwmAnimate<br />+ I Module FvwmPager<br />+ I Module FvwmButtons -g +0+0<br />+ I Module FvwmTaskBar <br />+ I Exec exec fvwm-root -r ~/.fvwm/tp/g-259c.png <font color="#0000ff">#墙纸路径</font><br /><br /><font color="#0000ff"># 下面是FVWM的退出函数，你可以在这里加入一些FVWM退出时要执行的打操作</font><br />AddToFunc ExitFunction<br />+ I Exec exec sync</div>
<div><strong>f.menu设置及解释</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div>##########################Menu############################<br /><br /><font color="#0000ff">#下面这段是设定菜单的样式（透明的哦，我很喜欢），字体等相关参数。</font><br />MenuStyle * Hilight3DOff, HilightBack #424164, ActiveFore white<br />Colorset 0 Transparent,fg white<br />MenuStyle * MenuColorset 0<br />MenuStyle * Foreground grey90<br />MenuStyle * Background #1c5572<br />MenuStyle * Font &quot;-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*&quot;<br />#MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1<br />MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid<br />MenuStyle * ItemFormat &quot;%.2|%.5i%.5l%.5i%2.3&gt;%2|&quot;<br />MenuStyle * AutomaticHotKeys<br />MenuStyle * MenuFace VGradient 128 1 #2c80A0 1 #1c5572 <br />ColormapFocus FollowsFocus<br /><br /><font color="#0000ff">#下面这段是设定主菜单显示的程序及一些子菜单的名字，NOP是分割线。</font><br />#-------------------------------------------------------------------------------------------------------------------<br />DestroyMenu MenuFvwmRoot<br />AddToMenu MenuFvwmRoot<br />+ &quot;Mlterm终端&quot; Exec exec mlterm<br />+ &quot;Konsole终端&quot; Exec exec konsole<br />+ &quot;gkp家目录&quot; Exec exec konqueror /home/gkp<br />+ &quot;&quot; Nop<br />+ &quot;OpenOffice办公套件&quot; Exec exec openoffice<br />+ &quot;Ark&quot; Exec exec ark<br />+ &quot;星际译王&quot; Exec exec stardict<br />+ &quot;网络工具&quot; Popup MenuInternet<br />+ &quot;Editor工具&quot; Popup MenuEditors<br />+ &quot;多媒体程序&quot; Popup MenuMultimedia<br />+ &quot;系统工具&quot; Popup MenuUtilities<br />+ &quot;&amp;运行...&quot; Module FvwmForm FvwmForm-Run<br />#+ &quot;Preferences&quot; Popup MenuFvwmConfig<br />+ &quot;&quot; Nop<br />+ &quot;退出窗口管理器&quot; Popup MenuQuit-Verify<br /><br /><font color="#0000ff">#下面是设定每个子菜单要显示的程序，可根据自己的情况删加</font><br /><br />DestroyMenu MenuInternet<br />AddToMenu MenuInternet<br />+ &quot;Firefox-火狐&quot; Exec exec firefox<br />+ &quot;opera&quot; Exec exec opera<br />+ &quot;konqueror&quot; Exec exec konqueror<br />+ &quot;Gftp&quot; Exec exec gftp<br />+ &quot;Dillo&quot; Exec exec dillo<br />+ &quot;D4x&quot; Exec exec d4x<br />+ &quot;&quot; nop<br />+ &quot;Network Analyser&quot; Exec exec ethereal<br />+ &quot;Nmap security Scanner&quot; Exec exec nmapfe<br />+ &quot;IRC Client&quot; Exec exec xchat<br />+ &quot;Gaim&quot; Exec exec gaim<br />+ &quot;LumaQQ&quot; Exec exec lumaqq<br />DestroyMenu MenuEditors<br />AddToMenu MenuEditors<br />+ &quot;Kwrite&quot; Exec exec kwrite<br />+ &quot;Kate&quot; Exec exec kate<br />+ &quot;Vim Editor&quot; Exec exec gvim -geom 115x46<br />+ &quot;Leafpad&quot; Exec exec leafpad<br />+ &quot;Gedit&quot; Exec exec gedit<br />+ &quot;Emacs CoffeeMachine&quot; Exec exec emacs<br />+ &quot;Bluefish Html Editor&quot; Exec exec bluefish<br />+ &quot;Amaya Html Editor&quot; Exec exec amaya<br /><br />DestroyMenu MenuMultimedia<br />AddToMenu MenuMultimedia<br />+ &quot;Kmix&quot; Exec exec kmix<br />+ &quot;Kaffeine&quot; Exec exec kaffeine<br />+ &quot;Totem&quot; Exec exec totem<br />+ &quot;Xmms Media Player&quot; Exec exec xmms<br />+ &quot;Amarok&quot; Exec exec amarok<br />+ &quot;Xine&quot; Exec exec xine<br />+ &quot;DisPlay&quot; Exec exec display<br />+ &quot;&quot; nop<br />+ &quot;TheGimp&quot; Exec exec gimp<br />+ &quot;Blender&quot; Exex exec blender<br />+ &quot;Gqview&quot; Exec exec gqview<br />+ &quot;Gwenview&quot; Exec exec gwenview<br />+ &quot;Ksnapshot&quot; Exec exec ksnapshot<br />+ &quot;&quot; nop<br />+ &quot;Sodipodi&quot; Exec exec sodipodi<br />+ &quot;Audio CD Player&quot; Exec exec grip<br />+ &quot;NeroLinux&quot; Exec exec nero<br />+ &quot;K3b cd-burner&quot; Exec exec k3b<br />+ &quot;Alsa Audio Mixer&quot; Exec exec aterm -e alsamixer<br />+ &quot;Video Recorder&quot; Exec exec gvidcap<br />+ &quot;Color controls&quot; Exec exec gxvattr<br />+ &quot;EE&quot; Exec exec ee<br /><br />DestroyMenu MenuUtilities<br />AddToMenu MenuUtilities<br />+ &quot;Adobe Reader&quot; Exec exec acroread<br />+ &quot;XPDF&quot; Exec exec xpdf<br />+ &quot;Rox File Manager&quot; Exec exec rox<br />+ &quot;VMware Workstation&quot; Exec exec vmware<br />+ &quot;Gtk2 Theme Changer&quot; Exec exec gtk-chtheme<br />+ &quot;GnuPg&quot; Exec exec gpa<br />+ &quot;Xfont Selector&quot; Exec exec xfontsel<br />+ &quot;&amp;Screenshot&quot; Exec exec ~/.fvwm/snapshot.sh<br />+ &quot;Window Information&quot; Exec exec xmessage &quot;`xwininfo`&quot;<br />+ &quot;Magnifying Glass&quot; Exec exec xmag<br />+ &quot;Show Desktop&quot; All (AcceptsFocus CurrentPage !Iconic !Shaded) Thumbnail<br />+ &quot;Xdaliclock&quot; Exec exec xdaliclock -24 -font or -fn -microsoft-Tahoma-medium-r-normal--24-0-0-0-p-0-iso8859-1 -geometry 100+100<br />DestroyMenu MenuGames<br />AddToMenu MenuGames<br />+ MissingSubmenuFunction FuncFvwmMenuDirectory<br />+ &quot;Chess Database analyser&quot; Exec exec scid<br />+ &quot;Eboard Chess Client&quot; Exec exec eboard<br /><br />DestroyMenu MenuQuit-Verify<br />AddToMenu MenuQuit-Verify<br />+ &quot;Exit FVWM Now... &quot; Quit<br />+ &quot;Restart FVWM ...&quot; Restart<br />+ &quot;Power Off&quot; Exec exec /sbin/halt -p<br />+ &quot;Reset&quot; Exec exec /sbin/reboot<br />+ &quot;&amp;Lock Screen&quot; Exec exec #xscreensaver-command -lock<br /><br />DestroyMenu MenuFvwmConfig<br />AddToMenu MenuFvwmConfig<br />+ &quot;FvwmConsole&quot; Module FvwmConsole -terminal rxvt<br />+ &quot;Colour Browser&quot; Exec exec gcolor<br />+ &quot;Edit fvwm2rc&quot; Exec exec gvim -geom 115x46 ~/.fvwm/.fvwm2rc<br />+ &quot;R&amp;efresh&quot; Refresh<br />+ &quot;&amp;Xkill&quot; Pick Destroy<br />+ &quot;Configure Screensaver...&quot; Exec exec xscreensaver<br /><br />DestroyMenu MenuFvwmWindowOps<br />AddToMenu MenuFvwmWindowOps<br />+ &quot;Resize&quot; Pick Resize<br />+ &quot;Shade&quot; Pick WindowShade Toggle<br />+ &quot;&quot; Nop<br />+ &quot;Stick&quot; Pick Stick<br />+ &quot;Scroll&quot; Pick Module FvwmScroll<br />+ &quot;Refresh&quot; Pick RefreshWindow<br />+ &quot;&quot; Nop<br />+ &quot;Identify&quot; Pick Module FvwmIdent<br />+ &quot;Zoom&quot; Pick Exec exec xmag -source $[w.width]x$[w.height]+$[w.x]+$[w.y] -mag 2<br />+ &quot;&quot; Nop<br />+ &quot;Close&quot; Close<br />+ &quot;Destroy&quot; Destroy<br /><br />DestroyFunc FuncFvwmFocusPolicyChange<br />AddToFunc FuncFvwmFocusPolicyChange<br />+ I Style * $0<br />+ I Recapture<br /><br />DestroyFunc DestroyOnHold<br />AddToFunc DestroyOnHold I Raise<br />+ C Schedule 50 Close<br />+ H Destroy<br /><br />AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow<br /><br />AddToFunc Move-or-Raise I Raise<br />+ M Move<br />+ D WindowShade Toggle<br /><br />AddToFunc Maximize-Func M Maximize 0 100<br />+ C Maximize 0 80<br />+ D Maximize 100 100<br /><br />AddToFunc Move-or-Iconify I Raise<br />+ M Move<br />+ D Iconify<br /><br />AddToFunc Resize-or-Raise I Raise<br />+ M Resize<br />+ D Lower</div>
<div><strong>f.buttonbar设置及解释</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div>######################## FvwmButtons ButtonBar ################################<br /><br /><font color="#0000ff">#下面设定的是在我桌面的左上角的一排快捷程序按钮。其具体的样式（透明的），字体等。</font><br /><br />FvwmButtons: Hilight3DOff, HilightBack #424164, ActiveFore white<br />Colorset 0 Transparent,fg white <font color="#0000ff">#颜色</font><br />#*FvwmButtons: ShowTips<br />#*FvwmButtons: FocusFore cornsilk<br />#*FvwmButtons: NoSeparators<br />#*FvwmButtons: UseSkipList<br />*FvwmButtons: Colorset 0<br />*FvwmButtons: Foreground grey90<br />*FvwmButtons: Background #1c5572<br />*FvwmButtons: Font &quot;-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*&quot; <font color="#0000ff">#显示的字体及大小</font><br />#*FvwmButtons: Face VGradient 128 1 #2c80A0 1 #1c5572 <br />#*FvwmButtons: WindowBorderWidth 1<br />#*FvwmButtons: Window3DBorders<br />*FvwmButtons: Geometry +000 <font color="#0000ff">#显示在屏幕上的位置》（在左上角）</font><br />*FvwmButtons: Columns 8 <font color="#0000ff">#显示8个按钮</font><br />*FvwmButtons: Rows 1 <font color="#0000ff">#显示 一行</font><br />ColormapFocus FollowsFocus<br />Style FvwmButtons NoTitle,WindowListSkip,BorderWidth 1, HandleWidth 1,Sticky,\<br />StaysOnTop,CirculateSkip<br /><br /><font color="#0000ff">#下面的是具体设定了哪些程序</font><br />#*FvwmButtons: (Title (Side) &quot;&quot;, Left, Back #dedbde, Icon term.png, \ <br />Action (Mouse 1) `Exec exec xterm +sb -bg black -fg gray -fw -*-simsun-medium-r-normal-*-*-115-*-*-*-*-iso10646-1`) <br /># *FvwmButtons: (Title (Side) &quot;文件管理&quot;, Left, Back #dedbde, Icon file.png,Action (Mouse 1) `Exec exec xffm`) <br />*FvwmButoons: (TiTle (Side) &quot;Mlt&quot;, Left, Bach #dedbde,Action (Mouse 1) `Exec exec mlterm`)<br />*FvwmButtons: (Title (Side) &quot;&quot;, Left, Back #dedbde, Icon firefox.png,Action (Mouse 1) `Exec exec firefox`) <br />*FvwmButtons: (Title (Side) &quot;&quot;, Left, Back #dedbde, Icon kwrite.png,Action (Mouse 1) `Exec exec kwrite`) <br />*FvwmButtons: (Title (Side) , Left, Back #dedbde, Icon opera.png,Action (Mouse 1) `Exec exec opera`) <br />*FvwmButtons: (Title (Side) &quot;&quot;, Left, Back #dedbde, Icon xmms.png,Action (Mouse 1) `Exec exec xmms`) <br />*FvwmButtons: (Title (Side) &quot;&quot;, Left, Back #dedbde, Icon gimp.png,Action (Mouse 1) `Exec exec gimp-2.0`) <br />#*FvwmButtons: (Title (Side) &quot;运行&quot;, Left, Back #dedbde, Icon run.png,Action (Mouse 1) `Exec exec grun`) <br />#*FvwmButtons: (Title (Side) &quot;锁屏&quot;, Left, Back #dedbde, Icon lock.png,Action (Mouse 1) `Exec exec xscreensaver-command --lock`) <br />*FvwmButtons: (Title (Side) &quot;重启&quot;, Left, Back #dedbde, Icon reload.png,Action (Mouse 1) `Restart`) <br />*FvwmButtons: (Title (Side) &quot;退出&quot;, Left, Back #dedbde, Icon exit.png,Action (Mouse 1) `Quit`)</div>
<div><strong>f.taskbar设置及解释</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div>####################FvwmTaskBar任务条######################<br /><br />Style FvwmTaskBar NoTitle, WindowListSkip, CirculateSkip, Sticky, BorderWidth 1, NoHandles, StaysOnBottom <br />Style FvwmTaskBar NeverFocus, Layer 0 <br /><br />DestroyModuleConfig FvwmTaskBar: * <br />*FvwmTaskBar: Geometry -0-0 <font color="#0000ff">#位置</font><br />*FvwmTaskBar: Rows 1 <br />*FvwmTaskBar: Font -adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*<br />*FvwmTaskBar: Font &quot;-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*&quot;<br />*FvwmTaskBar: SelFont -adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-* <br />*FvwmTaskBar: Colorset 0 <br />*FvwmTaskBar: AutoStick <br />*FvwmTaskBar: UseSkipList <br />*FvwmTaskBar: PageOnly <br />*FvwmTaskBar: ShowTips <br />*FvwmTaskBar: TipsColorset 0 <br />*FvwmTaskBar: StartName Debian <font color="#0000ff">#开始按钮显示的名称。（这里是Debian，你可以换成&ldquo;开始&rdquo;字样）</font><br />*FvwmTaskBar: StartMenu MenuFvwmRoot mouse -100p -104m <br />#*FvwmTaskBar: Pixmap /home/gkp/.fvwm/image/title-active.png<br />*FvwmTaskBar: NoBrightFocus <br />*FvwmTaskBar: 3DFvwm <br />*FvwmTaskBar: MailCheck 0 <br /><font color="#0000ff">#下面五段是关于颜色的设定。（背景，黑色。字体，白色）</font><br />*FvwmTaskBar: Back #3B3B3B <br />*FvwmTaskBar: Fore white<br />*FvwmTaskBar: FocusFore cornsilk<br />*FvwmTaskBar: IconBack #3B3B3B<br />*FvwmTaskBar: IconFore white <br />*FvwmTaskBar: ClockFormat :%R %m/%d <font color="#0000ff">#右下角显示时间，日期</font><br />*FvwmTaskBar: Action Click 3 Menu MenuFvwmWindowOps mouse -1p -100m <font color="#0000ff">#点击&ldquo;开始按钮&rdquo;，菜单弹出的位置。</font><br /><br /><br /><font color="#0000ff">#在任务条上显示的快捷程序。</font><br />#*FvwmTaskBar: MailCommand Exec exec rxvt -e mutt<br />#*FvwmTaskBar: Button NoTitle , Icon home.png, Action (Mouse 1) Exec exec kfmclient openURL $HOME<br />*FvwmTaskBar: Button NoTitle , Icon mplayer.png, Action (Mouse 1) Exec exec gmplayer<br />*FvwmTaskBar: Button NoTitle , Icon xmms.png, Action (Mouse 1) Exec exec xmms<br />#*FvwmTaskBar: Button NoTitle , Icon stardict.png, Action (Mouse 1) Exec exec stardict<br />*FvwmTaskBar: Button NoTitle , Icon ark.png, Action (Mouse 1) Exec exec ark<br />*FvwmTaskBar: Button NoTitle , Icon gimp.png, Action (Mouse 1) Exec exec gimp</div>
<div><strong>f.pager</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div>########### FvwmPager虚拟桌面#################<br /><br /><font color="#0000ff">#这是在我桌面右上角的，虚拟桌面切换器。</font><br /># FvwmPager<br />#Style FvwmPager HandleWidth 3, BorderWidth 3<br />#SetEnv FvwmPager-Width &quot;223&quot;<br />SetEnv FvwmPagerDesktops &quot;8&quot; <font color="#0000ff">#我设了8个虚拟的桌面</font><br /><br />PipeRead &quot;echo SetEnv FvwmPager-Width \&quot;$[28*$FvwmPagerDesktops]\&quot;&quot;<br />PipeRead &quot;echo *FvwmPager: Geometry $[FvwmPager-Width]x24--1+-1&quot; <font color="#0000ff">#&ldquo;X24&rdquo;是指它显示的大小是24象素。&ldquo;-1+-1&rdquo;是它显示在屏幕上的位置。（在右上角）</font><br /><br />FvwmPager: Hilight3DOff, HilightBack #424164, ActiveFore white<br />Colorset 0 Transparent,fg white <font color="#0000ff">#颜色</font><br />*FvwmPager: MiniIcons<br />*FvwmPager: Font none<br />#*FvwmPager: Maximize 100 -30p<br />#*FvwmPager: AutoHide 1<br />*FvwmPager: WindowBorderWidth 1<br />*FvwmPager: Window3DBorders<br />*FvwmPager: ShowTips<br />*FvwmPager: FocusFore cornsilk<br />#*FvwmPager: NoSeparators<br />*FvwmPager: UseSkipList<br />*FvwmPager: Colorset * 41 <font color="#0000ff">#前景色</font><br />*FvwmPager: HilightColorset * 42 <font color="#0000ff">#背景色</font><br />#*FvwmPager: Foreground grey90<br />#*FvwmPager: Background #1c5572<br />*FvwmPager: WindowColorsets $[cs-panel-wininactive] $[cs-panel-winactive]<br />#*FvwmPager: Face VGradient 128 1 #2c80A0 1 #1c5572<br /><br />Style FvwmPager NoTitle,WindowListSkip,BorderWidth 1, HandleWidth 1,Sticky,\<br />StaysOnTop,CirculateSkip<br />#Style FvwmPager Sticky, NeverFocus, WindowListSkip, FixedPosition, \<br />FixedSize, StaysOnBottom, Handles, BorderWidth 1, HandleWidth 1, \<br />NoTitle, NoIcon, Colorset $[cs-panel-border], \<br />BorderColorset $[cs-panel-border], \<br />HilightColorset $[cs-panel-border], \<br />HilightBorderColorset $[cs-panel-border]<br /><br />#PipeRead &quot;echo DesktopSize ${FvwmPagerDesktops}x1&quot;<br />DesktopSize 8x1</div>
<div><strong>style设置及解释</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div>###########窗口样式#############<br /><br /><font color="#0000ff">#以&ldquo;style&rdquo;开头的语句，用来设置所有窗口的样式。</font><br /><br />style * Colorset 42, HilightColorset 41 # to use fg and bg <font color="#0000ff">#前景色和后景色</font><br />Style * Font &quot;-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*&quot; <font color="#0000ff">#字体</font><br />#Style * SmartPlacement, WindowShadeSteps 0, ResizeOutLine<br />Style * Button 1, Button 2, Button 4, Button 6, Button 8, GrabFocusOff <font color="#0000ff">#标题栏上显示的按钮</font><br />Style * BorderWidth 0, HandleWidth 1<br />Style * NoIcon <font color="#0000ff">#关闭窗口最小化和最大化时的动画。（如你喜欢改变窗口时的动画，就注销此句）</font><br /><font color="#0000ff">#窗口最小化时成图标时，默认放在屏幕的左侧。下句是可具体设置其放置在屏幕的位置。（这里设的是在屏幕下面）</font><br />#Style * IconBox 50 1050 1050 +15, SloppyFocus, MouseFocusClickRaises <br />Style * IndexedIconName<br />Style * MinOverlapPercentPlacement<br />Style * MinOverlapPercentPlacementPenalties 2 5 1 2 0.5 50<br />Style * ResizeOutLine<br />Style * MouseFocusClickRaises<br />Style * FocusFollowsMouse <font color="#0000ff">#所有窗口，都是鼠标移进去的时候得到键盘聚焦，鼠标移出来就失去聚焦</font><br />Style * TileCascadePlacement<font color="#0000ff"> #窗口出现的时候，先试图找一个可以放下它而不挡住其它窗口的地方，如果不行再采用层叠放置的方式</font><br />Style * DecorateTransient<br /><br /><font color="#0000ff">#对所有名字以 &quot;Fvwm&quot; 开头的窗口(一般都是 FVWM 内部的模块)的设置。</font><br /><font color="#0000ff">#它们都没有标题栏(NoTitle)，而且是sticky，也就是说即使桌面切换，它们也一直显示在屏幕上，</font><br />Style &quot;Fvwm*&quot; NoTitle, Sticky, WindowListSkip <br /><font color="#0000ff">#（BorderWidth 0）边框宽度为 0， CirculateSkip 说明当FVWM要求轮询窗口进行批量操作时，这些窗口不被计算在内</font><br />Style &quot;Fvwm*&quot; BorderWidth 0, CirculateSkipIcon, CirculateSkip <br /><font color="#0000ff">#下面3行说明 FvwmPager, FvwmBanner ,FvwmButtons这3个模块一直显示在最上面,不被其他窗口覆盖。</font><br />#Style &quot;FvwmPager&quot; StaysOnTop<br />#Style &quot;FvwmBanner&quot; StaysOnTop<br />#Style &quot;FvwmButtons&quot; StaysOnTop,ClickToFocus<br /><br /><font color="#0000ff">#下面是说明对于像&ldquo;XMMS&rdquo;等程序不添加标题栏。（XMMS自己有标题栏）</font><br />#Style gaim NoTitle, EwmhMiniIconOverride<br />Style xmms NoTitle<br />Style xine NoTitle<br /><br /><font color="#0000ff">#使用png图片装饰标题栏。</font><br />#AddToFunc StartFunction <br />#+ I Exec fvwm-root -r $HOME/wallpapers/sea.png <br /><br /><font color="#0000ff">#下面是定义了窗口使用的色彩。（其中41和42号是透明）其他文件里的色彩设定，我都用下面的号码表记。</font><br />#Colorset 0 fg #ffffff, fgsh #000000, bg #f6f6f6, sh #4bba43, hi #91b6db, Translucent #283e5e 80<br />Colorset 0 fg #ffffff, fgsh #000000, bg #f6f6f6, sh #6e90b3, hi #91b6db, Translucent #283e5e 80<br />Colorset 1 fg #000000, fgsh #b5b7b8, bg #ffffff, hi #ffffff, sh #9a9a9a, Translucent #dce0e7 70<br />Colorset 3 fg #9aafbf, bg #000000, fgsh #000000, NoShape, RootTransparent, Tint #283e5e 70<br />Colorset 4 fg #ffffff, bg #000000, fgsh #000000, Noshape, RootTransparent, Tint #101f36 70<br />Colorset 41 RootTransparent buffer, fg white, bg average, Tint cyan 15, bgTint cyan 15 # tint is optional <br />Colorset 42 RootTransparent buffer, fg white, bg average, Tint blut 15, bgTint blut 15 # tint is optional <br /><br /><font color="#0000ff">#下面是透明的实现。如不使用透明，把下面的注销。 </font><br /># Style * Colorset 41, HilightColorset 42 # to use fg and bg <br />BorderStyle Inactive Colorset 42 -- flat <br />BorderStyle Active Colorset 41 -- flat <br />TitleStyle AllInactive Colorset 42 -- flat <br />TitleStyle AllActive Colorset 41 -- flat <br />#ButtonStyle All -- UseTitleStyle flat</div>
<div><strong>键盘，鼠标设定</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div><font color="#0000ff">#我的设定很简单，其具体的含义请看王哏的指南。</font><br /><br />#Mouse 1 R A Nop <br />Mouse 1 R A WindowList<br />Mouse 1 1 A Menu MenuFvwmWindowOps Nop <br />Mouse 1 2 A Close <br />Mouse 1 6 A Iconify <br />Mouse 1 4 A Maximize <br />Mouse 3 R A Menu MenuFvwmRoot <br />Mouse 1 T A Move-or-Raise<br />Mouse 1 I A Move-or-Iconify<br />Mouse 1 W M Move-or-Raise<br /><br />Key F1 A M Exec exec xterm<br />Key F2 A M Exec exec grun<br />Key F3 A M Module FvwmConsole -terminal rxvt<br />Key F4 A M Pick Close<br />Key X A 4 Pick Destroy<br />Key L A 4 Exec exec xscreensaver-command --lock<br />Key I A 4 All (AcceptsFocus CurrentPage !Iconic !Shaded) Thumbnail<br />Key X A CM Exec exec xmag<br />Key F4 A CM Quit<br />Key R A CM Restart</div>
<div><strong>TitleStyle设置</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div><font color="#0000ff">#简单说，fvwm在标题栏里，于设了10个按钮的位置。基本上用不完，其排列为，从左边说，1 3 5 7 9 ，从右边说2 4 6 8 0。我只设了5个位置，其中8好位置还没完成</font>。<br /><br /># 设置标题栏的<br /># FVWM上面标题栏按扭的排列是<br /># 1 3 5 7 9 0 8 6 4 2<br />TitleStyle AllActive TiledPixmap bc.xpm ( ColorSet 8 -- Flat )<br />TitleStyle AllInactive TiledPixmap bc.xpm ( ColorSet 8 -- Flat )<br />TitleStyle Height 22 -- Flat<br /><br />ButtonStyle All Simple -- UseTitleStyle<br />ButtonStyle All -- Flat<br /><br />AddButtonStyle 1 \<br />ActiveUp (Pixmap menu.png -- flat) \<br />ActiveDown (Pixmap menu.png -- flat) \<br />Inactive (Pixmap menu.png -- flat)<br /><br />AddButtonStyle 2 \<br />ActiveUp (Pixmap close.png -- flat) \<br />ActiveDown (Pixmap close.png -- flat) \<br />Inactive (Pixmap close.png -- flat)<br />AddButtonStyle 4 \<br />ActiveUp (Pixmap max.png -- flat) \<br />ActiveDown (Pixmap max.png -- flat) \<br />Inactive (Pixmap max.png -- flat)<br />AddButtonStyle 6 \<br />ActiveUp (Pixmap min.png -- flat) \<br />ActiveDown (Pixmap min.png -- flat) \<br />Inactive (Pixmap min.png -- flat)<br />AddButtonStyle 8 \<br />ActiveUp (Pixmap min.png -- flat) \<br />ActiveDown (Pixmap min.png -- flat) \<br />Inactive (Pixmap min.png -- flat)<br /><br />#按钮的样式<br />ButtonStyle 2 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat<br />ButtonStyle 6 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat<br />ButtonStyle 4 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat<br />ButtonStyle 8 Inactive Vector 4 44x44@3 44x45@3 45x45@3 44x44@3 -- Flat<br />ButtonStyle 1 Inactive Vector 4 44x44@3 44x45@3 45x45@3 44x44@3 -- Flat<br /><br />ButtonStyle 2 active Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat<br />ButtonStyle 4 active Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat<br />ButtonStyle 6 active Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat<br />ButtonStyle 8 active Vector 4 44x44@3 44x45@3 45x45@3 44x44@3 -- Flat<br />ButtonStyle 1 active Vector 4 44x44@3 44x45@3 45x45@3 44x44@3 -- Flat</div>
<div><strong>f.autohiding设置</strong> 
<hr style="color: rgb(209, 209, 225);" />

<div>######<font color="#ff0000">模块自动隐藏</font>##########<br /><br /><br /># The autohiding functions<br />AddToFunc autohide<br />+ I ThisWindow ($0) Deschedule $[w.id]<br />+ I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off<br />+ I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2<br /><br />AddToFunc autohide_hide<br />+ I Schedule $0 $[w.id] WindowShade $2<br />+ I Schedule $0 $[w.id] Deschedule $[w.id]<br /><br /># Start FvwmAuto<br />AddToFunc StartFunction<br />+ I Module FvwmAuto FvwmAutohide -menter enter_handler<br /><br /><font color="#0000ff">#下面以&quot;+ I&quot;开头的是你设定要隐藏的模块。最后一个参数&ldquo;S&rdquo;表示隐藏的方向，这里是&ldquo;向上隐藏&rdquo;。相应的参数有N, S, E, W, NW, NE, SW or SE。</font><br /># Add the windows you want to autohide<br />AddToFunc enter_handler<br />+ I autohide FvwmButtons 500 S<br />+ I autohide FvwmPager 500 S<br /># + I autohide FvwmTaskBar 500 N <font color="#0000ff">#由于taskbar（任务条）还可以在f.taskbar里设置隐藏功能，我就在这里注销了这句。</font></div></div></div></div></div></div></div></div></div></div>
		
		
		</div>]]></description>
		</item>
		    
		
		<item>
			<title>linux kit</title>
			<link>http://wildwolfgang.blog.sohu.com/96493426.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/96493426.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Sat, 9 Aug 2008 23:40:02 +0800</pubDate>
			<category>linux</category>
			<guid>http://wildwolfgang.blog.sohu.com/96493426.html</guid>
			<description><![CDATA[<p>terminal: roxterm,xterm,gnome-terminal,konsole,aterm,eterm,rxvt-unicode<br />window manager: fvwm,fvwm-crystal<br />file manager: rox-file<br />system monitor: conky,gkrellm,torsmao,gdesklet,<br />calendar: gdeskcal<br />desktop backgroud: xplanet,<br />clock: ABC,xdaliclock<br />instant messerger:pidgin,gnugadu2,kadu<br />irc:irssi,xchat,irc</p>
<p>mail:xbiff</p>
<p>cursor:xeyes,tuxeyes</p>
<p>browser:Dillo,firefox,opera</p>]]></description>
		</item>
		    
		
		<item>
			<title>links</title>
			<link>http://wildwolfgang.blog.sohu.com/96471284.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/96471284.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Tue, 12 Aug 2008 16:10:47 +0800</pubDate>
			<guid>http://wildwolfgang.blog.sohu.com/96471284.html</guid>
			<description><![CDATA[<p>=============belgium===========</p>
<p><a href="http://www.diplomatie.be/shanghai/" target="_blank">比利时驻上海大使馆</a></p>
<p><a href="http://www.vfs-be-cn.com/china/index.aspx" target="_blank">签证申请中心</a></p>
<p><a href="http://csal.studentenweb.org/" target="_blank">鲁汶心情</a></p>
<p>&nbsp;========linux============</p><a href="http://zh.wikipedia.org/wiki/Linux%E5%8F%91%E8%A1%8C%E7%89%88" target="_blank">Linux套件列表</a><p><a href="http://lamp.linux.gov.cn/jinbuguo_florilegium.html" target="_blank">金步国作品列表</a></p><p><br /></p><h1><br /></h1>]]></description>
		</item>
		    
		
		<item>
			<title>linux compress</title>
			<link>http://wildwolfgang.blog.sohu.com/93697929.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/93697929.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Fri, 4 Jul 2008 20:52:27 +0800</pubDate>
			<category>linux</category>
			<guid>http://wildwolfgang.blog.sohu.com/93697929.html</guid>
			<description><![CDATA[.tar<br />解包： tar xvf FileName.tar<br />打包：tar cvf FileName.tar DirName<br />（注：tar是打包，不是压缩！）<br />---------------------------------------------<br />.gz<br />解压1：gunzip FileName.gz<br />解压2：gzip -d FileName.gz<br />压缩：gzip FileName<br />.tar.gz<br />解压：tar zxvf FileName.tar.gz<br />压缩：tar zcvf FileName.tar.gz DirName<br />---------------------------------------------<br />.bz2<br />解压1：bzip2 -d FileName.bz2<br />解压2：bunzip2 FileName.bz2<br />压缩： bzip2 -z FileName<br />.tar.bz2<br />解压：tar jxvf FileName.tar.bz2<br />压缩：tar jcvf FileName.tar.bz2 DirName<br />---------------------------------------------<br />.bz<br />解压1：bzip2 -d FileName.bz<br />解压2：bunzip2 FileName.bz<br />压缩：未知<br />.tar.bz<br />解压：tar jxvf FileName.tar.bz<br />压缩：未知<br />---------------------------------------------<br />.Z<br />解压：uncompress FileName.Z<br />压缩：compress FileName<br />.tar.Z<br />解压：tar Zxvf FileName.tar.Z<br />压缩：tar Zcvf FileName.tar.Z DirName<br />---------------------------------------------<br />.tgz<br />解压：tar zxvf FileName.tgz<br />压缩：未知<br />.tar.tgz<br />解压：tar zxvf FileName.tar.tgz<br />压缩：tar zcvf FileName.tar.tgz FileName<br />---------------------------------------------<br />.zip<br />解压：unzip FileName.zip<br />压缩：zip FileName.zip DirName<br />---------------------------------------------<br />.rar<br />解压：rar a FileName.rar<br />压缩：r ar e FileName.rar<br /><br />rar请到：http://www.rarsoft.com/download.htm 下载！<br />解压后请将rar_static拷贝到/usr/bin目录（其他由$PATH环境变量指定的目录也可以）：<br />[root@www2 tmp]# cp rar_static /usr/bin/rar<br />---------------------------------------------<br />.lha<br />解压：lha -e FileName.lha<br />压缩：lha -a FileName.lha FileName<br />lha请到：http://www.infor.kanazawa-it.ac.jp/.../lhaunix/下载！<br />&gt;解压后请将lha拷贝到/usr/bin目录（其他由$PATH环境变量指定的目录也可以）：<br />[root@www2 tmp]# cp lha /usr/bin/<br />---------------------------------------------<br />.rpm<br />解包：rpm2cpio FileName.rpm | cpio -div<br />---------------------------------------------<br />.tar .tgz .tar.gz .tar.Z .tar.bz .tar.bz2 .zip .cpio .rpm .deb .slp .arj .rar .ace .lha .lzh <br />.lzx .lzs .arc .sda .sfx .lnx .zoo .cab .kar .cpt .pit .sit .sea<br />解压：sEx x FileName.*<br />压缩：sEx a FileName.* FileName<br />sEx只是调用相关程序，本身并无压缩、解压功能，请注意！<br />sEx请到： http://sourceforge.net/projects/sex下载！<br />解压后请将sEx拷贝到/usr/bin目录（其他由$PATH环境变量指定的目录也可以）：<br />[root@www2 tmp]# cp sEx /usr/bin/<br /><br />参考文献：Linux 文件压缩工具指南<br />（其实看帮助是最好的方法，一般各个命令都可以用&ldquo;--help&rdquo;参数得到常用使用方法！）]]></description>
		</item>
		    
		
		<item>
			<title>linux install software</title>
			<link>http://wildwolfgang.blog.sohu.com/91407755.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/91407755.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Sun, 29 Jun 2008 15:00:32 +0800</pubDate>
			<category>linux</category>
			<guid>http://wildwolfgang.blog.sohu.com/91407755.html</guid>
			<description><![CDATA[Linux程序安装方法（转）<br />首先，纠正一个大家一个错误的观念，Linux（见注释）并不是简单的配置文件加命令，它还应包括以 GPL为代表的&ldquo;人人为我，我为人人&rdquo;道德风尚（比如我们的版主义务为我们回答问题，向辛勤工作的版主们致敬！），这也是Linux在世界范围内迅猛发展 的原因。关于GPL的详细内容见 <br />&nbsp;http://www.linuxfans.org/nuke/modules.php?name=Forums&amp;file=viewtopic&amp;t=22301 <br />&nbsp;下面是正文： <br />&nbsp;<br />最近，Linux的打包方式又有了很大的发展。我希望，我的这点东西，可以涵盖主要的安装方法。一方面，可以为一些比我还菜的人，提供一些参考。 另一方面，有些帖子，直接说，什么发行版，安装什么出错。你究竟是怎么安装的，没人知道。也希望有人再提问题的时候，能够包涵足够的信息。这样，我们也好 为你解答。 <br />Linux程序安装，总的来说，可以分为两种：一是源码包，文件名一般是*.tar.gz，*.tar.bz2，*.tgz和*.tbz2是它 们相应的缩写格式；二是二进制包，一般是为特定发行版制作的，种类较多，*.rpm，*.deb，*.run，我也见过*.tbz2格式的二进制包。 <br />&nbsp;<br />我想，按照源码和二进制包的分类方法，说Linux软件的安装，会比较麻烦。因为常常是，一种发行版，有二进制包，也有源码包，讲二进制安装方法 会免不了把一个发行版的包管理机制扯碎。我们把Linux程序的安装，分为三个部分：一是通用的源码安装方法；二是通用的二进制包安装方法；三是发行版相 关的安装方法。 <br />&nbsp;<br />&nbsp;1通用源码 <br />通用源码安装，常见于这么几种清况：1你的发行版，不包括这个软件；2你的发行版包涵的这个软件的版本太旧，你希望新的工能；3你希望定制软件， 得到个性化到软件。因为，通常这种安装方法，耗时又耗力，而且对系统升级会带来一些不利的影响，新手最好三思而后行。但，同时，自己从头开使编译一个软 件，对提高Linux水平很有帮助，闲瞎之余，也可以编个玩玩。只是不要安装，或就安装在自己的目录下，玩够了就删。 <br />&nbsp;<br />1）根据你要安装的程序是否需要X支持，可以分为两类。所谓的X，就是我们在Linux上看到的图形界面。如果你是在Linux下用 firefox上网，来到Linux公社的，那么你现在看到的桌面上的所有东西都是X。跟X相对的是虚拟终端界面。按下键盘上的Alt-Ctrl-F1 （等等，先别按），你就可以看到一个黑乎乎的屏幕，它就是虚拟终端。Alt-Ctrl-F1，Alt-Ctrl-F2&hellip;&hellip;Alt-Ctrl-F6都是虚拟 终端，Alt-Ctrl-F7是图形界面。如果你要安装的程序需要X支持，那么，你就应该先安装X的开发包。不过，不要担心，一般的发行版，都会在你安装 X的同时，把X开发包安上。只是，对于debian发行版，情况有些不同。它把Linux软件分得相当细，很可能默任不安装任何开发软件包（包括X）。 <br />2）在登录到图形界面的时候，你注意一下。你的登录页是否有个Session选项，中文的是会话选项。如果有，点一下，很可能就有KDE和 Gnome。因为直接开发X程序，是比较麻烦的事情。就有了建筑在X之上的开发库，qt和gtk+。qt是KDE的开发库，gtk+是Gnome的开发 库。qt的作者呢，是Trolltech，就是生产opera浏览器的那个公司了。因为最初的qt是GPL不兼容的，所以就有了GNOME，全称是 GNU Network Object Model Environment。当然，现在在Linux平台，qt已经是GPL兼容的了。如果你想要编译KDE程序，qt库是必须安装的。gtk库包括 glib、pango、atk、gtk+四个组成部分，如果你要编译相应的软件，就必须把它们都装上。 <br />3）当然，在Linux下，还有很多的其它一些库，像libpng，libtiff等等。经常安装一个软件，找不到libxxx.so.x（经 常是这个格式），我想这是对于新手安装软件最为棘手的问题──这也是大虾常劝大家把所有开发库都装上的原因。不过，不要急，libxxx.so.x中的 xxx很可能就是相应库的名字。你可以用locate找找看，电脑上有没有相应的文件。 <br />&nbsp;代码：locate libxxx.so.x <br />如果有，切换到跟用户，打开/etc/ld.so.conf(不同的发行版，可能有所差别，gentoo就没有这个目录；看一下ldconfig 的帮助文件），看里面有没有相应文件夹的路径（或者说，里面有没有相应的目录；注意是目录，不是文件的绝对路径）。如果没有，添加，保存；再运行 ldconfig。 <br />&nbsp;感觉这种情况比较少见（除非你自己拷了其它的库。我的一个同学需要安装intel的Fortran编译器，他把它拷到/opt/下）。 <br />&nbsp;4）下面说到最关键的地方，就是编译工具。Linux下最重要的 编译工具当然是gcc，gcc包括gcc和glibc。glibc是gcc的主要c库。要想自己编译程序，当然得装（ps，自己在linux下做C练习， 也是少不了的）。还有make（怀疑其他版是否有这个软件包──debian分的太细），automake和autoconf，libtools， flex，bison。懒得介绍它们了，感兴趣的可以看一下lfs的手册，虽然不一定把lfs装一遍。公社的http://www.linuxfans.org/nuke/modules.php?name=Forums&amp;file=viewtopic&amp;t=135828 <br />&nbsp;黄嘴企鹅的http://lfs.linuxsir.org/doc/lfs6.1zh/如果，提示找不到g77，还要装g77编译器──一般人碰不到这情况。 <br />&nbsp;5）下载源码，解包，编译。代码： <br />&nbsp;tar -xzvf *.tar.gz或tar -xjvf *.tar.bz2 <br />&nbsp;(tar -xzfv *.tgz或tar -xjvf *.tbz2) <br />&nbsp;解包之后，一般生成的目录中，会有README文件或INSTALL文件，或类似的文件。按照说明，一步一步的做就行了。 <br />&nbsp;<br />&nbsp;注意：出了问题求助，最好给出电脑完整的报错信息和编译器版本（gcc -v），你的软件安装方式（源码）、版本，系统版本（如debian unstable）。 <br />&nbsp;<br />&nbsp;2通用二进制 <br />&nbsp;1）常见的是安装realplayer和nvidia的驱动。切换到根用户，代码： <br />&nbsp;chmod +x xxx.run （更改xxx.run的属性，使它能够运行） <br />&nbsp;./xxx.run （是用xxx.run的相对路径运行它） <br />&nbsp;2）rpm包，可以用rpm2targz转化为tar.gz格式，用rpm2cpio转化成cpio格式。有的file-roler也可以解开rpm文 件。deb文件可以用ar -x *.deb解开。解开后，把它们拷到你喜欢的地方。然后把相应可执行文件所在的目录（一般是个bin目录）加到自己的PATH变量中。代码： <br />&nbsp;export PATH=/xxx/xxxx/xxx/bin:$PATH <br />&nbsp;你也可以把上面的代码加到自己家目录下的.bash_profile（没有就建一个）或.bashrc中。 <br />&nbsp;3)功能强大的alien <br />正如alien的帮助文件（man alien）所说，alien是一个不断试验，不断改进中的程序。你不能通过它安装系统级的程序。alien可以在RedHat的rpm，Debian的 deb，Slackware的tgz，Solaris的pkg格式之间转换。为方便起见，不写文件括展命，统写作xxx <br />&nbsp;alien默认产生deb包 <br />&nbsp;alien xxx <br />&nbsp;制作rpm包 <br />&nbsp;alien -r xxx <br />&nbsp;制作tgz包 <br />&nbsp;alien -t xxx <br />&nbsp;产生lsp包 <br />&nbsp;alien --to-lsp xxx <br />更多详细内容请查看alien的帮助文件（&ldquo;man alien&rdquo;；顺便说一句：linux的另一种帮助文件的查看方法是info 命令；&ldquo;命令 --help&rdquo; 可以给出简单的参数说明；还一种另类办法是&rdquo;strings /路径/命令&ldquo;，可以查看命令中包含的字符串）。 <br />&nbsp;3发行版相关 <br />&nbsp;1)debian包 <br />debian下常用的软件安装方法是apt-get install xxx.deb，我想黄嘴企鹅的jhuangjiahua所谓&ldquo;用debian就像家里开超市一样&rdquo;，很大程度上就是因为apt-get安装软件方便（另 一点是debian软件包很丰富）。为了让apt-get充分发挥性能，我们必须配置好apt源。修改/etc/apt/sources.list，参考 下帖（必须注意，里面的版本新旧不同；我就是不小心用了unstable的源，不得不使用了debian unstable） <br />&nbsp;http://www.linuxfans.org/nuke/modules.php?name=Forums&amp;file=viewtopic&amp;t=84203&amp;postdays=0&amp;postorder=asc&amp;start=60 <br />&nbsp;设置代理修改/etc/apt/apt.conf（没有就建一个） <br />&nbsp;Acquire::ftp::Proxy &quot;ftp://user:pass@ip:1080&quot;; (socks proxy) <br />&nbsp;Acquire::ftp::Proxy &quot;http://user:pass@ip:8080&quot;; (http proxy) <br />&nbsp;获取当前服务器上软件包的信息（是安装升级的前提条件） <br />&nbsp;apt-get update <br />&nbsp;删除一个软件包 <br />&nbsp;apt-get remove xxx； <br />&nbsp;搜索一个软件包 <br />&nbsp;apt-cache search xxx。 <br />&nbsp;debian下，另一个功能很强的命令是dpkg。 <br />&nbsp;安装一个你自己下载的deb包 <br />&nbsp;dpkg -i xxx.deb <br />&nbsp;删除一个软件包 <br />&nbsp;dpkg -r xxx <br />&nbsp;设置一个软件包 <br />&nbsp;dpkg-reconfigure xxx（比如你的xserver-xorg，或者exim） <br />&nbsp;查寻一个软件包的状态 <br />&nbsp;dpkg --status xxx <br />&nbsp;列出安装的软件包 <br />&nbsp;dpkg -l <br />&nbsp;debian下一个比较新的包管理工具是aptitude，据说可以更好地解决依赖性问题。 <br />&nbsp;2)Fedora Core <br />&nbsp;它的包管理机制跟apt差不多（似乎Fedora也支持apt方式的升级），常见的是yum。首先是配置它的源，用搜索引擎（比如 www.sogou.com）搜索&ldquo;yum 源&rdquo;，应该能够收获不小。系统在/etc/下提供了一个yum的配置文件，先保存一个备份，然后再对它进行修改（在Linux下，修改配置文件都应该先做 备份）。我只用过一次，隐约记得上海交通大学的源不错（ftp://ftp.stju.edu.cn）。 <br />&nbsp;3）Gentoo Linux（似乎不是新手该用的，清华ftp.tsinghua.edu.cn和上海交大的源都不错） <br />&nbsp;4）Magic Linux（到Magic技术支持版寻找答案吧） <br />&nbsp;5）Mandrava（不曾用过 Embarassed） <br />&nbsp;6）华镭（祝贺公社华镭版开张） <br />&nbsp;7）RedHat <br />&nbsp;rpm是RedHat Package Manager的缩写。 <br />&nbsp;安装一个包 <br />&nbsp;rpm -ivh xxx.rpm <br />&nbsp;删除一个包 <br />&nbsp;rpm -r xxx <br />&nbsp;升级一个包 <br />&nbsp;rpm -Uvh xxx.rpm <br />&nbsp;如果要安装的包中，有一个文件已经安装，进行替换安装 <br />&nbsp;rpm -ivh xxx.rpm --replacefiles <br />&nbsp;不管依赖关系，强行安装 <br />&nbsp;rpm -ivh xxx.rpm --nodeps <br />&nbsp;不管依赖关系，强行卸载 <br />&nbsp;rpm -e xxx --nodeps <br />&nbsp;查找误删的文件 <br />&nbsp;rpm -Va <br />&nbsp;查找一个软件包在系统中安装的所有文件 <br />&nbsp;rpm -qlp xxx.rpm <br />&nbsp;列出已经安装的所有软件包 <br />&nbsp;rpm -qa <br />&nbsp;查寻一个文件属于哪个包 <br />&nbsp;rpm -qf /路径/xxx <br />&nbsp;编译一个src.rpm包 <br />&nbsp;rpmbuild --rebuild xxx.src.rpm <br />&nbsp;8）Slackware (http://slack.linuxsir.org) <br />&nbsp;9) Suse （偶没用过） <br />&nbsp;10）Ubuntu <br />&nbsp;上面所说的关于debian的apt和dpkg的东西，都完全适合ubuntu。只是现在国内的ubuntu源比较少，有上海交大的源，班图中文的源（在www.ubuntu.org.cn上，你将能获得更多信息） <br />&nbsp;http://archive.ubuntu.org.cn/ubuntu/ <br />&nbsp;http://ubuntu.cn99.com/ubuntu/ <br />&nbsp;http://debian.okey.net/ubuntu/ <br />&nbsp;ftp://linux.xjtu.edu.cn/ <br />&nbsp;注意：上面的源的写法都不能直接添在/etc/apt/sources.list（是不是叫这个名？）中。 <br />&nbsp;<br />&nbsp;注意：因为发行版和包管理工具的不同。发帖子求助时，最好能把发行版版本，并包管理工具和包管理工具的输出信息一并写上。 <br />&nbsp;<br />&nbsp;注释：Linux全称应该是GNU/Linux，真正的linux只是GNU/Linux的内核，如vmlinuz-2.4.27-2-k7；GNU/Linux赖于起动的大多都是GNU软件或GPL兼容软件；Linux内核本身也是按照GNU的GPL许可证发布的。 <br />&nbsp;<br />&nbsp;第一次写这种总结行的东西，欢迎拍砖。<br /><br />]]></description>
		</item>
		    
		
		<item>
			<title>matlab problems</title>
			<link>http://wildwolfgang.blog.sohu.com/91186729.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/91186729.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Thu, 26 Jun 2008 19:02:13 +0800</pubDate>
			<category>linux</category>
			<guid>http://wildwolfgang.blog.sohu.com/91186729.html</guid>
			<description><![CDATA[This december, I was migrating some of the nodes to Fedora Core 6.
Those machines were primarily windows 2000 nodes and serve students in
electronics during their practical classes. <br />&nbsp;&nbsp;&nbsp; An error status
was returned by the program 'xsetup', the X Window System version of
install. The following messages were written to standard error:<br />问题1：<br />/tmp/2493tmwinstall/update/bin/glnx86/xsetup:
error while loading shared libraries: libXp.so.6: cannot open shared
object file: No such fileor directory<br /><br /><font size="3">solution:</font> yum install libXp-devel<br /><br />问题2：Fixing simulink:Warning: Could not access OpenGL library <br /><br /><font size="3">solution:</font> yum install libXpm-devel mesa-libGL-devel mesa-libGLU-devel<br /><br />&nbsp;GCC 3.4 dependencies for simulink<br />[root@localhost matlab]ldd/usr/local/matlab/bin/glnx86/glren.so<br />/usr/local/matlab/bin/glnx86/glren.so<br />/usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)<br />/usr/local/matlab/bin/glnx86/glren.so:
/usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libgcc_s.so.1: version
`GCC_3.3' not found (required by /usr/lib/libstdc++.so.6)........<br /><br /><font size="3">Solution</font>: yum install compat-gcc*<br />cd /usr/local/matlab/sys/os/glnx86<br />mv libgcc_s.so.1 libgcc_s.so.1_back<br />ln -s /lib/libgcc_s.so.1 libgcc_s.so.1<br /><br />&nbsp;
问题3：broken symbolic link with simulink Part One:Can't
load'/usr/local/matlab/bin/glnx86/libmwsimulink.so': libXft.so.1:
cannot open shared object file: No such file or directory<br /><font size="3"><br />Solution</font>:<br />[root@localhost matlab]# updatedb &amp;&amp; locate libXft.so <br />/usr/lib/libXft.so<br />/usr/lib/libXft.so.2<br />/usr/lib/libXft.so.2.1.2<br />[root@localhost matlab]# ln -s /usr/lib/libXft.so.2 /usr/lib/libXft.so.1<br /><br />问
题4: broken symbolic link with simulink Part Two: Can't load
'/usr/local/matlab/bin/glnx86/libmwsimulink.so':/usr/local/matlab/bin/glnx86/libqt-mt.so.3:
undefined symbol: XftFreeTypeOpen<br /><font size="3"><br />Solution</font>:<br />&nbsp;yum install qt<br />&nbsp;mv/usr/local/matlab/bin/glnx86/libqt-mt.so.3 usr/local/matlab/bin/glnx86/libqt-mt.so.3_back<br />&nbsp;<br />ln -s /usr/lib/qt-3.3/lib/libqt-mt.so.3 /usr/local/matlab/bin/glnx86/libqt-mt.so.3<br />================<br /><p>由于Linux下Matlab的图形界面是用Java写的，所以只要搞定Java的中文显示就行了。</p>
<p>1、我Matlab2007a的JRE目录为：/opt/matlab/sys/java/jre/glnx86/jre1.5.0 请根据自己的安装目录和版本确定JRE的目录；</p>
<p>2、 $ cd /opt/matlab/sys/java/jre/glnx86/jre1.5.0/lib/fonts/；</p>
<p>3、建立目录fallback: $ mkdir fallback；</p>
<p>4、把字体复制或链接到fallback目录：<br />$ cp /media/disk/WINDOWS/Fonts/simsun.ttc fallback/ 我用的是Windows XP的simsun字体，你也可以用别的支持中文的字体；</p>
<p>5、进入fallback目录，执行 mkfontscale 命令；</p>
<p>6、将上一步生成的文件添加到 lib/fonts/fonts.dir文件中，可用以下命令完成，当然也可以用编辑器复制粘贴：<br />$ cat fallback/fonts.scale &gt;&gt; fonts.dir (注意fonts.dir应该设为可写)</p>
<p>7、至此Matlab的Java环境中文支持安装完了，接下来配置Matlab;</p>
<p>8、进入Matlab，选择 菜单 File&gt;&gt;Preferences&gt;&gt;Fonts 选择SimSun字体就行了；</p>
<p>9、如果没有相应的（我的是SimSun）字体，请把fallback下的字体加上可读属性：$ chmod a+r fallback/*</p>
<p>10、至此Matlab应该可以正常显示中文了。</p>
<p>也可以采用以下方法：</p>
<p>首先使用命令：sudo apt-install sun-java6-jre</p>
<p>来安装jre，然后在Matlab的安装路径下的文件，比如我的是：/usr/X11R6/bin/matlab7</p>
<p>文件里加入：eport MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre/</p>
然后运行MATLAB
        <br />]]></description>
		</item>
		    
		
		<item>
			<title>stardict 发音</title>
			<link>http://wildwolfgang.blog.sohu.com/90324455.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/90324455.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Tue, 17 Jun 2008 09:56:37 +0800</pubDate>
			<category>linux</category>
			<guid>http://wildwolfgang.blog.sohu.com/90324455.html</guid>
			<description><![CDATA[装好stardict后，再装上真人语音库，<br />
语音库不一定非要放到/usr/share下，只要更改首选项里的音效路径就可以了<br />
比如我的：<br />
/media/sda11/usr/share/WyabdcRealPeopleTTS/<br />
或/media/sda7/linux/ubuntusoft/WyabdcRealPeopleTTS/<br />
应该就差不多了，<br />
但我的好像哪里出了点问题，在网上找了一下，是stardict需要esd<br />
然后<br />
ls /etc/init.d/<br />
有一个esound，然后启动它，<br />
/etc/init.d/esound start<br />$ esdplay /usr/share/WyabdcRealPeopleTTS/b/boy.wav<br />sound&nbsp; esdplay<br />
再重启stardict<br />
发音正常<br />
再将它添加到启动项里<br />
rc-update add esound default<br /><br /><br />]]></description>
		</item>
		    
		
		<item>
			<title>mplayer 字幕</title>
			<link>http://wildwolfgang.blog.sohu.com/89859569.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/89859569.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Sat, 28 Jun 2008 16:07:49 +0800</pubDate>
			<category>linux</category>
			<guid>http://wildwolfgang.blog.sohu.com/89859569.html</guid>
			<description><![CDATA[<span>
先找个字体考到你的本家文件下，可以从windows那边考一个simsun.ttc，然后修改配置文件，配置文件在
<br />

<br />
1、~/.mplayer/config文件中：
<br />
font=/homer/~/simsun.ttc
<br />
subcp=cp936
<br />
2、修改~/.mplayer/gui.conf文件中：
<br />
sub_auto_load = &quot;yes&quot;
<br />
sub_unicode = &quot;yes&quot;
<br />
sub_pos = &quot;99&quot;
<br />
sub_overlap = &quot;no&quot;
<br />
sub_cp = &quot;cp936&quot;
<br />
font_factor = &quot;0.750000&quot;
<br />
font_name = &quot;/homer/~/simsun.ttc&quot;
<br />
font_encoding = &quot;unicode&quot;
<br />

<br />
字幕的大小可以通过font_text_scale 调整,3是比较合适的。
<br />
其中simsun.ttc是从windows中拷贝的宋体文件名，用其他的中文字体也可以<br /><br /></span>还有个问题，如何能把字幕调到屏幕最下端。把sub_pos 设到100只能把字幕调到图像的最下端。看片的时候一般上下两端都是黑框，如果能把字幕放到黑框里最好了，这样可以不影响观看。我试过sub_pos = &quot;110&ldquo; 到&rdquo;120&ldquo;不起作用。谁知道怎么解决么？<br /><br />vf=expand=:::::4/3:2 #如果是16:9的影片,字幕可以放在下面的黑框中<br /><span>只是第一步，我没有把字体copy过去，只是做了一个链接到了一个字体文件。无法显示正确字幕的问题是由于那个字体文件的权限问题，改了权限就好了。</span><br /><span>================<br />网上看到解决Mplayer播放srt、sub字幕乱码的方法，试了下，srt可以，效果也不错，虽然字体有点大。sub还没有试，可能还是不行，记得以前摆弄过。<br />1.srt字幕<br />要设置正确编码才行 右键菜单----属性设置----- 字幕和OSD , 在字幕一栏选择编码:简体中文(CP936),再在下面的多选框中选上&quot;unicode字幕&quot;这项. 再在 属性设置----- 字体 下 编码选 unicode . <br /><br />2.sub字幕<br />如果是vobsub格式 要将 *.avi *.sub *.idx三个文件 放于同一目录下 , 而且文件名必须相同.<br />（另外听说一种方法是对于一个sub文件里既有中文字幕又有英文字幕的情况，按j键切换语言）<br />3.关于自动加载字幕<br />把./mplayer/gui.conf里的一句 &ldquo;gui.conf&rdquo;这个文件里的一句<br />sub_auto_load='no'<br />改成了<br />sub_auto_load='yes'<br />再打开属性，每次都是允许加载字幕了。<br /></span>]]></description>
		</item>
		    
		
		<item>
			<title>gentoo 软件设置</title>
			<link>http://wildwolfgang.blog.sohu.com/88982719.html</link>
			<comments>http://wildwolfgang.blog.sohu.com/88982719.html#comment</comments>
			<dc:creator>wildwolf's</dc:creator>
			<pubDate>Sun, 1 Jun 2008 17:09:17 +0800</pubDate>
			<category>gentoo</category>
			<guid>http://wildwolfgang.blog.sohu.com/88982719.html</guid>
			<description><![CDATA[1.打开Kmail，选择设置&mdash;&mdash;配制Kmail&mdash;&mdash;帐户 有两个选项卡 &lsquo;接收&rsquo; 和 &lsquo;发送&rsquo;<br /><br />2.先来配制 &lsquo;接收&rsquo; &nbsp;
有两个选项卡，分别是 &lsquo;常规&rsquo; 、&lsquo;其它&rsquo;两项。 在 &lsquo;常规&rsquo; 下面有&lsquo;帐户名&rsquo;，随便起一个好听的名字 如Gmail.com。 &lsquo;登录名&rsquo;
就是你的Gmail邮箱的名称 如nsfself@gmail.com 。&lsquo;密码&rsquo; 就是Gmail邮箱的密码。&lsquo;主机&rsquo;
pop.gmail.com。&lsquo;端口&rsquo; 995&nbsp;&nbsp; <font face="楷体">在&lsquo;其他&rsquo;选项卡里，&lsquo;加密方式&rsquo;选择&lsquo;使用安全的ssl连接下载邮件&rsquo;，&lsquo;验证方式&rsquo;为纯文本。然后&lsquo;确定&rsquo;。 <br /><br />3.配制 &lsquo;发送&rsquo; </font><font face="楷体">在&lsquo;发
送&rsquo;选项卡里，点添加。传送方式选择&lsquo;smtp&rsquo;。然后确定。主机填写
&lsquo;smtp.gmail.com&rsquo;。端口'587'。选中，&lsquo;服务器需要验证&rsquo;。然后填入你的gmail邮件地址和密码。在&lsquo;安全&rsquo;选项卡里面，加密方式
选择&lsquo;tls&rsquo;。验证方式选择&lsquo;login&rsquo;。</font>]]></description>
		</item>
		    
		
	</channel>
</rss>
