敬請指教:
在下這幾天剛裝了sarge,試用了icewm,xfce4,gnome:
1.結果只有gnome正常運作,icewm & xfce4 不管是以 gdm(.xsession) 或 startx (.xinitrc)進入,沒多久所有視窗就固定不動了,只有小老鼠還能到處亂跑,可一點作用也沒有!鍵盤也失效,只有按主機的reset鍵重新開機處理了.
2.不論是xcin or gcin 都見不到蹤影,重新啟動xcin or gcin ,出現的訊息是正常的.
硬體:Geforce MX 200 (nidia)
Xserve 為 nvidia
XF86Config-4 如下:
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
個人處理方式如下:(以xfce4為例)FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
# Load "freetype"
Load "xtt"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-70
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
#
nvidia 驅動程式以安裝成功!
以 modconf 打開 nvidia 模組 成功!
以 sysvconfig 打開 nvidia-glx 成功!
以 dkpg-reconfigure locales 設定 locale zh_TW.Big5 成功!
locale, locale -a, locale -m 確認無誤 !
#
1.~/.xsession or .xinitrc 設定如下:
#!/bin/sh
export LANG=zh_TW.Big5
exoprt LC_CTYPE=zh_TW.Big5
export XMODIFIERS="@im=xcin"
gcin &
/usr/bin/xfce4-session
/usr/bin/xfce-mcs-manager
/usr/bin/xfwm4 --daemon
/usr/bin/xftaskbar4 &
/usr/bin/xfce4-panel
#icewm-session
如此,xcin or gcin 仍然不見蹤影!
2.# mv /usr/bin/xfce4-session /usr/bin/xfce4-session.save
# cp ~/.xsession /usr/bin/xfce4-session
# vi /usr/bin/xfce4-session
#!/bin/sh
export LANG=zh_TW.Big5
exoprt LC_CTYPE=zh_TW.Big5
export XMODIFIERS="@im=xcin"
gcin &
/usr/bin/xfce4-session.save
/usr/bin/xfce-mcs-manager
/usr/bin/xfwm4 --daemon
/usr/bin/xftaskbar4 &
/usr/bin/xfce4-panel
#
這樣 icewm or xfce4 用gdm 進入後,xcin or gcin 就都正常了.
3.要不然, 用 sysvconfig 取消 gdm , cp ~/.xsession ~/.xinitrc
用 startx 進入也可以.
但是最重要的,視窗停住的大問題仍舊存在!!!!!
Why Why Why 負載重的 gnome反而沒問題? ( .gnomerc 如下:
#!/bin/sh
export LC_ALL=zh_TW.Big5
export LC_CTYPE=zh_TW.Big5
export XMODIFIERS="@im=xcin"
xcin &
#
是 Xserve ? 也不可解?重裝亦然!
求救!各位專家 我想用輕巧的 icewm or xfce4,因為我只有古董級的K6-2 500 和 256 SDRAM.
#
另外 icewm 用 gdm 進入,程式選單的字體會變小(相較於以startx 進入 X)可以
vi /etc/X11/xinit/xserverrc
#!/bin/sh
exec /usr/bin/X11/X -dpi 100 -nolisten tcp
將 -dpi 100 改為 120 or 140 or 160 就可以將字體改大了.