gnome-screensaver does not install a DBUS service definitiion file

Bug #515832 reported by Kensey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Screensaver
Fix Released
Wishlist
gnome-screensaver (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome-screensaver

In karmic's GNOME desktop, locking the screen is accomplished through D-BUS by using the Lock method provided by gnome-screensaver. However, the package installs no service file so D-BUS calls don't work.

Initially I was not able to lock the screen using the indicator-session-applet "Lock Screen" menu item, Ctrl-Alt-L, or sending the D-BUS command manually. After creating and customizing the file /usr/share/d-bus1/services/org.gnome.ScreenSaver.service (attached), the latter two methods began working immediately, and the menu item began working after a reboot.

ProblemType: Bug
Architecture: amd64
Date: Mon Feb 1 21:34:58 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: fglrx
Package: gnome-screensaver 2.28.0-0ubuntu3.3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: gnome-screensaver
Uname: Linux 2.6.31-17-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:3930): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:4047): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:4038): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:4037): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -11 and height 24

Revision history for this message
Kensey (ubuntu-orion-com) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screensaver - 2.28.0-1ubuntu7

---------------
gnome-screensaver (2.28.0-1ubuntu7) lucid; urgency=low

  * debian/org.gnome.ScreenSaver.service, debian/gnome-screensaver.install:
    Provide a D-Bus service file so gnome-screensaver gets respawned if it
    dies. This ensures screen locking will work more reliably. (LP: #515832)
  * debian/patches/12_use_dbus_service.patch: gnome-screensaver-command
    should use D-Bus to start gnome-screensaver if it is not running.
 -- Marc Deslauriers <email address hidden> Thu, 04 Feb 2010 09:58:05 -0800

Changed in gnome-screensaver (Ubuntu):
status: New → Fix Released
Changed in gnome-screensaver:
status: Unknown → Fix Released
Changed in gnome-screensaver:
importance: Unknown → Wishlist
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.