|
楼主 |
发表于 2004-1-26 12:08:38
|
显示全部楼层
我也很奇怪
刚才我在回这个帖子时,gnome-panel再次崩溃,害得我很长的一段话化为乌有,好了,长话短说,这是我的uname -a
Linux changshi 2.4.22 #6 Tue Sep 2 17:43:01 PDT 2003 i686 unknown unknown GNU/Linux
.bash_profile
export PATH=$PATH:/usr/sbin:/sbin:/usr/local/mozilla
export G_BROKEN_FILENAMES=1
export LANG=zh_CN.GB2312
source .bash_rc
.bash_rcexport LANG=zh_CN.GB2312
zhcon
.xinitrc
#!/bin/sh
xsetroot -solid black -cursor_name watch
# hj_18 add
#export LANG=zh_CN.GB2312
# fix broken $UID on some system...
if test "x$UID" = "x"; then
UID=`id -u`
fi
# Those are my settings, change them as appropriate...
# Xft DPI: 96
# Xft.hintstyle: hintnone/hintslight/hintmedium/hintfull
# Xft hinting: 1/0
xrdb -merge - << EOF
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium
EOF
# Launch xscreensaver (if available), but only as non-root user
test $UID -gt 0 && xscreensaver -no-splash &
# hj_18 add
export XMODIFIERS=@im=fcitx
fcitx &
# Run xfce4-session if installed
xfcesm=`which xfce4-session`
case "x$xfcesm" in
x|xno*)
;;
*)
exec $xfcesm
# Shouldn't get there, but anyway...
exit
;;
esac
# or use old-fashioned startup script otherwise
xfce-mcs-manager
xfwm4 --daemon
# Start-up stuff from ~/Desktop/Autostart directory, if it exists
# (as it seems to be the new standard)
if test -d "$HOME/Desktop/Autostart"; then
for i in `ls -1 -L ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
if test -x $HOME/Desktop/Autostart/$i; then
$HOME/Desktop/Autostart/$i &
fi
done
fi
if test -f $HOME/.Xmodmap; then
xmodmap $HOME/.Xmodmap
fi
xftaskbar4&
xfdesktop&
panel=`which xfce4-panel`
case "x$panel" in
x|xno*)
;;
*)
$panel
ret=$?
while test $ret -ne 0; do
xmessage -center -file - -timeout 20 -title Error <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
cat >&2 <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
$panel
ret=$?
done
;;
esac
xsetroot -solid black -cursor_name watch
/etc/profile
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
# hj_18 add
export LC_ALL=zh_CN
#export LANG=zh_CN.GB2312
#export GTK_IM_MODULE=xim
export LESSCHARSET=iso8859
#export G_BORKEN_FILENAMES=1
#export XMODIFIERS=@im=fcitx
# If the user doesn't have a .inputrc, use the one in /etc.
if [ ! -r "$HOME/.inputrc" ]; then
export INPUTRC=/etc/inputrc
fi
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH. Some means of connection don't add these by default (sshd comes
# to mind).
if [ "`id -u`" = "0" ]; then
echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
if [ ! $? = 0 ]; then
PATH=/usr/local/sbin:/usr/sbin:/sbinPATH
fi
fi
# I had problems using 'eval tset' instead of 'TERM=', but you might want to
# try it anyway. I think with the right /etc/termcap it would work great.
# eval `tset -sQ "$TERM"`
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
TERM=linux
fi
# Set ksh93 visual editing mode:
if [ "$SHELL" = "/bin/ksh" ]; then
VISUAL=emacs
# VISUAL=gmacs
# VISUAL=vi
fi
# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" ]; then
PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
PS1='! ${PWD/#$HOME/~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then
PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
PS1='$ '
else
PS1='\u@\h:\w\$ '
fi
PS2='> '
export PATH DISPLAY LESS TERM PS1 PS2
# Default umask. A umask of 022 prevents new files from being created group
# and world writable.
umask 022
# Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
if [ "$SHELL" = "/bin/zsh" ]; then
eval `dircolors -z`
elif [ "$SHELL" = "/bin/ash" ]; then
eval `dircolors -s`
else
eval `dircolors -b`
fi
# Notify user of incoming mail. This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
biff y
fi
# Append any additional sh scripts found in /etc/profile.d/:
for file in /etc/profile.d/*.sh ; do
if [ -x $file ]; then
. $file
fi
done
# For non-root users, add the current directory to the search path:
if [ ! "`id -u`" = "0" ]; then
PATH="$PATH:."
fi
xfree86 version
PACKAGE NAME: xfree86-4.3.0-i486-5.Firefly
COMPRESSED PACKAGE SIZE: 15806 K
UNCOMPRESSED PACKAGE SIZE: 46990 K
PACKAGE LOCATION: /mnt/win_c/slk9.1/slkfont/xfree86-4.3.0-i486-5.Firefly.tgz
PACKAGE DESCRIPTION:
xfree86: xfree86 (XFree86 base package) -- with Firefly's CJK characters
xfree86: display enhancement
xfree86:
xfree86: This is the base package for XFree86, and provides the required
xfree86: binaries, shared libraries, and support files (except fonts) to run
xfree86: X11R6 on Linux.
xfree86:
xfree86: It is modified with freetype-2.1.5, xft-2.1.2 and fontconfig-2.2.1.
xfree86: These packages are also patched by Firefly's CJK characters display
xfree86: enhancement latest patches by repackaging with explodepkg tools. |
|