Chinaunix首页 | 论坛 | 博客
  • 博客访问: 836795
  • 博文数量: 117
  • 博客积分: 2595
  • 博客等级: 少校
  • 技术积分: 1204
  • 用 户 组: 普通用户
  • 注册时间: 2009-09-18 18:16
文章分类

全部博文(117)

文章存档

2013年(1)

2012年(2)

2011年(18)

2010年(95)

2009年(1)

分类: LINUX

2010-05-29 20:38:47

    今天抽空安装了ubuntu10.04的DVD,这DVD可比LivdCD的要好多了,至少是这拼音输入法终于和fedora一样了,很好用。。。
    然后进入ubuntu后,看到有更新,就更新了,这2010-04-29的系统,到05-30的补丁已经有近百兆大小了。更新完毕后,还有提示语言不足,让我纳闷,这可是DVD的安装的阿,居然语言还是没有完全包括,继续更新。然后就是安装了下我的显卡驱动,我的显卡是 NVIDIA MX/MX400的,适合的linux驱动是NVIDIA 96版本,安装后,又是300多的分辨率,真要命,有点怕安装显卡驱动了(谁要我这是老机器呢)。
    然后我就进入tty1,把/etc/X11/xorg.conf给备份下。删除,kill掉Xorg进程,重新进入tty7的桌面(Ctrl+Alt+F8),分辨率又到了1024*768了,然后运行/usr/bin/nvidia-settings提示要求运行sudo nvidia-xconfig这个命令,运行后,自动生成了xorg.conf,太好了,再重启Xorg,进入桌面,已经可以运行nvidia-settings了,但是 右击桌面无反应,桌面图标消失了。
    然后我sudo vim.tiny /etc/X11/xorg.conf增加了以下代码(只贴出增加的):

Section "Device"
..........
    Option    "NoLogo"    "True"
EndSection

Section "Screen"
........
    Option    "AddARGBGLXVisuals"    "True" #这个比较关键八吧
........
EndSection

Section "Module"
    Load    "glx"
EndSection


其中完整的xorg.conf贴出来,供以后使用以及方便他人查询搜索到。

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder75) Thu Apr 15 05:52:31 PDT 2010

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 30.0 - 110.0
    VertRefresh 50.0 - 150.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option    "NoLogo"    "True"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option    "AddARGBGLXVisuals"    "True"
    SubSection "Display"
        Depth 24
        Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Module"
    Load    "glx"
EndSection


3D效果出来了,并且分辨率终于OK了。。不过默认的那个xorg.conf还是挺好的,很多时候都需要它,但是我现在没有了。。。
再安装个compizconfig-settings-manager,nautilus-open-terminal,ubuntu-tweak这些常用软件ok了。。。
阅读(3337) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~