ubuntu全程配置手册2

11. 改进输入法:

代码:
   
   
sudo apt-get install scim-bridge
sudo vi /etc/X11/xinit/xinput.d/zh_CN


将 GTK_IM_MODULE=scim 修改为 GTK_IM_MODULE="scim-bridge";
将 QT_IM_MODULE=scim 修改为 QT_IM_MODULE="xim"

12. 安装LumaQQ:

代码:
   
   
cd;mkdir tmp;cd tmp
wget -c http://download.ubuntu.org.cn/software/lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz
sudo tar zxvf lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz -C /opt/
wget -c http://download.ubuntu.org.cn/software/lumaqq_2005_patch_2006.02.02.15.00.zip
sudo unzip -o lumaqq_2005_patch_2006.02.02.15.00.zip -d /opt/LumaQQ/lib
sudo chown -R root:root /opt/LumaQQ/
sudo chmod -R 755 /opt/LumaQQ/
sudo vi /usr/share/applications/LumaQQ.desktop


添加如下行:

代码:
   
   
[Desktop Entry]
Name=LumaQQ
Comment=QQ Client
Exec=/opt/LumaQQ/lumaqq
Icon=/opt/LumaQQ/QQ.png
Terminal=false
Type=Application
Categories=Application;Network;


你可以在 应用程序 - Internet - LumaQQ 打开LumaQQ

13. 安装播放器:

代码:
   
   
sudo apt-get install beep-media-player totem-xine w32codecs libxine-extracodecs mplayer banshee


14. 安装StarDict:

代码:
   
   
sudo apt-get install stardict stardict-common stardict-cdict-gb stardict-cedict-gb stardict-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-gb stardict-xdict-ec-gb


15. 安装浏览器Flash插件:

代码:
   
   
sudo apt-get install flashplugin-nonfree


16. 安装Downloader for X,BT和aMule

代码:
   
   
sudo apt-get install d4x azureus amule


17. 配置alsa:

代码:
   
   
sudo apt-get install alsa-oss
sudo vi /etc/asound.conf


添加如下内容:

代码:
   
   
pcm.card0 {
  type hw
  card 0
}

pcm.!default {
  type plug
  slave.pcm "dmixer"
}

pcm.dmixer {
  type dmix
  ipc_key 1025
  slave {
    pcm "hw:0,0"
    period_time 0
    period_size 1024
    buffer_size 4096
    periods 128
    rate 44100
  }
  bindings {
    0 0
    1 1
  }
}


修改ESD配置文件:

代码:
   
   
sudo vi /etc/esound/esd.conf


改成如下:

代码:
   
   
[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options=

让Mozilla/Firefox也能出声:

代码:
   
   
sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1


如果LumaQQ独占声卡,可以编辑/usr/share/applications/LumaQQ.desktop,修改Exec=/opt/LumaQQ/lumaqq 为 Exec=aoss /opt/LumaQQ/lumaqq

18. 配置字体(两种方法任选):

(方法一、黑体)

下载msttcorefonts.tar.gz和sthei.ttf.gz(到这里下载,在Linux目录下)

代码:
   
   
tar zxvf msttcorefonts.tar.gz
gunzip sthei.ttf.gz
sudo mkdir /usr/share/fonts/custom
sudo mv msttcorefonts/ /usr/share/fonts/custom
sudo mkdir /usr/share/fonts/custom/cn
sudo mv sthei.ttf /usr/share/fonts/custom/cn
sudo chown -R root:root /usr/share/fonts/custom/
sudo chmod -R 755 /usr/share/fonts/custom/
sudo fc-cache


设置黑体为系统首选中文字体:

代码:
   
   
sudo vi /etc/fonts/language-selector.conf


在<family>Bitstream Vera Sans</family>行下面添加:

代码:
   
   
<family>STHeiti</family>


保存,退出。

系统 -首选项 - 字体:
设置所有非等宽字体为 Bitstream Vera Sans 10号,其中窗口标题字体设置为粗体。
等宽字体设置为Courier 10 Pitch,在AA时,Courier 10 Pitch比Courier New字体更清楚。
在“字体渲染”中,选择“细节”,“平滑”设置为“灰度”,“微调”设置为“无”。

打开firefox,设置firefox字体(编辑 -首选项 - 内容 - 字体和颜色部分,选择“高级”):

语言编码:简体中文
比例字体:无衬线字体 大小:16
衬线字体:Bitstream Vera Serif
无衬线字体:Bitstream Vera Sans
等宽字体:Courier 10 Pitch 大小:13
屏幕解析度:96dpi 最小字体:9
(选中)允许页面选择显示字体而无需使用上面的配置
默认字符编码:UTF-8
额外的小设置:Gnome-terminal中,去掉“允许粗体字”;Gedit中设置字体为系统主题字体。

OK,注销后登录(或重启),你就会发现字体已经变成黑体了。

(方法二、点阵字体,文泉驿字体)

假如你不喜欢AA过黑体,而喜欢轮廓分明的点阵字体,你可以使用文泉驿字体。大致方法和上面一样:

系统 -首选项 - 字体:
设置所有非等宽字体为WenQuanYi Bitmap Song 10号,其中窗口标题字体设置为粗体。
等宽字体设置为Courier 10 Pitch,因为Courier 10 Pitch比Courier New字体更清楚。
为了避免英文字体变得毛躁,所以还是保持英文字体的AA是打开的,所以字体渲染部分设置保持默认。

Firefox中,可以这样设置:

语言编码:简体中文
比例字体:无衬线字体 大小:16
衬线字体:Times New Roman
无衬线字体:WenQuanYi Bitmap Song
等宽字体:Courier 10 Pitch 大小:13
屏幕解析度:96dpi 最小字体:9
(选中)允许页面选择显示字体而无需使用上面的配置
默认字符编码:UTF-8

OK,注销后登录(或重启),你就会发现字体已经变成文泉驿字体了。现在文泉驿字体的中英文都很好看。

19. 配置显卡3D加速:
(前两步其实不需要执行了,默认安装就有了。)

代码:
   
   
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv


下载libGL.so.1.2.tar.gz,(到这里下载,在Linux目录下。)

代码:
   
   
tar zxvf libGL.so.1.2.tar.gz
sudo mv libGL.so.1.2 /usr/lib/


20. OK,All Done. Reboot and Enjoy!

21. 一些琐碎:
a. 测试有没有真正打开OpenGL:

代码:
   
   
sudo fgl_glxgears


只要看到程序在运行,就说明OpenGL已经打开了

b. 在右键菜单中加入打开终端:

代码:
   
   
sudo apt-get install nautilus-open-terminal


c. 系统服务管理软件:

代码:
   
   
sudo apt-get install bum


d. 修改GrubSplash:
http://www.gnome-look下载一个喜欢的grub splash,重命名为splash.xpm.gz

代码:
   
   
mv splash.xpm.gz /boot/grub/


修改你的/boot/grub/menu.lst,在操作系统选择部分前面添加一行:

代码:
   
   
splashimage=(hd0,x)/boot/grub/splash.xpm.gz


e. 修改root用户密码:

代码:
   
   
sudo passwd root

zt from www.linuxsir.org

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值