LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1348|回复: 2

请教xfce4下的fcitx自动加载问题

[复制链接]
发表于 2003-12-11 13:57:35 | 显示全部楼层 |阅读模式
我的slackware9.1+xfce4无法自动加载fcitx,
请哪位老大把xfce4下能自动加载fcitx的.xinitrc文件贴出来让我看一下呀,谢谢!:help :thank
发表于 2003-12-11 15:18:50 | 显示全部楼层
这是我的 ~/.xfce4/xinitrc 文件,用startxfce4启动


  1. #!/bin/sh
  2. xsetroot -solid black -cursor_name watch

  3. # Start-up stuff from ~/Desktop/Autostart directory, if it exists
  4. # (as it seems to be the new standard)
  5. if [ -d "$HOME/Desktop/Autostart" ]; then
  6.   for i in `ls -1 ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
  7.     if [ -x $HOME/Desktop/Autostart/$i ]; then
  8.       $HOME/Desktop/Autostart/$i &
  9.     fi
  10.   done
  11. fi

  12. if [ -f $HOME/.Xmodmap ]; then
  13.         xmodmap $HOME/.Xmodmap
  14. fi

  15. # Those are my settings, change them as appropriate...
  16. # Xft DPI: 96
  17. # Xft.hintstyle: hintnone/hintslight/hintmedium/hintfull
  18. # Xft hinting: 1/0

  19. xrdb -merge - << EOF
  20. Xft.dpi: 96
  21. Xft.hinting: 1
  22. Xft.hintstyle: hintmedium
  23. EOF

  24. export XMODIFIERS=@im=fcitx
  25. fcitx &

  26. # Launch xscreensaver (if available)
  27. xscreensaver -no-splash &

  28. xfce-mcs-manager
  29. xfwm4 --daemon
  30. xfdesktop&
  31. xfce4-iconbox&
  32. panel=`which xfce4-panel`
  33. if test "x$panel" != "x" ; then
  34.         $panel
  35.         ret=$?
  36.         while [ $ret -ne 0 ] ; do
  37.                 echo "A crash occured in the panel"
  38.                 echo "Please report this to the [email]xfce4-dev@moongroup.com[/email] list"
  39.                 echo "Meanwhile the panel will be restarted"
  40.                 $panel
  41.                 ret=$?
  42.         done
  43. fi
  44. xsetroot -solid black -cursor_name watch
复制代码
 楼主| 发表于 2003-12-12 10:32:38 | 显示全部楼层
我按照上面的样子改写后还是不行,看来只好先手动启动吧。谢谢windrose版主。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表