X200安装ubuntu8.04相关记录


安装

  • Thinkpad X200主要硬件描述:

CPU: Intel 酷睿2双核 P8400

内存:1GB

主板: Intel GM45

显卡:Intel GMA X4500

无线:Intel 5100 AGN

光驱:无

  • 安装ubuntu-desktop:

方法:

       可采用U盘、硬盘以及外置光驱安装。具体网上描述非常详细,不再累赘描述。

主要几个文件说明:

       boot.img.gz来自于 hd-media/boot.img.gz,其他两个 vmlinuz和initrd.gz来自于iso文件的casper目录下(采用desktop安装,其他方式的话,也需要从hd-media/下载 )。


vmlinuzvmlinuz是可引导的、压缩的内核。“vm”代表“Virtual Memory”。Linux 支持虚拟内存,不像老的操作系统比如DOS有640KB内存的限制。Linux能够使用硬盘空间作为虚拟内存,因此得名“vm”。vmlinuz是可执行的Linux内核
initrd.gz

initrd是“initial ramdisk”的简写。initrd一般被用来临时的引导硬件到实际内核vmlinuz能够接管并继续引导的状态

 

对于grub配置文件menu.lst添加如下代码(说明日后再议)

title Ubuntu Install
#color magenta/blue black/magenta ro locale=zh_CN.UTF-8 xforcevesa vga=771 
root (hd0,0) 
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.04.3-desktop-i386.iso ro quiet splash 
initrd /initrd.gz
boot

 配置

  • 删除没有用到软件,并更新系统:

譬如国人用永中Office,而对于OpenOffice可以舍弃,对于没有蓝牙,可以删除bluez相关包。

  • X4500:

在ubuntu8.04下存在一些花屏,而且无法播放视频的。

驱动修改:

下载地址如下(国人的GFW太强了,可能打不开,请见下载附件):

http://melchiorre.wordpress.com/2008/07/31/driver-intel-240-deb-package/

网上推荐写道
1.在启动完,用Ctrl+Alt+F1转到终端模式
2.先删除原来的驱动.
sudo apt-get remove xserver-xorg-video-i810

3.比如你的移动硬盘是sdb.mount到本地.
sudo mount /dev/sdb1 /mnt
cd /mnt

4.在/mnt中安装这个包.然后重起就可以了
sudo dpkg -i xserver-xorg-video-intel_2.4.0~melchiorre-5_i386.deb
sudo reboot
 

其实你可以采用直接删除xserver-xorg-video-i810包,然后直接安装xserver-xorg-video-intel_2.4.0~melchiorre-5_i386.deb,最后重启搞定。

 

xorg.conf修改:
Section "Monitor"
	Identifier    	"HDMI-1"
    	Option        	"Ignore" 	"True"
EndSection

Section "Monitor"
	Identifier    	"HDMI-2"
	Option        	"Ignore" 	"True"
EndSection

Section "Screen"
	Identifier    	"Default Screen"
	Monitor        	"Configured Monitor"
	Device        	"Configured Video Device"
	DefaultDepth  	24
	SubSection 	"Display"
        	Modes 	"1280x800" "1024x768"
        	Virtual	2432 864
	EndSubSection
EndSection

Section "Device"
     	Identifier    "Configured Video Device"
     	Driver        "intel"
     	Option        "monitor-HDMI-1" "HDMI-1"
     	Option        "monitor-HDMI-2" "HDMI-2"
EndSection

  •   Intel 5100 AGN:

  在ubuntu8.04.3下面已经可以正常使用了,对于以前版本的话搞起来有点麻烦。

 

  • laptop-mode:

sudo gedit /etc/default/acpi-support
ENABLE_LAPTOP_MODE=false
#修改为
ENABLE_LAPTOP_MODE=true
  • TrackPoint:

安装xserver-xorg-input-evdev包。

创建/etc/hal/fdi/policy/mouse-wheel.fdi文件,添加内容如下:

<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>

 修改/etc/X11/xorg.conf,内容如下:

Section "InputDevice"
	      Identifier	"Configured Mouse"
	      Driver		"mouse"
	      Option		"CorePointer"
	      Option      	"Device" 	"/dev/input/mice"
	      Option      	"Protocol"   	"ExplorerPS/2"
	      Option      	"Emulate3Buttons"     	"on"
             Option      	"Emulate3TimeOut"     	"50"
             Option      	"EmulateWheel"        	"on"
             Option      	"EmulateWheelTimeOut" 	"200"
             Option      	"EmulateWheelButton"  	"2"
             Option      	"YAxisMapping"        	"4 5"
             Option      	"XAxisMapping"        	"6 7"
             Option      	"ZAxisMapping"        	"4 5
EndSection

 

  • hdaps:

后续再添加

 

  • 关闭IPv6:

sudo gedit /etc/modprobe.d/aliases
#修改
alias net-pf-10 ipv6
#为
alias net-pf-10 off

//###################################
sudo gedit /etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
#ff02::3 ip6-allhosts

####################################
sudo vi /etc/modprobe.d/bad_list
#添加内容:
alias net-pf-10 off

 

  • Session:

    删除不需要的Service。

  • sudoers修改(不会提示输入root密码)

sudo vim /etc/sudoers
username ALL=(ALL) NOPASSWD: ALL
 

常用软件:

写道
nautilus-open-terminal
nautilus-gksu
build-essential
autoconf
automake1.9
unrar
desktop-data-manager
p7zip-full
cabextract
google-desktop
fictx
madedit
terminator
install_flash_player_10_linux
w32codecs
smplayer
emesene
thunderbird
EIOffice
网上写道
Banshee:
MP3乱码解决方法:
1. Win 上的播放器一样,可以根据本地的编码方式来解码,或使用一些其他转码机制,要不还可以选择优先读取顺序。
2. 把 mp3 标签转换为 Unicode 编码,这种方式既简单又支持标准,推荐大家使用。
安装:sudo apt-get install python-mutagen
创建sh文件存放在music目录下面,添加内容:
#!/bin/sh
find . -iname "*.mp3" -execdir mid3iconv -e gbk {} \;
 

另外添加mint软件包

## +++ Linux Mint 5 Elyssa (stable) +++
deb http://packages.linuxmint.com elyssa main upstream import
## +++ Canonical (stable) +++
deb http://archive.canonical.com/ubuntu hardy partner
## +++ Medibuntu (stable) +++
deb http://packages.medibuntu.org/ hardy free non-free 
 

参考资料:

http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

http://www.thinkwiki.org/wiki/Installing_Ubuntu_8.04_&_8.10_on_an_X200

http://wiki.ubuntu.org.cn/Qref/Apps

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值