LinuxSir.cn,穿越时空的Linuxsir!

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

今天花了一点时间搞了一个torsmo还有一点小问题

[复制链接]
发表于 2005-8-18 15:11:17 | 显示全部楼层 |阅读模式
用起来没什么问题,但是我必须要在xinitrc的脚本中加上sleep X才能正常显示torsmo,不知道为什么,如果不加sleep的话,就一闪而过了,为什么?
一部分的xinitrc

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

  10. #xftaskbar4&
  11. xfdesktop&
  12. #xfcalendar &
  13. adesklets&
  14. sleep 1
  15. torsmo -x 790 -y 520 &
复制代码
发表于 2005-8-18 23:11:36 | 显示全部楼层
俺也贴个 torsmo

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-18 23:25:33 | 显示全部楼层
防止变成水贴。。。删除图片咯
回复 支持 反对

使用道具 举报

发表于 2005-8-18 23:54:13 | 显示全部楼层
我是写在我的 .fvwm2rc 里面
Post by fallen
用起来没什么问题,但是我必须要在xinitrc的脚本中加上sleep X才能正常显示torsmo,不知道为什么,如果不加sleep的话,就一闪而过了,为什么?
一部分的xinitrc

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

  10. #xftaskbar4&
  11. xfdesktop&
  12. #xfcalendar &
  13. adesklets&
  14. sleep 1
  15. torsmo -x 790 -y 520 &
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-19 00:18:03 | 显示全部楼层
原来写在~/.xinitrc里的,后来发现不行,就干脆写到startxfce4里了
还是不行,后来发现加个sleep就行了,不知道为什么
算了,不管咯,今天花了一个下午把e17弄好了,反正torsmo在e17下用不了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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