歡迎您光臨本站 註冊首頁

Ubuntu設置指南補充

←手機掃碼閱讀     火星人 @ 2014-03-24 , reply:0

前言

  終於還是經不住「誘惑」,安裝了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

[火星人 ] Ubuntu設置指南補充已經有649次圍觀

http://coctec.com/docs/linux/show-post-135005.html