2007年3月20日星期二

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

2007年1月31日星期三

linux挂载windows分区及中文乱码问题

一 自动挂载
gedit /etc/fstab
最后面加入下面几行
/dev/sda1 /winc vfat utf8,umask=022 0 0
/dev/sda5 /wind vfat utf8,umask=022 0 0
/dev/sda6 /wine vfat utf8,umask=022 0 0
若是ntfs的,则把vfat改为ntfs,然后重启
二 手动挂载
mount -t vfat /dev/sda1 /winc -o iocharset=utf8,umask=022

nvidia GeForce 6150 LE 实现3D特效 无需配置

1.安装gcc xgl compiz
2.yast添加源http://linux-vbird.3322.org/suse/10.2/nvidia/
3.安装nvidia-gfx-kmp-default和x11-video-nvidia
4.重启电脑,找到Desktop Effects然后Enable Desktop Effects

jdk1.6.0的环境变量配置及中文显示

gedit /etc/profile
在配置文件的最后面加上
JAVA_HOME=/usr/java/jdk1.6.0
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PATH
export CLASSPATH
JRE_HOME=/usr/java/jdk1.6.0
export JAVA_HOME PATH CLASSPATH JRE_HOME
mkdir /usr/java/jdk1.6.0/jre/lib/fonts/fallback
cp /usr/share/fonts/truetype/msyh.ttf /usr/java/jdk1.6.0/jre/lib/fonts/fallback

2007年1月30日星期二

我的电脑信息

1 显卡驱动
字段 值图形处理器(GPU) 显示卡 nVIDIA GeForce 6150 LEGPU 代码名称 C51GPCI 设备 10DE-0241 / 10DE-0222工艺技术 90 nm总线类型 内置GPU 时钟频率 475 MHzRAMDAC 时钟频率 400 MHz像素流水线 2材质单元/流水线 1顶点着色引擎 1 (v3.0)像素着色引擎 2 (v3.0)DirectX 硬件支持 DirectX v9.0cPixel Fillrate 950 兆像素/秒Texel Fillrate 950 兆纹理/秒 nVIDIA ForceWare Clocks Standard 2D 图形处理器: 475 MHzLow-Power 3D 图形处理器: 475 MHzPerformance 3D 图形处理器: 475 MHz 图形处理器制造商 公司名称 NVIDIA Corporation产品信息 http://www.nvidia.com/page/products.html下载驱动程序 http://www.nvidia.com/content/drivers/drivers.asp更新驱动程序 http://driveragent.com?ref=59
2 显示器
字段 值显示器 显示器名称 ViewSonic VA702b显示器 ID VSC231C型号 VA702 SERIES显示器类型 17" LCD制造日期 31 周 / 2006序列号 Q4E063161411最大可用屏幕 34 cm x 27 cm (17.1")图像宽高比例 5:4垂直扫描频率 30 - 82 kHz水平扫描频率 50 - 85 Hz最大分辨率 1280 x 1024伽马值 2.20电源管理(DPMS)模式支持 Active-Off 支持的视频模式 640 x 480 85 Hz800 x 600 85 Hz1024 x 768 85 Hz1152 x 864 85 Hz1280 x 1024 75 Hz
3显卡
字段 值显示适配器 设备描述 NVIDIA GeForce 6150 LE显示适配器字串 GeForce 6150 LEBIOS 字串 Version 5.51.22.17.00芯片类型 GeForce 6150 LEDAC 类型 Integrated RAMDAC已安装驱动程序 nv4_disp (6.14.10.8198 - nVIDIA ForceWare 81.98)显存大小 256 MB 显示适配器制造商 公司名称 NVIDIA Corporation产品信息 http://www.nvidia.com/page/products.html下载驱动程序 http://www.nvidia.com/content/drivers/drivers.asp更新驱动程序 http://driveragent.com?ref=59
4声卡
字段 值网络适配器 Realtek RTL8139/810x Family Fast Ethernet NIC (192.168.1.100)