HP NC4400上使用Debian(三)

本文可自由转载,但请遵循“署名-非商业用途-保持一致”的创作共用协议。 永久链接:JoeCen's 小猫窝
-----------------------------

八、3D桌面

nc4400的显卡是intel的GM950芯片组
从下面地址看到该芯片组(950GMA)支持xgl:

http://gentoo-wiki.com/HARDWARE_Video_Card_Support_Under_XGL

intel的显卡驱动(linux版本)下载网站:

http://www.intellinuxgraphics.org/

lsmod|grep agp

有mesa,应该不需要重新安装intel gma 950的驱动了。

sources.list

deb http://www.prato.linux.it/~mnencia/debian xgl/
wget http://www.prato.linux.it/~mnencia/mnencia.asc -O- | apt-key add -

现在已经不需要安装xgl了,直接使用compiz fusion即可:
参考安装文档:

http://wiki.debian.org.hk/w/Install_Compiz_Fusion

安装

aptitude install compiz-fusion-all

DRM出错的解决方法:

export LIBGL_DEBUG=verbose
glsinfo |grep
----error--------
libGL: XF86DRIGetClientDriverName: 1.8.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i915_dri.so
aptitude install libgl1-mesa-dri

如果出现文字不能输入,不能刷新的情况,
是这样的,是少了一个命令,完整的应该是

`compiz --replace ccp &` && `emerald --replace &`

如此,就好了。

http://linuxsir.org/bbs/lastpostinthread315480.html

另外需要在/etc/X11/xorg.conf里面的'Section "Device"'段中加入

Option "XAANoOffscreenPixmaps" "true"
------------
Section "Extensions"
           Option     "Composite" "Enable"
EndSection

九、蓝牙:

双击联接时就会出现:obex://[xxx]不是有效位置,请检查拼写的错误对话框。

那怎么解决呢?

这是因为少一个gnome-vfs-obexftp包没有安装。安装这个包之后,就可以在nautilus中打开联接的蓝牙设备了。

十、翻译软件
Linux下面貌似唯一的也是支持最好的翻译软件应该就是stardict了吧。
Debian的apt里面默认有该package。
安装stardict
aptitube install stardic

http://stardict.sourceforge.net/
从网站上面下载免费的字典,按照如下步骤安装字典:
tar -xjvf a.tar.bz2
mv a /usr/share/stardict/dic

startdict有本地词典和网络词典两种,个人觉得多下一些词典在本地,只用本地词典的效果要好得多。

PS:
tsocks可以让apt-get使用socks代理,http proxy可以在apt.conf中设置。
见:http://www.joecen.com/2008/02/17/config-apt-get-use-socks-proxy/

随机日志

  • 今天更新站点了!
  • squid 2.6STABLE发布了
  • mysql加密函数
  • Linux中文件编码以及编码的转换
  • mtr命令输出的各项含义以及standard deviation
  • Leave a Reply