|
发表于 2003-12-11 15:18:50
|
显示全部楼层
这是我的 ~/.xfce4/xinitrc 文件,用startxfce4启动
- #!/bin/sh
- xsetroot -solid black -cursor_name watch
- # Start-up stuff from ~/Desktop/Autostart directory, if it exists
- # (as it seems to be the new standard)
- if [ -d "$HOME/Desktop/Autostart" ]; then
- for i in `ls -1 ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
- if [ -x $HOME/Desktop/Autostart/$i ]; then
- $HOME/Desktop/Autostart/$i &
- fi
- done
- fi
- if [ -f $HOME/.Xmodmap ]; then
- xmodmap $HOME/.Xmodmap
- 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
- export XMODIFIERS=@im=fcitx
- fcitx &
- # Launch xscreensaver (if available)
- xscreensaver -no-splash &
- xfce-mcs-manager
- xfwm4 --daemon
- xfdesktop&
- xfce4-iconbox&
- panel=`which xfce4-panel`
- if test "x$panel" != "x" ; then
- $panel
- ret=$?
- while [ $ret -ne 0 ] ; do
- echo "A crash occured in the panel"
- echo "Please report this to the [email]xfce4-dev@moongroup.com[/email] list"
- echo "Meanwhile the panel will be restarted"
- $panel
- ret=$?
- done
- fi
- xsetroot -solid black -cursor_name watch
复制代码 |
|