红联Linux门户
Linux帮助

Ubuntu设置指南补充

发布时间:2006-08-19 09:53:46来源:红联作者:iLove.Rain
前言

  终于还是经不住“诱惑”,安装了Ubuntu6.06LTS,放弃了CentOS。认识Linux一年多,基本的几种安装方法还比较熟悉,安装起来也比较容易,不熟悉的可以参考官方的安装指南,安装完毕后经过上篇的官方指南设置后,日常基本应用已经没有问题,在这里在补充两点针对个人的一点设置。

正文

  字体设置

  个人比较喜欢"文鼎 PL 新宋",因此自己手动添加fireflysung.ttf到目录“/usr/share/fonts/truetype/arphic”,执行命令
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
sudo vi /etc/fonts/language-selector.conf

更改成如下



serif

DejaVu Serif
Bitstream Vera Serif
AR PL New Sung
AR PL ShanHeiSun Uni
AR PL ZenKai Uni



sans-serif

DejaVu Sans
Bitstream Vera Sans
AR PL New Sung
AR PL ShanHeiSun Uni
AR PL ZenKai Uni



monospace

DejaVu Sans Mono
Bitstream Vera Sans Mono
AR PL New Sung
AR PL ShanHeiSun Uni
AR PL ZenKai Uni




Song
Sun
Kai
Ming


100


180


true




Song
Sun
Kai
Ming


false


0


true


false


true


12


18


false





再将本文附件中的自定义的"ttf-arphic-newsung.conf"拷贝到"/etc/fonts/conf.d"目录下


安装ATI显卡驱动

sudo apt-get install xorg-driver-fglrx
执行如下命令
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
手动修改"/etc/X11/xorg.conf"成如下
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/fonts/arphic"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "PHILIPS 107F"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
Driver "ati"
BusID "PCI:2:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
Monitor "PHILIPS 107F"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


混音设置(默认好像已经可以多个程序同时出声了)
参考官方WIKI的如何混音


更多设置...
请参考官方WIKI http://wiki.ubuntu.org.cn/


我的几个配置文件
文件: configure.tar.gz
大小: 115KB
http://www.cublog.cn/u/7654/upfile/060818231741.gz
文章评论

共有 1 条评论

  1. 童勋 于 2006-08-19 11:17:54发表:

    不错,支持