dbus calls to simulateUserActivity do not have any effect.

Bug #1030486 reported by ProzakLord
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) Description: Ubuntu 12.04 LTS
Release: 12.04

2) gnome-screensaver:
  Installed: 3.4.1-0ubuntu1
  Candidate: 3.4.1-0ubuntu1
  Version table:
 *** 3.4.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

3) From a Python program called sitquietly (https://launchpad.net/sitquietly) the following calls are made:

 self.bus = dbus.SessionBus()
    self.scrSvr = bus.get_object('org.gnome.ScreenSaver','/org/gnome/ScreenSaver')
    self.scrSvr.SimulateUserActivity()

As part of the execution of sitquietly with the previous lines of code in I expect that the computer does not go to sleep.

4) What happens is that the screen saver is started, and then the computer goes to sleep.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-screensaver 3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
CheckboxSubmission: 7255a9f03c0dd9d32ada4c89d0f8d92e
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Sun Jul 29 12:09:47 2012
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GsettingsGnomeSession:
 org.gnome.desktop.session idle-delay uint32 300
 org.gnome.desktop.session session-name 'ubuntu'
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
ProcEnviron:
 TERM=screen-bce
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-screensaver
UpgradeStatus: Upgraded to precise on 2012-04-28 (91 days ago)
WindowManager: metacity

Revision history for this message
ProzakLord (jamiguet) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.