Am Dienstag, den 16.03.2010, 10:24 -0600 schrieb Kevin Fenzi:
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:
> >
> > 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?
right
I'm not sure that will work in the livesys init script. ;(
How about removing the screensaver part from xinitrc and let
xscreensaver start through /etc/xdg/autostart? Then we can just
rm /etc/xdg/autostart/xscreensaver-autostart.desktop in the livesys
initscript.
> > 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.
I have cleaned up the patch, it only affects xflock now.
> > 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.
Yeah, but unfortunately both have "OnlyShowIn=GNOME;", but we can change
this easily.
> 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. ;(
Not our fault. People than can at least configure whether they want to
start a screensaver or not. Currently they need a custom version if
xinitrc in their homedir and this is not very comfortable.
So my suggestion is to remove all the screensaver stuff from the startup
script. Everybody fine with it? If not I will go ahead.
Regards,
Christoph