From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Disable ugly pc-speaker sound in Slim auth failure Date: Sat, 16 Mar 2019 17:42:08 +0100 (CET) Message-ID: References: <87zhpuajwx.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59622_1619410661.1552754528837" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5CNv-0001H0-MX for help-guix@gnu.org; Sat, 16 Mar 2019 12:42:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5CNu-0002KM-Gc for help-guix@gnu.org; Sat, 16 Mar 2019 12:42:11 -0400 Received: from w1.tutanota.de ([81.3.6.162]:17234) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5CNt-0002Jn-T9 for help-guix@gnu.org; Sat, 16 Mar 2019 12:42:10 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id CDB56FA08E9 for ; Sat, 16 Mar 2019 16:42:08 +0000 (UTC) In-Reply-To: <87zhpuajwx.fsf@nckx> 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: Tobias Geerinckx-Rice Cc: Help Guix ------=_Part_59622_1619410661.1552754528837 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you! But I've found another config without this complexity. Using ddg.gg: guix config pcspkr I've found=C2=A0 https://gitlab.com/pkill-9/guix-config/blob/master/system-= config.scm#L123 (operating-system ... =C2=A0 (kernel-arguments '("modprobe.blacklist=3Dpcspkr")) ) And compiled. Guix has built qemu and grub. But pc speaker sound rests there. And also after start Xfce some pc speake= r noises occurs. So I do not know. Do you think this config line is incorrect? Mar 16, 2019, 4:00 PM by somebody@not-sent-or-endorsed-by.tobias.gr: > Zvavko, > > znavko wrote: > >> # guix system reconfigure /etc/config.scm >> /etc/config.scm: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. >> > > Look again. From system-config/os-main.scm: > > (al utils) > > And indeed, guile/modules/al/utils.scm has: > > (define (comma-separated . strings) > "Return string by concatenating STRINGS with commas." > (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. > > Kind regards, > > T G-R > ------=_Part_59622_1619410661.1552754528837 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you! But I've found another c= onfig without this complexity.

Using ddg.gg: guix c= onfig pcspkr
I've found&nb= sp; https://gitlab.com/pkill-9/guix-config/blob/master/system-config.scm#L1= 23

(operating-system
...
&nb= sp; (kernel-arguments '("modprobe.blacklist=3Dpcspkr"))
)

And compiled. Guix = has built qemu and grub.
= But pc speaker sound rests there. And also after start Xfce some pc speaker= noises occurs. So I do not know.
Do you think this config line is incorrect?



Mar 16, 2019, 4:00 PM by somebody@not-sent-or= -endorsed-by.tobias.gr:
=
Zvavko,

zna= vko wrote:
# g= uix system reconfigure /etc/config.scm
/etc/config.scm:97:26: error: comma-separated: unbound variabl= e
hint: Did you forget a `= use-modules' form?

[=E2=80=A6]
Mentioned github page has no any use-modules string that can = help.

Look again. From system-config/os-mai= n.scm:

(al utils)

And inde= ed, guile/modules/al/utils.scm has:

(define (comma= -separated . strings)
"Re= turn string by concatenating STRINGS with commas."
(mapconcat identity strings ","))

You can copy the definition to your own configuration, or just re= place it with the (trivial) MAPCONCAT call directly, or just use a comma-se= parated string to begin with.

Kind regards,

T G-R

------=_Part_59622_1619410661.1552754528837--