Archive for the ‘ubuntu’ Category

第一步:添加源。
打开终端
先做个备份
sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
然后
sudo gedit /etc/apt/sources.list
加入源地址
deb http://ppa.launchpad.net/tp-fan/ppa/ubuntu jaunty main
deb http://ppa.launchpad.net/tp-fan/ppa/ubuntu intrepid main
deb http://ppa.launchpad.net/tp-fan/ppa/ubuntu hardy main
最后,更新你的软件列表
sudo apt-get update
第二步:输入授权密码
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 59BE7ED0
第三步:
打开新立得,安装软件tpfand, tpfand-profiles 和 tpfan-admin
第四步:
打开系统—系统管理—ThinkPad Fan Control and configure ThinkPad Fan Control
激活软件控制,并使用手动配置风扇。
编辑/etc/tpfan.conf

0. CPU = 0:0 45:3 60:6
1. Mini PCI = 0:0 50:3
2. Sensor 2 = 0:255
3. GPU = 0:0 50:3
4. Bat0 = 0:0 35:2
5. [...]

ubuntu/linux flash中文乱码 的解决
打开配置文件:
cd /etc/fonts/conf.d/
sudo gedit 49-sansserif.conf
修改edit节点,将sans- serif
改为 sans

让Ubuntu下的中键滚动像windows一样~
简单几步:
编辑:
xinput set-prop ‘TPPS/2 IBM TrackPoint’ “Evdev Wheel Emulation” 1
xinput set-prop ‘TPPS/2 IBM TrackPoint’ “Evdev Wheel Emulation Button” 2
xinput set-prop ‘TPPS/2 IBM TrackPoint’ “Evdev Wheel Emulation Timeout” 200
xinput set-prop ‘TPPS/2 IBM TrackPoint’ “Evdev Wheel Emulation Axes” 6 7 4 5

保存为\home\Mouse_Wheel.sh
在终端中输入
chmod +x Mouse_Wheel.sh

在system > Preferences > Startup Applications 点击“添加” name:输入“Mouse Whell”,Command Box输入“/home/Mouse_Wheel.sh”
创建新文件:/etc/hal/fdi/policy/mouse-wheel.fdi
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi

代码如下:
<?xml version=”1.0″ encoding=”UTF-8″?>
<match [...]


About Ariose

Ariose
Front-end Web developer
Sohu UED team

MSN:ariose@live.com
Gtalk:ariose22@gmail.com

Photostream

Categories

Archives