<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>{finalbug} &#187; debian</title>
	<atom:link href="http://finalbug.org/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://finalbug.org</link>
	<description>Keep it simple &#38; stupid</description>
	<lastBuildDate>Sun, 05 Feb 2012 13:27:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>debian安装nvidia官方驱动后X下不能调整屏幕亮度的解决方法</title>
		<link>http://finalbug.org/2010/05/debian%e5%ae%89%e8%a3%85nvidia%e5%ae%98%e6%96%b9%e9%a9%b1%e5%8a%a8%e5%90%8ex%e4%b8%8b%e4%b8%8d%e8%83%bd%e8%b0%83%e6%95%b4%e5%b1%8f%e5%b9%95%e4%ba%ae%e5%ba%a6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9/</link>
		<comments>http://finalbug.org/2010/05/debian%e5%ae%89%e8%a3%85nvidia%e5%ae%98%e6%96%b9%e9%a9%b1%e5%8a%a8%e5%90%8ex%e4%b8%8b%e4%b8%8d%e8%83%bd%e8%b0%83%e6%95%b4%e5%b1%8f%e5%b9%95%e4%ba%ae%e5%ba%a6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9/#comments</comments>
		<pubDate>Thu, 27 May 2010 12:59:19 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[ArchLinux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://www.finalbug.org/?p=1026</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>环境：Thinkpad T410 ＋ debian lenny 5.04 ＋ linux-kernel-2.6.32-3，安装nvidia官方驱动后，不能在gnome中调整显示器亮度。</p>
<p>一种取巧的解决方法：</p>
<ol>
<li>ctrl ＋ alt ＋ F1，进入命令行；</li>
<li>通过快捷键调整亮度；</li>
<li>ctrl ＋ alt ＋ F7，回到X。</li>
</ol>
<p>比较好用的解决方法：</p>
<p>把下面配置加到xorg.xonf中的device项里，重启：</p>
<p>[code language="powershell"]Option "RegistryDwords" "EnableBrightnessControl=1"[/code]</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
2010年9月14日补充，现在系统改为archlinux，这个设置目前看来无效，没有找到更好的办法，但是如果启动nvidia setting以后就可以设置了。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
2011年4月24日补充，archlinux下如果使用nvidia的闭源驱动，依旧可以使用第一种方式，第二种方式无效。如果使用nouveau开源驱动，则有效。</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2010/05/debian%e5%ae%89%e8%a3%85nvidia%e5%ae%98%e6%96%b9%e9%a9%b1%e5%8a%a8%e5%90%8ex%e4%b8%8b%e4%b8%8d%e8%83%bd%e8%b0%83%e6%95%b4%e5%b1%8f%e5%b9%95%e4%ba%ae%e5%ba%a6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>最近几天在T410上安装debian的记录</title>
		<link>http://finalbug.org/2010/05/%e6%9c%80%e8%bf%91%e5%87%a0%e5%a4%a9%e5%9c%a8t410%e4%b8%8a%e5%ae%89%e8%a3%85debian%e7%9a%84%e8%ae%b0%e5%bd%95/</link>
		<comments>http://finalbug.org/2010/05/%e6%9c%80%e8%bf%91%e5%87%a0%e5%a4%a9%e5%9c%a8t410%e4%b8%8a%e5%ae%89%e8%a3%85debian%e7%9a%84%e8%ae%b0%e5%bd%95/#comments</comments>
		<pubDate>Thu, 20 May 2010 12:05:02 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Thinkpad]]></category>

		<guid isPermaLink="false">http://www.finalbug.org/wp/?p=977</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>又一次严重晚于计划的睡觉时间。用了三天时间没有搞定T410上的显示问题，已经有换成使用ubuntu的念头了。不过却在今天晚上，洗漱完毕准备睡觉，在手指刚碰到关机键的一瞬间开窍，piapia几分钟搞定，并将这几天的经过记录如下。</p>
<p>T410回家之后，首先是用debian 5.01的netinst盘安装，以太和无限网卡均不能找到，很郁闷，于是安装ubuntu 10.04，运行正常，说明不是linux不支持硬件的问题。</p>
<p>之后用了2天的时间，下载了完整的debian 5.04 DVD安装盘，共24G，结果发现问题依旧。</p>
<p>在网上找到一个custom的ISO：http://kmuto.jp/debian/d-i/，下载custom的ISO（似乎就是将debian的默认安装盘的内核改成最新的），安装，正常，以太和无线网卡均正常工作。</p>
<p>然后进入gnome，发现分辨率被锁定在1024＊768，这让整个屏幕看起来很畸形。但是用了很多办法都没有能搞定。对linux内核http://kmuto.jp/deban/d-i/编译不熟悉，2天没有进展。突然想到似乎原因出在定制版的ISO的版本号上面。虽然应该是可以修改的，但是我不会，于是将源改为testing，然后安装2.6.32的内核，然后安装gcc4.3，然后安装nvidia驱动。成功。</p>
<p>基本步骤如下：</p>
<ol>
<li>通过apt安装linux-image 2.6.32，然后重启进入新内核；</li>
<li>下载nvidia驱动，我是在nvidia官网下载的64位linux驱动；</li>
<li>/etc/init.d/gdm stop</li>
<li>export CC=/etc/bin/gcc-4.3。因为内核是这个版本的gcc编译的，所以得指定gcc版本；</li>
<li>sh NVIDIA******.run</li>
</ol>
<p>完成，都不用重启系统，直接gdm start就可以看到大大的nvidia标志了。</p>
<p>补充，安装驱动之前需要安装一些工具：</p>
<p>[bash]apt-get install make gcc gcc-4.3 linux-headers* -y[/bash]</p>
<p>gcc版本和内核版本相同，如果不清楚会在安装驱动的时候提示。</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2010/05/%e6%9c%80%e8%bf%91%e5%87%a0%e5%a4%a9%e5%9c%a8t410%e4%b8%8a%e5%ae%89%e8%a3%85debian%e7%9a%84%e8%ae%b0%e5%bd%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian, dropbox, and more</title>
		<link>http://finalbug.org/2010/05/debian-dropbox-and-more/</link>
		<comments>http://finalbug.org/2010/05/debian-dropbox-and-more/#comments</comments>
		<pubDate>Wed, 12 May 2010 12:07:54 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.finalbug.org/wp/?p=979</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>将debian下的chrome升级到最新的beta版本以后，终于能够同步了。这问题也着实奇怪，PC上的debian还存在的时候，s10和PC上的安装配置完全一样，但是PC上的chrome可以同步，s10上的就不可以。</p>
<p>dropbox终于还是惨遭毒手，时间是2010年5月11日。我已经不记得以前那些受到邪恶组织迫害的牺牲者逝去的日子了，而我也终将不会再记得dropbox的忌日，有太多的人和事将逝去，而只要他们存在一天，这样的事情就不会停止。</p>
<p>关于adobe，flash，apple和html5的争吵似乎已经愈演愈烈，而目前有很多的公司和组织站在html5的一边。其实关于flash这一点，我?是很早就已经开始反感的。因为即便是flex SDK开源之后，我要在linux平台下开发和使用flex，flash都显得非常的不友好。虽然一直看好RIA的概念，但是却始终对swf平台颇有不满。而现在我想我已经有了更好的选择，放弃swf平台是迟早的事情，不在于apple是否接受flashplayer，也不在于adobe是否开放flash——只在于我自己的选择。这一次我站在adobe的对面。</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2010/05/debian-dropbox-and-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bye, WOW</title>
		<link>http://finalbug.org/2010/05/bye-wow-2/</link>
		<comments>http://finalbug.org/2010/05/bye-wow-2/#comments</comments>
		<pubDate>Thu, 06 May 2010 12:09:50 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[WOW]]></category>
		<category><![CDATA[游戏]]></category>

		<guid isPermaLink="false">http://www.finalbug.org/wp/?p=981</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>一次没有保住PC上的debian，为了安装lives，冒然的将源改为unstable，结果不知道是什么原因，直接把gnome给删除了，xfce也不能很正常运行。后来虽然修改了一些，但是始终无法恢复，对X也不太熟悉，折腾了半天恢复不过来。想想接下来的一段日期也没有时间来折腾了，便干脆删掉了PC上的debian。腾出500G的空间放那一大堆杂七杂八的东西。等下半年，如果有机会入手小黑，加上有更多的时间了，再来折腾。</p>
<p>前几天终于暂停了27net的代理，还剩下4个月的时间，如果国服还有机会开WLK和CTM，还可以继续开通上去逛逛，不过现在看来已经没有时间继续玩WOW了。重新制定了EVE的季卡，有空就上去打飞机吧。:)</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2010/05/bye-wow-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一些HTML5的例子</title>
		<link>http://finalbug.org/2010/04/%e4%b8%80%e4%ba%9bhtml5%e7%9a%84%e4%be%8b%e5%ad%90-2/</link>
		<comments>http://finalbug.org/2010/04/%e4%b8%80%e4%ba%9bhtml5%e7%9a%84%e4%be%8b%e5%ad%90-2/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 12:13:20 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.finalbug.org/wp/?p=985</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>最近一直在关注HTML5相关的东西。除了很早就知道的video、canvas、websocket之类的东西外，原来还有很多非常让人震惊的东西。我想我应该更多的关注这个据说要2022年才会正式发布的技术。关于Flash RIA和HTML5之间的关系和取舍，我也需要更仔细的考虑一下了。</p>
<p>留几个网站。</p>
<p><a href="http://paulirish.com/work/gordon/demos/" target="_top">http://paulirish.com/work/gordon/demos/</a><br />
<a href="http://mrdoob.com/projects/chromeexperiments/google_gravity/" target="_top">http://mrdoob.com/projects/chromeexperiments/google_gravity/</a><br />
<a href="http://balldroppings.com/js/" target="_top">http://balldroppings.com/js/</a><br />
<a href="http://mrdoob.com/projects/chromeexperiments/ball_pool/" target="_top">http://mrdoob.com/projects/chromeexperiments/ball_pool/</a><br />
<a href="http://internetris.net/" target="_top">http://internetris.net/</a><br />
<a href="http://www.canvasdemos.com/2009/04/03/colorscube/" target="_top">http://www.canvasdemos.com/2009/04/03/colorscube/</a></p>
<p>以上网站建议使用<a href="www.google.com/chrome" target="_top">chrome浏览器</a>运行。</p>
<p>－－－－－－－－</p>
<p>终于还是在家里的PC机上安装了debian。机器上有2快硬盘，一块320G，一块500G，500G的硬盘是当初买来装下载的电影的。后来下载了180G的MJ的MV和演唱会、等等一堆东西。前几天一直忙着将这些东西从500G的硬盘上清理出去。昨天终于清理完成，于是在线安装了debian。在s10上运行的是debian＋xfce，在PC上装上了gnome。如果用不习惯了再换回去。hehe～</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2010/04/%e4%b8%80%e4%ba%9bhtml5%e7%9a%84%e4%be%8b%e5%ad%90-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作GDM的登陆界面</title>
		<link>http://finalbug.org/2009/07/%e5%88%b6%e4%bd%9cgdm%e7%9a%84%e7%99%bb%e9%99%86%e7%95%8c%e9%9d%a2/</link>
		<comments>http://finalbug.org/2009/07/%e5%88%b6%e4%bd%9cgdm%e7%9a%84%e7%99%bb%e9%99%86%e7%95%8c%e9%9d%a2/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 05:49:23 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[GDM]]></category>

		<guid isPermaLink="false">http://finalbug.org/?p=905</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>想给自己的s10上的debian做一个自己的登陆界面，我使用的是GDM，因此只做针对GDM的。</p>
<p>因为不知道如何在登陆界面上截屏，因此用手机照了一个登陆的屏幕。效果如下：</p>
<div id="attachment_922" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-922" title="sc" src="http://finalbug.org/wp-content/uploads/2009/07/sc.jpg" alt="sc" width="500" height="322" /><p class="wp-caption-text">s10上的debian登陆主题界面</p></div>
<p>图上的脚印是我上次去三亚在海边拍的自己的脚印。o(∩_∩)o~~<span id="more-905"></span></p>
<p>这个主题界面是我从一款名为ubuntu-sky的主题上进行修改得到的，ubuntu-sky的下载地址：<a href="http://finalbug.org/wp-content/uploads/2009/07/75158-ubuntu-sky.tar.gz">75158-ubuntu-sky.tar [447K]</a></p>
<p>我很想自己设计一个主题，但是我设计水平有限，只能设计成下面这个样子：</p>
<div id="attachment_923" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-923" title="myfoot" src="http://finalbug.org/wp-content/uploads/2009/07/myfoot.jpg" alt="自己设计的debian登陆主题" width="500" height="292" /><p class="wp-caption-text">自己设计的debian登陆主题</p></div>
<p>看了看，还是觉得不好看，于是决定还是修改别人的来得快。</p>
<p><strong>GDM主题包的文件</strong>主要有如下几个：</p>
<ol>
<li>GdmGreeterTheme.desktop，这个文件是主文件，定义了主题包的属性等。</li>
<li>一个XML文件，定义登陆界面的显示属性</li>
<li>若干图片文件</li>
</ol>
<p><strong>先说说GdmGreeterTheme.desktop文件</strong>。这个文件的格式如下：</p>
<p>[code]<br />
[GdmGreeterTheme]<br />
Encoding=UTF-8<br />
Greeter=myfoot.xml<br />
Name=Foot<br />
Description=FinalBug's Foot<br />
Author=Finalbug<br />
Copyright=GPL<br />
Screenshot=screenshot.jpg<br />
[/code]</p>
<ol>
<li>Encoding：编码格式，一般用UTF-8</li>
<li>Greeter：使用的界面定义XML文件</li>
<li>Name：主题的名称，会显示在主题面板上</li>
<li>Description：主题的描述</li>
<li>Author：主题作者</li>
<li>Copyright：主题的版权信息，可以写Copyright(c)2009 xxxx什么的</li>
<li>Screenshot：截屏的图片</li>
</ol>
<p>上面的这些内容都是显示在登陆主题安装面板上的。例如我的主题安装了以后，显示是这样的：</p>
<div id="attachment_928" class="wp-caption aligncenter" style="width: 518px"><a href="http://finalbug.org/wp-content/uploads/2009/07/setting.jpg"><img src="http://finalbug.org/wp-content/uploads/2009/07/setting.jpg" alt="Foot主题安装界面" title="setting" width="508" height="371" class="size-full wp-image-928" /></a><p class="wp-caption-text">Foot主题安装界面</p></div>
<p>另外，每一项都是分语言来描述，例如Name一项，如果想在中文系统中显示“我的足迹”，其他系统语言下显示“Foot”，可以这样来写：</p>
<p>[code]<br />
Name[zh_CN]=我的足迹<br />
Name=Foot<br />
[/code]</p>
<p><strong>接下来需要修改myfoot.xml文件</strong>，这个文件定义了很多显示的属性，没有在网上找到完整的参数说明，因此我只能估摸着进行修改和图片更换，这里不记录了。</p>
<p><strong>最后，将文件打包成tar.gz</strong>，在登陆窗口设置面板中直接安装使用即可。</p>
<p>另外，在这个过程中我遇到一个问题，有一次修改我不小心将输入窗口给删除掉了，因此进入到登陆界面的时候，没有输入用户名和密码的地方，只有一张图片，让我在这里愣了好一会不知道怎么办，后来我是这样解决的：</p>
<ol>
<li>按ctrl+1，进入另外一个终端的命令行界面。</li>
<li>打开/etc/gdm/下的gdm配置文件，将其中的Theme选项改为另外一个。因为我不记得其他的theme了，便乱打一串字符。</li>
<li>重启X，会提示我找不到theme，会打开默认的登陆主题；</li>
<li>登陆以后修改theme。</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2009/07/%e5%88%b6%e4%bd%9cgdm%e7%9a%84%e7%99%bb%e9%99%86%e7%95%8c%e9%9d%a2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>64位debian运行32位程序</title>
		<link>http://finalbug.org/2009/07/64%e4%bd%8ddebian%e8%bf%90%e8%a1%8c32%e4%bd%8d%e7%a8%8b%e5%ba%8f/</link>
		<comments>http://finalbug.org/2009/07/64%e4%bd%8ddebian%e8%bf%90%e8%a1%8c32%e4%bd%8d%e7%a8%8b%e5%ba%8f/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 22:44:58 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://finalbug.org/?p=895</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>需要安装ia32-libs和ia32-libs-gtk两个包。</p>
<p>通过apt-get安装成功以后，可以运行32位程序，但是32位程序的deb安装包依旧无法运行。</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2009/07/64%e4%bd%8ddebian%e8%bf%90%e8%a1%8c32%e4%bd%8d%e7%a8%8b%e5%ba%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian安装Trac</title>
		<link>http://finalbug.org/2009/07/debian%e5%ae%89%e8%a3%85trac-2/</link>
		<comments>http://finalbug.org/2009/07/debian%e5%ae%89%e8%a3%85trac-2/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 05:52:00 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://finalbug.org/?p=890</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>之前已经多次在ubuntu上安装trac，但是还没有在debian上安装过。今天开始在debian上安装，按照之前的经验，<a href="http://finalbug.org/?p=523">在ubuntu上安装trac</a>，其他一切都好，但是在打开trac页面的时候总是出现500错误，查看log也是一头雾水，看不明白。后来在Trac的官网上瞎逛，发现这个：<a href="http://trac.edgewall.org/wiki/TracOnDebian">TracOnDebian</a>，原来在debian上安装trac是不需要通过easy_install的，直接apt-get，很方便。</p>
<p>另外，这次直接通过在httpd.conf中添加location来增加的路径，记录一下：</p>
<p>[code language="powershell"]<br />
<Location /project/svn><br />
    DAV svn<br />
    SVNPath /var/lib/svn/project<br />
    AuthType Basic<br />
    AuthName "Project SVN LOGIN"<br />
    AuthUserFile /path/to/htpasswd/file<br />
    AuthzSVNAccessFile /var/lib/svn/project/conf/authz<br />
    Require valid-user<br />
</Location><br />
<Location /project/trac><br />
    SetHandler mod_python<br />
    PythonInterpreter main_interpreter<br />
    PythonHandler trac.web.modpython_frontend<br />
    PythonOption TracEnv /var/lib/trac/project<br />
    PythonOption TracUriRoot /project/trac<br />
</Location><br />
<LocationMatch "/project/login"><br />
    AuthType Basic<br />
    AuthName "Trac login"<br />
    AuthUserFile /path/to/htpasswd/file<br />
    Require valid-user<br />
</LocationMatch><br />
[/code]</p>
<p>重新通过apt-get安装了trac之后，再通过trac-admin create创建trac环境，运行一切正常。不知道是不是因为安装的trac的问题呢？</p>
<p>现在的问题是，通过easy_install安装的trac，怎么才能彻底的删除掉？我只能直接删除/usr/lib/python2.5/site-packages下的Trac的egg文件，但是其他的trac文件还会有吗？</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2009/07/debian%e5%ae%89%e8%a3%85trac-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian 普通用户关机</title>
		<link>http://finalbug.org/2009/04/debian-%e6%99%ae%e9%80%9a%e7%94%a8%e6%88%b7%e5%85%b3%e6%9c%ba-2/</link>
		<comments>http://finalbug.org/2009/04/debian-%e6%99%ae%e9%80%9a%e7%94%a8%e6%88%b7%e5%85%b3%e6%9c%ba-2/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 09:15:00 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://finalbug.org/?p=694</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>这是前段时间遇到的一个问题，解决了以后没有记录下来。今天在一个linux论坛上看到这个问题，记录一下，备忘。</p>
<p>按照默认方式安装的debian5+xfce4，安装完成以后，普通用户没有关机的权限，只能注销。</p>
<p>其实这是一个对我来说没有多大意义的设定，因为我可以注销以后再执行关闭机器。这个限制可能只适用于远程登陆的情况，注销以后不能执行命令，便可以限制普通用户关闭或重启机器。</p>
<p>要普通用户能本机拥有关机权限（实际上是电源控制权限），将用户添加到powerdev组即可：</p>
<p>[code collapse="false"]<br />
gpasswd -a username powerdev.<br />
[/code]</p>
<p>就这么简单。o(∩_∩)o</p>
<p>另外，今天看到ubuntu出了针对netbook的版本，<a href="http://www.ubuntu.com/getubuntu/download-netbook">ubuntu 9.04 netbook remix</a>，看起来很诱人的样子，界面也是我挺喜欢的类型（说实话我现在用的xface样子真的有点丑）。考虑一下，暂时还是不换吧，debian+xfce虽然比较丑，也懒得去配置，但是用起来很顺手，继续用。</p>
<p>不过还是颇激动的，虽然不是一个职业的linux玩家，但是看到linux的各种衍生版越做越好，挺好~</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2009/04/debian-%e6%99%ae%e9%80%9a%e7%94%a8%e6%88%b7%e5%85%b3%e6%9c%ba-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian无线网卡驱动</title>
		<link>http://finalbug.org/2009/04/debian%e6%97%a0%e7%ba%bf%e7%bd%91%e5%8d%a1%e9%a9%b1%e5%8a%a8/</link>
		<comments>http://finalbug.org/2009/04/debian%e6%97%a0%e7%ba%bf%e7%bd%91%e5%8d%a1%e9%a9%b1%e5%8a%a8/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 07:53:41 +0000</pubDate>
		<dc:creator>Tang Bin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://www.finalbug.org/?p=538</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>想使用b43来驱动，失败，我的网卡是4515的，不在b43驱动列表里面。所以还是使用ndiswrapper。</p>
<p>b43参考：<a href="http://linuxwireless.org/en/users/Drivers/b43">http://linuxwireless.org/en/users/Drivers/b43</a><br />
很详细。</p>
<p>记录使用ndiswrapper步骤如下：</p>
<ol>
<li>apt安装ndiswrapper，可以将sources一起安装了；</li>
<li>apt安装module-assistant；</li>
<li>运行module-assistant，SELECT选择ndiswrapper，然GET，BUILD，INSTALL；</li>
<li>找到驱动文件（我的是inf文件），运行:[code]ndiswrapper -i xxxx.inf[/code]</li>
<li>加载ndiswrapper:[code]ndiswrapper -m<br />
modprobe ndiswrapper[/code]</li>
</ol>
<p>完成。用NetworkManager或者iwconfig配置网卡。</p>
]]></content:encoded>
			<wfw:commentRss>http://finalbug.org/2009/04/debian%e6%97%a0%e7%ba%bf%e7%bd%91%e5%8d%a1%e9%a9%b1%e5%8a%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

