2009年3月15日 星期日

ubuntu scim input chinese

system-->administration-->language support
install chinese support

#sudo vim ~userid/.profile
add new line
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

#sudo reboot

ubuntu play ape format

#wget -O - http://morgoth.free.fr/files/morgoth-signkey.gpg.asc | sudo apt-key add -

Import signing key into APT

#vim /etc/apt/sources.lst
add new line above
deb http://morgoth.free.fr/ubuntu intrepid-server main

#sudo apt-get update
update apt respostory

#sudo apt-get install audacious audacious-plugins
install audacious package

install daemon tools on ubuntu

# wget http://www.getdeb.net/download/4010/0
get acetoneiso tools to install

#sudo dpkg -i acetoneiso_2.0.3~rc1-1~getdeb1_i386.deb
install acetoneiso tools

#sudo apt-get -f install
install all dependenece package

2009年3月14日 星期六

read chm on kde or gnome

#sudo apt-get install kchmviewer
install kde chm viewer

$sudo apt-get install gnochm
install gnome chm viewer

ex:on some chm book,if kchmviewer can't work,please use gnome chmviewr instead.

2009年3月5日 星期四

install mysql server and mysql client

#sudo apt-get update
update apt responstory database

#sudo apt-get install mysql-server mysql-client

in installion procedure will ask you root login password twice for confirm
please remember it as first login use

intal sound card on lenovo r60

#sudo aptitude install build-essential libncurses-dev gettext xmlto xmltoman linux-headers-`uname -r`
install essential tools and kernelheaders

download the latest drive for alsa-lib alsa-driver and alsa-utils

#cd alsa-driver*
#sudo ./configure --with-cards=hda-intel
#sudo make
#sudo make install

#cd ../alsa-lib*
#sudo ./configure
#sudo make
#sudo make install

#cd ../alsa-utils*
#sudo ./configure
#sudo make
#sudo make install

#sudo reboot


on ubuntu hardy
#sudo apt-get install module-assistant
#sudo m-a update
#sudo m-a prepare
#sudo m-a a-i alsa
#sudo reboot

install mplayer and codecs

#sudo apt-get mplayer
install package for mplayer

#wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
download codes for all support

#tar zxvf all-20071007 /usr/lib/codecs
install new codecs for mplayer