2007年3月13日星期二

how to delete the nvidia sign while booting system

gedit /etc/X11/xorg.conf
find the following pragraph:
Section "Device"
BoardName "GeForce 6150 LE"
BusID "0:5:0"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
VendorName "NVidia"
EndSection
add a opnion in this pragraph so it will look like this
Section "Device"
BoardName "GeForce 6150 LE"
BusID "0:5:0"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
VendorName "NVidia"
Option "NoLogo" "1"
EndSection

2007年3月12日星期一

How do I install xine

1 First I download the two packages xine-lib-1.1.4.tar.bz2 and xine-ui-0.99.4.tar.gz frome the official website.
2 Then extract them by tar xjfv xine-lib-1.1.4.tar.bz2 and tar zxvf xine-ui-0.99.4.tar.gz
3 OK,Let's begin install xine.Install xine-lib-1.1.4 first.
cd xine-lib-1.1.4
./configure && make && make install && make clean
This will take a long long time ,don't lose your patience.
After it complete,remember run the command ldconfig,then
cd xine-ui-0.99.4
./configure && make && make install && make clean
4 All complete,so I open xine and play a movie of rmvb.
wow,it's really beautiful,I think it is better than mplayer.But latter I
find no sound.After googling,I solving this problem.What did I do?
Look at the following.
5 gedit ~/.xine/catalog.cache
find decoder_priority In this pragraph /usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so
.It's default value is 5,change it into 10.
6 Open xine again,it can play rmvb and mp3 well.In a word ,perfect.

2007年3月10日星期六

let opera use fcitx to input Chinese

gedit opera
Add export QT_IM_MODULE=XIM after the #!/bin/sh so it will look like this
#!/bin/sh

export QT_IM_MODULE=XIM
# Use this if you don't want to install Opera to any special location,
# but execute it from the extracted package or current location.

change resolusion manually

vi /etc/X11/xorg.conf
find the following pragraph
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
replace the
1280x1024 with 1024x768,then save and exit

2007年3月6日星期二

install flashplayer

1 download install_flash_player_9_linux.tar.gz
2 tar zxvf install_flash_player_9_linux.tar.gz
cd install_flash_player_9_linux
./flashplayer-installer
3 then input /usr/lib/firefox

2007年3月4日星期日

install mplayer

1 get Abyss-1.6.tar.bz2 MPlayer-1.0pre8.tar.bz2 all-20061022.tar.bz2 windows-all-20061022.zip from http://www.mplayerhq.hu/MPlayer/
2 unzip windows-all-20061022.zip
mkdir /usr/lib/wincodecs/ /usr/lib/codecs/
mv all-20061022/* /usr/lib/codecs
mv windows-all-20061022/* /usr/lib/wincodecs
3 ./configure --prefix=/usr/local/mplayer --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codecs/ --with-win32libdir=/usr/lib/wincodecs/ --language=zh_CN
4 make && make install
5 mv Abyss /usr/local/mplayer/share/mplayer/skins/
cd /usr/local/mplayer/share/mplayer/skins/
mv Abyss default
6 cp /usr/share/fonts/truetype/luximbi.ttf ~/.mplayer
cd ~/.mplayer
mv luximbi.ttf subfont.ttf
7 gedit ~/.mplayer/gui.conf
find subfont-text-scale and change it's valure to 2.000000

2007年2月1日星期四

install fcitx on opensuse10.2

1 I hate scim so firstly I deleted it with yast.
2 download fcitx-3.3.1.tar.bz2 from http://fcitx.org
tar xjfv fcitx-3.3.1.tar.bz2
cd fcitx-3.3.1
./configure
make
make install
3 gedit ~/.bashrc
write the fllowing string in it
export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx
export QT_IM_MODULE='fcitx'
fcitx
4 run the command of source .bashrc
5 gedit ~/.fcitx/config
change 0 into 1 on the 22th line
change 0 into 1 on the 24th line
change 1 into 0 on the 32th line
change 1 into 0 on the 33th line
6 run the command of fcitx