From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: Disable ugly pc-speaker sound in Slim auth failure Date: Sun, 17 Mar 2019 09:10:47 +0100 Message-ID: References: <87zhpuajwx.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:42985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5R5H-0005s4-Vv for help-guix@gnu.org; Sun, 17 Mar 2019 04:23:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Qsh-0000ev-94 for help-guix@gnu.org; Sun, 17 Mar 2019 04:10:56 -0400 Received: from mx1.riseup.net ([198.252.153.129]:40934) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Qsg-0000eE-0M for help-guix@gnu.org; Sun, 17 Mar 2019 04:10:55 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.comZnavko Cc: Tobias Geerinckx-Rice , Help Guix znavko@tutanota=2Ecom skrev: (17 mars 2019 08:31:30 CET) >Successfully solved with this code in /etc/config=2Escm: > >(operating-system >=2E=2E=2E >=C2=A0 (kernel-arguments '("modprobe=2Eblacklist=3Dpcspkr,snd_pcsp")) >) > ># guix system reconfigure /etc/config=2Escm ># reboot > >PC speaker no longer beeps=2E Thank you! Great =F0=9F=98=83 >Still do not know why guix does not find `(use modules (al utils))` >module and how to get guile modules work=2E Tobias advised you to copy the procedure into your config=2Escm, not impor= t the module of Alex=2E Modules can be a little tricky to get right, read the details and examples= in the guile manual=2E > > >Mar 16, 2019, 4:46 PM by znavko@tutanota=2Ecom: > >> You know, Tobias! Just for experiment I've add (al utils) and guix >cuss out: >> >> (use-modules (gnu) (gnu system nss) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gnu system locale) ;;for locale-definition >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gnu services desktop) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ;;(gnu services dns) ;;for dnsmasq >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (srfi srfi-1) ;;for remove function >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gnu services networking) ;;for remove ntp >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gnu services avahi) ;;for remove avahi >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gnu services xorg) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ;;(gnu services databases);;for postgres >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gnu packages admin) ;;for wpa_supplicant >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (al utils) >> ) >> >> # guix system reconfigure /etc/config=2Escm >> guix system: error: failed to load '/etc/config=2Escm': >> ice-9/boot-9=2Escm:2803:6: In procedure resolve-interface: >> no code for module (al utils) >> >> What is wrong here? How to use guile modules? >> >> >> Mar 16, 2019, 4:00 PM by > somebody@not-sent-or-endorsed-by=2Etobias=2E= gr >> : >> >>> Zvavko, >>> >>> znavko wrote: >>> >>>> # guix system reconfigure /etc/config=2Escm >>>> /etc/config=2Escm:97:26: error: comma-separated: unbound variable >>>> hint: Did you forget a `use-modules' form? >>>> >>> >>> [=E2=80=A6] >>> >>>> Mentioned github page has no any use-modules string that can help=2E >>>> >>> >>> Look again=2E From system-config/os-main=2Escm: >>> >>> (al utils) >>> >>> And indeed, guile/modules/al/utils=2Escm has: >>> >>> (define (comma-separated =2E strings) >>> "Return string by concatenating STRINGS with commas=2E" >>> (mapconcat identity strings ",")) >>> >>> You can copy the definition to your own configuration, or just >replace it with the (trivial) MAPCONCAT call directly, or just use a >comma-separated string to begin with=2E >>> >>> Kind regards, >>> >>> T G-R >>> >> >> --=20 Sent from my k-9 mail for Android=2E