GNU bug report logs - #23286
Unable to unlock xscreensaver in Xfce

Previous Next

Package: guix;

Reported by: Albin <albin <at> fripost.org>

Date: Wed, 13 Apr 2016 21:17:02 UTC

Severity: normal

Tags: moreinfo

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #37 received at 23286 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Albin <albin <at> fripost.org>, 23286 <at> debbugs.gnu.org
Subject: Re: bug#23286: Unable to unlock xscreensaver in Xfce
Date: Sun, 24 Apr 2016 15:47:20 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> On Thu, 14 Apr 2016 18:50:32 +0200
> ludo <at> gnu.org (Ludovic Courtès) wrote:
>> As Chris Webber mentioned on the mailing list (IIRC), you’ll also have
>> to enable xscreensaver in the OS config:
>> 
>>   (use-modules (gnu services xorg))
>> 
>>   (operating-system
>>     ;; …
>>     (services (cons (screen-locker-service "xscreensaver")
>>                     %desktop-services)))
>
> guix system: error: failed to load '/etc/config.scm':
> gnu/services/xorg.scm:442:41: In procedure screen-locker-service:
> gnu/services/xorg.scm:442:41: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): "xscreensaver"

Oops, my bad: this should be

  (use-modules (gnu services xorg) (gnu packages xdisorg))

  (operating-system
    ;; …
    (services (cons (screen-locker-service xscreensaver)
                    %desktop-services)))

where ‘xscreensaver’ is a reference to the ‘xscreensaver’ variable
exported by the (gnu packages xdisorg) module.

Ludo’.




This bug report was last modified 5 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.