|
这几天在t61上硬盘安装了fedora 9(非DVD光驱刻录dvd会是件很郁闷的事情),于是驾轻就熟:
首先是硬盘安装的几点主要步骤:
1.grub for dos解压缩后的- menu.lst, grldr, grub.exe
复制代码 放到C:\即可。
2.然后更改boot.ini,最后面加上:,保存,重启即可见到心仪的grub。
3.grub命令(前提是镜像和解压的vmlinuz, initrd.img放在fat分区,我的是D,hd0,5):- kernel (hd0,5)/vmlinuz
- initrd (hd0,5)/initrd.img
- boot
复制代码 安装之后删除这些即可.
然后是T61的fedora 9的相关安装和设置,我们的重点(显卡驱动,compiz,指纹,中键的滚轮功能)
我的安装很顺利,显卡nvidia quadro nvs 140m能识别,intel的4965AGN和Gb以太网,都OK。
进入fedora 9后:
1、安装额外的软件仓库:
rpm.livna.org 的软件包仓库:- rpm -ivh http://livna-dl.reloumirrors.net/fedora/9/i386/livna-release-9-1.noarch.rpm
复制代码 freshrpms.net 的软件包仓库(我没有安装,以防冲突):- rpm –ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/9/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
复制代码
2、安装最快源 - yum install yum-fastestmirror
复制代码 更新下载速度会快很多。
3、安装图形版yumex:
4、关于自动升级:
4.1 system->perferences->system->software updates中设置不更新
4.2 在system->perferences->个人->会话 中取消PackageKit Update Applet
4.3 这时候我们手动升级到最新:- yum update 我喜欢看看究竟升级了哪些包
- 或者直接 yum -y update
复制代码 4.4 然后安装一下 kernel-devel, kernel-headers等:
5、关于nvidia显卡驱动:
参考http://www.thinkwiki.org/wiki/Installing_Fedora_8_on_a_T61我的内核是2.6.25.10,安装后重新启动就OK了,启动的时候能看见加载nvidia模块OK的信息,然后进入桌面的时候,有短暂的nvidia的画面,这就说明OK了,compiz可以直接使用了。
6、指纹识别Fingerprint Reader
参考http://www.thinkwiki.org/wiki/Installing_Fedora_8_on_a_T61Later edit /etc/pam.d/system-auth (see /usr/share/doc/thinkfinger-0.3/README.Fedora)
And modify file. Look just like this (order is very important):- #%PAM-1.0
- # This file is auto-generated.
- # User changes will be destroyed the next time authconfig is run.
- auth required pam_env.so
- auth sufficient pam_thinkfinger.so =====>这是我们增加的一行
- auth sufficient pam_unix.so nullok try_first_pass
- auth requisite pam_succeed_if.so uid >= 500 quiet
- auth required pam_deny.so
复制代码 Later execute tf-tool for add fingerprint.- # /usr/sbin/tf-tool --add-user user_name
复制代码 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)(这儿输入3次)... done.
Storing data (/etc/pam_thinkfinger/user_name.bir)... done.
Setting ACL on aquired file: /etc/pam_thinkfinger/user_name.bir.
之后登陆的时候在选择了用户后,会有输入密码或者指纹的提示了。
7、gdesklet的天气插件good weather:会安装gdesklets-quote-of-the-day,gdesklets-calendar,gdesklets-goodweather这些插件,自己选择即可。
天气插件有点问题,下面是改正信息:
http://www.linuxsir.cn/bbs/thread331627.html
修改文件/usr/share/gdesklets/Sensors/GoodWeather/__init__.py第44行(具体不一定是44行,新版本在42行(gdesklets-goodweather-0.3-2.fc8.noarch.rpm)),最后加上&link=xoap即可。- You can get it working again by adding "&link=xoap" to the end of the definition for WEATHER_SOURCE in __init__.py and then restarting the desklet.
复制代码- class GoodWeatherSensor(Sensor):
- WEATHER_SOURCE = "http://xoap.weather.com/weather/local/" \
- "%(weather_code)s?cc=*&dayf=5&prod=xoap&" \
- "par=1003832479&key=bb12936706a2d601"
复制代码- class GoodWeatherSensor(Sensor):
- WEATHER_SOURCE = "http://xoap.weather.com/weather/local/" \
- "%(weather_code)s?cc=*&dayf=5&prod=xoap&" \
- "par=1003832479&key=bb12936706a2d601&link=xoap"
复制代码
8、3D compiz:
http://www.linuxsir.cn/bbs/thread329096.html
Fedora 9 Installation Guide
http://www.my-guides.net/en/content/view/103/1/#compizfusion
21. Compiz-Fusion
Compiz Fusion is the 'cool cube' most of you have seen in a screenshot or video all over the Internet. Fedora 9 comes with a version of it that doesn't have all the features. You can take a look at it under System -> Preferences -> Look and Feel -> Desktop Effects. But if you want to use all the effects, plugins etc. follow the instructions below.
* Official Packages
The compiz-fusion packages found in Fedora repositories are a few versions back but they'll do their work. To install them type:- su -c 'yum remove compiz'
- rm -rf ~/.gconf/apps/compiz
- su -c 'yum install yum install compiz-fusion compiz-fusion-gnome compiz-fusion-extras compiz-fusion-extras-gnome compiz-manager gnome-compiz-manager ccsm fusion-icon fusion-icon-gtk emerald emerald-themes'
复制代码
* Unofficial Packages- su -c 'rpm -Uvh http://www.dfm.uninsubria.it/compiz/compiz-fusion-release-1-1.noarch.rpm'
- su -c 'yum remove compiz'
- rm -rf ~/.gconf/apps/compiz
- su -c 'yum install compiz-all fusion-icon-all compiz-fusion-plugins-unsupported compiz-fusion-plugins-extra compiz-bcop ccsm emerald-themes compizconfig-backend-gconf compizconfig-backend-kconfig'
复制代码 我用的是Unofficial Packages,很好,恩,和以前的F8一样了,甚至是更好,更流畅了
9、输入法,AWN托盘,娱乐
在英文环境下使用SCIM中文输入法
参考http://chs.mobile01.com/topicdet ... 41&last=5577320选择- "Use custom input method <scim>"
复制代码 登出再登入就可以选了。- yum install avant-window-navigator audacious* mplayer*
复制代码 audacious的皮肤:~/.local/share/audacious/Skins
把compiz, avant-window-navigator加入到启动(个人->会话),自己选择一个喜欢的窗口装饰即可。
10、Trackpoint和中键配合的滚轮功能配置
参考:
Trackpoint scroll with Fedora 9 http://vbraun.name/cms/node/7
或者用快照http://203.208.33.101/search?q=c ... oRmUzDIrRACbzKeCyxQ- # Xorg configuration created by livna-config-display
- # ======added by liuhongdan
- Section "ServerFlags"
- Option "AutoAddDevices" "false"
- EndSection
- # ======added end.
- Section "ServerLayout"
- Identifier "single head configuration"
- Screen 0 "Screen0" 0 0
- InputDevice "Keyboard0" "CoreKeyboard"
- # =====added by liuhongdan
- InputDevice "Trackpoint" "CorePointer"
- Option "AIGLX" "on"
- # =====added end.
- EndSection
- Section "Files"
- ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
- ModulePath "/usr/lib/xorg/modules"
- EndSection
- # Section "ServerFlags"
- # Option "AIGLX" "on"
- # EndSection
- Section "InputDevice"
- # keyboard added by rhpxl
- Identifier "Keyboard0"
- Driver "kbd"
- Option "XkbModel" "pc105"
- Option "XkbLayout" "us"
- EndSection
- # =====added by liuhongdan
- Section "InputDevice"
- Identifier "Trackpoint"
- Driver "mouse"
- Option "CorePointer"
- Option "Device" "/dev/input/mice"
- Option "Protocol" "ExplorerPS/2"
- Option "Emulate3Buttons" "off"
- Option "EmulateWheel" "on"
- Option "EmulateWheelTimeOut" "200"
- Option "EmulateWheelButton" "2"
- Option "YAxisMapping" "4 5"
- # Option "XAxisMapping" "6 7"
- Option "ZAxisMapping" "4 5"
- EndSection
- # =====added end.
- Section "Monitor"
- Identifier "Monitor0"
- ModelName "LCD Panel 1280x800"
- HorizSync 31.5 - 50.0
- VertRefresh 56.0 - 65.0
- Option "dpms"
- EndSection
- Section "Device"
- Identifier "Videocard0"
- Driver "nvidia"
- Option "AddARGBGLXVisuals" "True"
- EndSection
- Section "Screen"
- Identifier "Screen0"
- Device "Videocard0"
- Monitor "Monitor0"
- DefaultDepth 24
- SubSection "Display"
- Viewport 0 0
- Depth 24
- EndSubSection
- EndSection
- Section "Extensions"
- Option "Composite" "Enable"
- EndSection
复制代码
最后,OK,全部完成,享受吧。 |
|