Debian記事

LiaoZi:~# cat .xsession

export LC_ALL=zh_TW.Big5

export LANG=zh_TW.Big5

#export LC_ALL=zh_TW.UTF-8

#export LANG=zh_TW.UTF-8

export XMODIFIERS="@im=xcin"

exec xcin &

exec kded &

#exec gnome-settings-daemon &

/usr/bin/xfce-mcs-manager

/usr/bin/xfwm4 --daemon

/usr/bin/xftaskbar4 &

#/usr/bin/xfdesktop &

/usr/bin/xset b -off

/usr/bin/rox -p=default

exec /usr/bin/xfce4-panel







Xfce中文化

/usr/bin/startscfe4 的最前面加上



export LANG=zh_TW.Big5

export LC_ALL=zh_TW.Big5



Gdm中文化

vi /etc/init.d/gdm export big5



xcin會閃動的問題

修改 /etc/xinitrc

(define DIFF_BEEP "YES")

(define KEYBOARD_TRANSLATE "NO")

(define DISABLE_WM_CTRL "YES") <=add this



啟動多重系統



vi /boot/grub/device.map

(hd0) /dev/hdc <= my linux

(hd1) /dev/hda <= my xp 定義hd1



vi /boot/grup/



title Debian GNU/Linux, kernel 2.6.7-1-386

root (hd0,0)

kernel /boot/vmlinuz-2.6.7-1-386 root=/dev/hdc1 ro

initrd /boot/initrd.img-2.6.7-1-386

savedefault

boot



title Windows XP

map (hd1) (hd0)

map (hd0) (hd1)

rootnoverify (hd1)

chainloader +1

boot



WindowMaker 標題亂碼



cp /etc/GNUstep/Defaults/WMGLOBAL /root/GNUsetp/Defaults/

vi WMGLOBAL



MultiByteText = YES; <= edit this





加入新字型 ttf

ttmkfdir -o fonts.dir

cp fonts.dir fonts.scale



vi /etc/X11/XFree86-4





字型顯示不柔化

apt-get install gnome-font-properties



讓電腦不會b

Xserver : xset b off

文字模式 : vi .input set bell-style none



電視卡相關

#rmmod saa7134 ; rmmod tuner

#modprobe saa7134 card=3 tuner=3



vi
/etc/modules

saa7134 card=3 tuner=3



.xinirtc怎麼寫的

export LC_ALL=zh_TW.Big5

export LANG=zh_TW.Big5

export XMODIFIERS="@im=xcin"

export GTK_IM_MODULE=xim

exec gnome-settings-daemon &

exec xset b off

exec xcin &

exec wmaker



留言

熱門文章