export TERM=xterm if [ -f /usr/X11R6/lib/X11/fonts/TrueType/fireflysung.ttf ]; then xset fp+ /usr/X11R6/lib/X11/fonts/TrueType/ fi if [ -f /usr/X11R6/lib/X11/fonts/wqy/wenquanyi_10pt.pcf ]; then xset fp+ /usr/X11R6/lib/X11/fonts/wqy/ fi # turn on numlock (x11/numlockx) #numlockx # turn on XLIB_SKIP_ARGB_VISUALS to avoid flash crash on Firefox export XLIB_SKIP_ARGB_VISUALS=1 if [ -f $HOME/.Xinput ]; then case `cat $HOME/.Xinput` in fcitx) export XMODIFIERS='@im=fcitx' fcitx & ;; scim) export XMODIFIERS='@im=SCIM' export GTK_IM_MODULE=scim scim -d & ;; iiimf) iiimd & ;; miniChinput) export XMODIFIERS='@im=Chinput' chinput & ;; xsim) export XMODIFIERS='@im=XSIM' xsim & ;; esac fi # Windowing environments that support L10N well # #exec afterstep #exec e16 #exec gnome-session #exec startkde #exec wmaker #exec startxfce4 if [ -f $HOME/.Xsession ]; then XSESSION=`cat $HOME/.Xsession` fi exec ${XSESSION}