There is an option in what is called heartbeat-cmd in MPlayer, which
calls the command every half minute. I wrote a script that appears to be
pressing the shift key, using the command xdotool. I called it
"shiftpress". Script:

nice -n 1 xdotool key shift

Then I set the option heartbeat-cmd in file ~ /.mplayer /config:

heartbeat-cmd="shiftpress"

During movie playback MPlayer will run the script "shiftpress". Command
xdotool emulates shift press and the screensaver is deferred.

-- 
Mplayer -stop-xscreensaver doesn't work with gnome-screensaver
https://bugs.launchpad.net/bugs/6620
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to