[Xfce-bugs] [Bug 4448] New: Xflock4 should not just assume xlock is installed

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Oct 5 13:25:49 CEST 2008


http://bugzilla.xfce.org/show_bug.cgi?id=4448

           Summary: Xflock4 should not just assume xlock is installed
           Product: Xfce
           Version: unknown
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: xfce-utils
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: dieter at plaetinck.be


xlock is not installed by default on some distro's. (even if xorg is installed)
Yet, xflock4 tries to use it if it could not use xscreensaver or
gnome-screensaver, breaking the script.
Imho, xflock4 should also try to see if xlock is installed before trying to use
it.  If xflock4 can find neither xscreensaver, gnome-screensaver or xlock, it
should echo an error message on stderr. (and maybe a gtk error popup) stating
it cannot work.

Another approach would be stating xlock as a dependency of xflock4, but that
would be dirty if the user has xscreensaver or gnome-screensaver.  (In fact,
xflock4 depends on either one of the 3 options, it's up to the user to decide. 
But I've never seen a package manager supporting a structure like that)

See http://bugs.archlinux.org/task/11609

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list