On Tue, 16 Mar 2010 01:16:38 +0100
Christoph Wickert <christoph.wickert(a)googlemail.com> wrote:
Am Freitag, den 12.03.2010, 16:52 -0700 schrieb Kevin Fenzi:
> I am going to switch the spin and add to the comps group
> xscreensaver for Xfce instead of gnome-screensaver.
>
> This is due to:
>
>
https://bugzilla.redhat.com/show_bug.cgi?id=570380
>
> So, questions:
>
> 1. Does anyone know how to disable xscreensaver from the command
> line?
xscreensaver-command -exit
Well, that has to run as the user with a valid display right?
I'm not sure that will work in the livesys init script. ;(
> 2. Can anyone confirm that if gnome-screensaver and xscreensaver
are
> both installed Xfce prefers/starts/uses xscreensaver?
No, we patched it to prefer gnome-screensaver back in 4.4.3. Check the
xfce-utils-4.4.3-gnome-screensaver.patch in xfce-utils. The patch not
only changes the default from x-ss to g-ss but also makes xflock check
which one is running instead of which one is installed. We should at
least keep that part because it fixes
http://bugzilla.xfce.org/show_bug.cgi?id=3770
Yeah, so we need to revert it back to prefer xscreensaver. I can look
at doing this soon.
> 3. Do we need to make any changes to the prefs setup to only
deal
> with xscreensaver?
For me the question is: Do we want /etc/xdg/xfce4/xinitrc to start a
screensaver? Both x-ss and g-ss already have a desktop file
in /etc/xdg/autostart/.
Good point.
I have to admit that I'm not really sure: On the one hand I think
that
we should not hardcode anything in xinitrc, on the other I wonder
whats the use of making it configurable through the session
properties if only one of the options really works.
Opinions?
Yeah, I would prefer not to hardcode anything, but the problem is then
people will manually setup gnome-screensaver and be surprised when it
doesn't work. ;(
I'm not sure the best answer here... will ponder on it.
kevin