I wrote a workaround: x-no-blank-screen.sh and vlc (shell script too),
then placed vlc in the directory listed in the path so that it's called
instead of /usr/bin/vlc. The files are below, but it's a dirty hack
only. Maybe someone will find it useful, though.

=== vlc ===
#!/bin/bash
trap 'kill %+' EXIT
if type x-no-blank-screen.sh &>/dev/null; then
        x-no-blank-screen.sh&
fi
/usr/bin/vlc "$@"

== x-no-blank-screen.sh ==
#!/bin/bash
while :; do
        xdotool key ctrl;
        sleep 9m # bug: this sleep is not killed when vlc exits. I don't know 
how to fix it; I've warned you, the workaround is dirty :)
done

** Attachment added: "x-no-blank-screen.sh"
   
https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/1019312/+attachment/3222445/+files/x-no-blank-screen.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1019312

Title:
  xset -dpms does not disable power saving

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/1019312/+subscriptions

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

Reply via email to