help-guix
[Top][All Lists]
Advanced

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

Re: Disable ugly pc-speaker sound in Slim auth failure


From: znavko
Subject: Re: Disable ugly pc-speaker sound in Slim auth failure
Date: Sat, 16 Mar 2019 11:52:04 +0100 (CET)

Hi! According to Guix Manual 6.2.11 Initial RAM Disk and Guile Manual 6.6.9.6 List Modification
I added this to config.scm:

(use modules
...
             (gnu system linux-initrd)
             (gnu packages linux)
)

(operating-system
...
  (initrd
          (base-initrd file-systems
          #:linux-modules '(delq (pcspkr %base-initrd-modules))))
)

But the error occurs:

# guix system reconfigure /etc/config.scm
Backtrace:
          12 (primitive-load "/root/.config/guix/current/bin/guix")
In guix/ui.scm:
  1654:12 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9 10 (catch _ _ #<procedure 7f2b8c6409b8 at guix/ui.scm:624…> …)
    829:9  9 (catch _ _ #<procedure 7f2b8c6409d0 at guix/ui.scm:750…> …)
In guix/scripts/system.scm:
   1292:8  8 (_)
In guix/status.scm:
    810:4  7 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1153:6  6 (process-action _ _ _)
In guix/store.scm:
  1737:24  5 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/system.scm:
  1166:13  4 (_ _)
    850:9  3 (perform-action reconfigure #<<operating-system> kerne…> …)
In gnu/system.scm:
   950:26  2 (operating-system-bootcfg #<<operating-system> kernel:…> …)
   967:26  1 (operating-system-boot-parameters #<<operating-system>…> …)
In unknown file:
           0 (_ (#<<file-system> device: "/dev/sda1" mount-point: …>) …)

ERROR: Wrong type to apply: #<file-append #<<computed-file> name: "raw-initrd" gexp: #<gexp (begin (use-modules (gnu build linux-initrd)) (mkdir #<gexp-output out>) (call-with-output-file (string-append #<gexp-output out> "/references") (lambda (port) (simple-format port "~A\n" #<gexp-input #<package address@hidden gnu/packages/make-bootstrap.scm:579 3720180>:out>))) (build-initrd (string-append #<gexp-output out> "/initrd.cpio.gz") #:guile #<gexp-input #<package address@hidden gnu/packages/make-bootstrap.scm:579 3720180>:out> #:init #<gexp-input #<<program-file> name: "init" gexp: #<gexp  403c0c0> guile: #<package address@hidden gnu/packages/make-bootstrap.scm:579 3720180> path: ("/gnu/store/1vyq5wcgwzk0vgd9kc8qgp1f5x0b3pki-guix-module-union/share/guile/site/2.2" "/run/current-system/profile/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile")>:out> #:references-graphs (quote ("closure")) #:gzip (string-append #<gexp-input #<package address@hidden gnu/packages/compression.scm:198 3706c00>:out> "/bin/gzip"))) 403da50> guile: #f options: (#:references-graphs (("closure" #<<program-file> name: "init" gexp: #<gexp  403c0c0> guile: #<package address@hidden gnu/packages/make-bootstrap.scm:579 3720180> path: ("/gnu/store/1vyq5wcgwzk0vgd9kc8qgp1f5x0b3pki-guix-module-union/share/guile/site/2.2" "/run/current-system/profile/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile")>)))> "/initrd.cpio.gz">


Let me know what to correct??



Mar 14, 2019, 4:00 AM by address@hidden:
Hello! Please, what should I use in config.scm for disable pc-speaker sound while authorize in Slim and have an error in password?


$ cat /etc/config.scm
...
(services (cons*
...
 (modify-services %desktop-services

                                (slim-service-type config =>
                                              (slim-configuration
                                               (inherit config)
                                               (startx
                                                (xorg-start-command
                                                 #:configuration-file
                                                 (xorg-configuration-file
                                                  #:extra-config
                                                  '(
"Section \"InputClass\"
        Identifier \"touchpad\"
        Driver \"libinput\"
        MatchIsTouchpad \"on\"
        Option \"Tapping\" \"on\"
EndSection"
                                 ))))))
)  ;end of modify-services 2nd
...
)


reply via email to

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