Bug 318344

Summary: Ignoring: 'qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity'
Product: [Unmaintained] solid Reporter: Bernhard Scheirle <bernhard+kde>
Component: powermanagementAssignee: Dario Freddi <drf>
Status: RESOLVED DUPLICATE    
Severity: normal CC: oliver.henshaw, rdieter
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Scheirle 2013-04-14 15:02:12 UTC
I have this script running, but still the ScreenSaver kicks in.

#!/bin/bash
while true; do
	qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity
	sleep 30
done

Reproducible: Always

Steps to Reproduce:
1. run the script and do nothing
Actual Results:  
The screensaver shows up

Expected Results:  
The screensaver shouldn't kick in.
Comment 1 Rex Dieter 2013-04-15 17:32:43 UTC
I can't reproduce on my fedora 18 box.

What does this version output for you?

while true; do
    qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity
    sleep 30
    qdbus org.freedesktop.ScreenSaver /ScreenSaver GetSessionIdleTime
done

It should always print something approximately close to 30000
Comment 2 Bernhard Scheirle 2013-04-15 17:37:32 UTC
As expected the command gets ignored:

bash ./sleep 

29928

59938

89950
Comment 3 Rex Dieter 2013-04-15 17:43:03 UTC
triaged to solid/powermanagement
Comment 4 Rex Dieter 2013-04-15 17:43:51 UTC
What version of kde are you using? (I tested 4.10.2)
Comment 5 Bernhard Scheirle 2013-04-15 17:46:38 UTC
Kubuntu 12.10 with KDE 4.10.2 (as filed in the report)
Comment 6 Oliver Henshaw 2013-04-16 16:15:03 UTC
This is an xserver bug. Ubuntu 12.10 hasn't yet updated to the bugfix release which fixes this - see https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1164876

*** This bug has been marked as a duplicate of bug 310317 ***