日期:2014-05-16  浏览次数:20707 次

Scientific Linux 6(x86_64) 之旅
ThinkPad T400
yum install gcc* kernel-devel* -y
1.安装显卡驱动
  下载驱动:http://support.amd.com/us/gpudownload/Pages/index.aspx
  一定要在init 3安装,进入终端模式INIT 3(字符界面):  vi /etc/inittab 将 id:5:initdefault:
  将5改成3,备份/etc/X11/xorg.conf,重新启动,
  安装:
1)yum install   kernel-devel  gcc (安装一些必要的包)
2)sh ati-driver-installer-11-6-x86.x86_64.run
3)cd /lib/modules/fglrx/build_mod
  sh make.sh
  cd ..
  sh make_install.sh
4)vim /boot/grub/grub.conf 看看rhgp quiet 之前有没有 nomodeset,没有加上。
5)重启,搞定。

2.启用ThinkPad Trackpoint中键滚动的方法
  编辑 /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi 在<device>内添加如下内容

<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>

重启,搞定!

3.Rhythmbox播放列表中文乱码问题
  向桌面发送个快捷图标,右击-属性-在启动命令那里修改为如下命令:
  env GST_ID3_TAG_ENCODING=GBK rhythmbox %U
  修改完后,把原来的列表移除,重新导入即可.

4.Google Chrome flash插件
  Chrome Windows版本自带了flash插件,而Linux版本中没有,要自己安装,到flash官方网站下载libflashplayer.so文件,放到Chrome安装路径的plugins文件夹中,没有就自己建一个, 右击Chrome-属性-在启动命令那里修改为如下命令:/opt/google/chrome/google-chrome  --enable-plugins %U,这样就行了!

5. 使用第三方软件库EPEL
   1)安装yum-priorities插件。
    这个插件是用来设置yum在调用软件源时的顺序的。因为官方提供的软件源,都是比较       稳定和被推荐使用的。因此,官方源的顺序要高于第三方源的顺序。如何保证这个顺序,
就需要安装yum-priorities这插件了。
[root@CentOS ~]# yum install yum-priorities
安装完后需要设置/etc/yum.repos.d/ 目录下的.repo相关文件(如CentOS-Base.repo),在这些文件中插入顺序指令:priority=N (N为1到99的正整数,数值越小越优先)
一般的配置是这样的:
[base], [addons], [updates], [extras] … priority=1
[CentOSplus],[contrib] … priority=2
其他第三的软件源为:priority=N (推荐N>10)
如我的CentOS-Base.repo配置为:
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#additional packages that extend functionality of existing packages