bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23286: Unable to unlock xscreensaver in Xfce


From: Ludovic Courtès
Subject: bug#23286: Unable to unlock xscreensaver in Xfce
Date: Sun, 24 Apr 2016 15:47:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

> On Thu, 14 Apr 2016 18:50:32 +0200
> address@hidden (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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]