天天看點

Install Mint 12 (Ubuntu 11.10) on Thinkpad T420

1) 調節風扇轉速(install thinkfan)

refer: [url]http://ubuntuforums.org/showthread.php?t=1872633[/url]

1. enable power saving render, active state power mgmt: in /etc/default/grub

Code:

[quote]GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=force i915.i915_enable_rc6=1"[/quote]

2. update grub

Code:

[quote]update-grub[/quote]

3. reboot

4. update sensors from lm-sensors

Code:

[quote]sensors-detect

[/quote]

5. enable thinkfan in /etc/defaults/thinkfan

Code:

[quote]START=yes

[/quote]

6. enable acpi fan:

Code:

[quote]echo "options thinkpad_acpi fan_control=1" >>/etc/modprobe.d/thinkpad_acpi.conf

[/quote]

7. add kernel module 'coretemp' to /etc/modules

[quote]sudo sh -c 'echo coretemp >> /etc/modules'[/quote]

8. load kernel module 'coretemp'

[quote]sudo modprobe coretemp[/quote]

9. configure thinkfan in /etc/thinkfan.conf

Code:

[quote]sensor /sys/devices/platform/coretemp.0/temp1_input

sensor /sys/devices/platform/coretemp.0/temp2_input

sensor /sys/devices/platform/coretemp.0/temp3_input

sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input[/quote]

10. reload kernel module 'thinkpad_acpi'

[quote]$ sudo modprobe -r thinkpad_acpi

$ sudo modprobe thinkpad_acpi

[/quote]

11. enable tlp: /etc/defaults/tlp

Code:

[quote]TLP_ENABLE=1[/quote]

12. start thinkfan:

[quote]sudo /etc/init.d/thinkfan start[/quote]

13. check whether it works

[quote]sudo cat /proc/acpi/ibm/fan

if level has a value between 0 and 7, and changes by times, your thinkfan daemon works.[/quote]

2) 禁用觸摸闆(disable touchpad)

[quote]Software Manager -> install gpointing-device-settings

[/quote]

3) 開機禁用無線和藍牙(disable wifi and bluetooth on startup)

modify /etc/rc.local, add

[quote]rfkill block bluetooth

rfkill block wifi[/quote]

4) 設定Gnome3 Panel高度

Alt + Right Click

5) 設定GCC編譯32位庫

Be sure to install gcc-multilib and g++-multilib. These depend on both the 64 as the 32-bit gcc and stdc++ libraries.

6) gedit中文亂碼

終端輸入dconf-editor,展開org/gnome/gedit/preferences/encodings,添加GB18030到UTF-8後面

7) 安裝nvidia驅動後解決無法調整螢幕亮度問題

[quote]sudo vim /etc/X11/xorg.conf

Section "Device"

Identifier "Device0"

Driver "nvidia"

VendorName "NVIDIA Corporation"

Option "RegistryDwords" "EnableBrightnessControl=1" (加這句話,原本沒有這句話)

EndSection[/quote]