LinuxSir.cn,穿越时空的Linuxsir!

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

gnome-screensaver-command -p 不起作用

[复制链接]
发表于 2011-5-1 18:52:04 | 显示全部楼层 |阅读模式
有人遇到过没?

mplayer 看片一会就出来了,很讨厌

$ while /bin/true ; do gnome-screensaver-command -q; gnome-screensaver-command -p;sleep 60;done
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is inactive
The screensaver is not inhibited
The screensaver is active
The screensaver is not inhibited
发表于 2011-5-1 19:07:52 | 显示全部楼层
我不用 gnome,但是 mplayer 有禁止 screensaver 的参数;kde下工作的很好
  1. $ cat ~/.mplayer/config
  2. # disble screenserver when playing movie
  3. stop-xscreensaver = "yes"
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-1 19:33:13 | 显示全部楼层
这个好像只对 xscreensaver 起作用。
回复 支持 反对

使用道具 举报

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

本版积分规则

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