On Friday 24 July 2015 16:55:21 ianseeks wrote:
On Friday 24 Jul 2015 13:33:42 Stephan Kulow wrote:
On 24.07.2015 13:27, ianseeks wrote:
Hi
When i was using previous versions of opensuse 13.x this little script was given to me to allow me to watch a full movie without the KDE screensaver or ASUS monitor's timeout working. (see below) I can obviously turn off the screen saver but the ASUS monitor has no config options to change its own built in time out (well, i cant find any)
Now this doesn;t seem to work any longer since i've installed TW and Plasma, does anyone know what needs to be changed to make it work?
while /bin/true; do
qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity >
/dev/null; sleep 1m; done
You really should use the interface designed for it: http://people.freedesktop.org/~hadess/idle-inhibition-spec/re01.html
Greetings, Stephan
Thanks. not sure what to do with that, is that scriptable? Looks like something that should be in vlc as an option. i need to use it with the BBC iPlayer.
you can use the following script: ------- #! /bin/bash trap 'qdbus org.freedesktop.ScreenSaver /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver.UnInhibit $COOKIE && echo removed Inhibitor $COOKIE; exit' HUP INT QUIT ILL TRAP KILL BUS TERM COOKIE=$(qdbus org.freedesktop.ScreenSaver /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver.Inhibit ShellInhibitor Video) echo "Registered ScreenSaver inhibitor with cookie $COOKIE" while (true); do sleep 300 echo "ScreenSaver inhibitor still running with cookie $COOKIE" done ----- To stop the inhibition, just kill the script Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424 -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org