You have been subscribed to a public bug:

Binary package hint: gnome-screensaver

gnome-screensaver installs the DBus file

/usr/share/dbus-1/services/org.gnome.ScreenSaver.service

which unconditionally starts gnome-screensaver whenever some other
process (e.g. nm-applet, update-notifier) "pull the trigger". This is
troubling for users of non-gnome desktop environments, e.g. LXDE.

A workaround for me was to install the following
/usr/local/share/dbus-1/services/org.gnome.ScreenSaver.service:


[D-BUS Service]
Name=org.gnome.ScreenSaver
Exec=/bin/sh -c 'if xscreensaver-command -version >/dev/null 2>&1; then renice 
+10 $$ >/dev/null 2>&1; while sleep 60; do :; done else exec 
/usr/bin/gnome-screensaver; fi' gnome-screensaver-placeholder

The dummy process remains active because if it exited immediately, dbus
might try to restart gnome-screensaver. I don't know if this is really
necessary.

First of all, this needs to be fixed -- screensavers should not step on
each others' toes. Secondly, is there a more elegant workaround? Note
that because of bug #726471, a user can't override a misguided
/usr/share/ service file in his home (~/.local/share) configuration:

https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/726471

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-screensaver 2.30.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.31-11.154-rt
Uname: Linux 2.6.31-11-rt i686
Architecture: i386
Date: Mon Feb 28 12:44:49 2011
GnomeSessionIdleInhibited: Unknown
GnomeSessionInhibitors: Failed to acquire
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gnome-screensaver
WindowManager: gnome-wm

** Affects: gnome-screensaver (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid
-- 
gnome-screensaver forces itself upon xscreensaver users
https://bugs.launchpad.net/bugs/726480
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to gnome-screensaver in ubuntu.

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

Reply via email to