xinitrc: falling back to xscreensaver does not work

Bug #161758 reported by Camille Dominique
2
Affects Status Importance Assigned to Milestone
xfce4-utils (Ubuntu)
Fix Released
Low
Lionel Le Folgoc

Bug Description

Binary package hint: xfce4-utils

If one has xscreensaver instead of gnome-screensaver installed, xscreensaver fails to start upon session startup.

The bug is in /etc/xdg/xfce4/xinitrc, line 58. The special parameter $? always expands to 0, because gnome-screensaver is run (or not) asynchronously (the shell does not wait for the command to finish, and the return status is 0).

Revision history for this message
Camille Dominique (cduntu) wrote :

I suggest to check for the existence of the screensaver binaries instead.

Here is a patch that works for me.

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you for your bug report. I'm marking this as triaged.

Lionel could you please check this patch ?

Changed in xfce4-utils:
importance: Undecided → Low
status: New → Triaged
Changed in xfce4-utils:
assignee: nobody → mrpouit
status: Triaged → In Progress
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

xfce4-utils (4.4.1-3ubuntu2) hardy; urgency=low

  * debian/patches/01_gnome_screensaver.patch: correctly check for
    gnome-screensaver, thanks Camille Dominique for the patch. (LP: #161758)

 -- Lionel Le Folgoc <email address hidden> Sat, 10 Nov 2007 22:04:16 +0100

Changed in xfce4-utils:
status: In Progress → Fix Released
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.