From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23286: Unable to unlock xscreensaver in Xfce Date: Sun, 24 Apr 2016 15:47:20 +0200 Message-ID: <8760v7jezb.fsf@gnu.org> References: <570EB72F.9060101@fripost.org> <87lh4gm8x3.fsf@gnu.org> <20160423095509.46afe0e7@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auKOL-0006s6-EO for bug-guix@gnu.org; Sun, 24 Apr 2016 09:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auKOI-0007vW-6S for bug-guix@gnu.org; Sun, 24 Apr 2016 09:48:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auKOI-0007vS-3o for bug-guix@gnu.org; Sun, 24 Apr 2016 09:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1auKOH-0001uH-Vb for bug-guix@gnu.org; Sun, 24 Apr 2016 09:48:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160423095509.46afe0e7@scratchpost.org> (Danny Milosavljevic's message of "Sat, 23 Apr 2016 09:55:09 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: Albin , 23286@debbugs.gnu.org Danny Milosavljevic skribis: > On Thu, 14 Apr 2016 18:50:32 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: >> As Chris Webber mentioned on the mailing list (IIRC), you=E2=80=99ll als= o have >> to enable xscreensaver in the OS config: >>=20 >> (use-modules (gnu services xorg)) >>=20 >> (operating-system >> ;; =E2=80=A6 >> (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 argu= ment in position 1 (expecting struct): "xscreensaver" Oops, my bad: this should be (use-modules (gnu services xorg) (gnu packages xdisorg)) (operating-system ;; =E2=80=A6 (services (cons (screen-locker-service xscreensaver) %desktop-services))) where =E2=80=98xscreensaver=E2=80=99 is a reference to the =E2=80=98xscreen= saver=E2=80=99 variable exported by the (gnu packages xdisorg) module. Ludo=E2=80=99.