gnome-screensaver forces itself upon xscreensaver users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-screensaver (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-screensaver
gnome-screensaver installs the DBus file
/usr/share/
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/
[D-BUS Service]
Name=org.
Exec=/bin/sh -c 'if xscreensaver-
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:/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-screensaver 2.30.0-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.31-11-rt i686
Architecture: i386
Date: Mon Feb 28 12:44:49 2011
GnomeSessionIdl
GnomeSessionInh
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
My remark about processes that "pull the trigger" was based on an empirical observation: if I start LXDE with a disabled /etc/xdg/ autostart/ update- notifier. desktop, xscreensaver runs, and there is no gnome screensaver. Whenever one of nm-applet or update-notifier starts, dbus loads gnome-screensaver.
What these two applets seem to have in common is that they both pop up small banner-like notices. I can't find any actual code in update-notifier that "tickles" the screensaver.