help-guix
[Top][All Lists]
Advanced

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

Re: error setting console font in system.scm


From: John Soo
Subject: Re: error setting console font in system.scm
Date: Sun, 14 Jun 2020 08:59:50 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi Fulbert,

Fulbert <fulbert@bluewin.ch> writes:

>   For this to work though, I just had to correct a typo : add a `comma`
> (to _unquote_, if I'm not wrong) before the `(file-append …`.
> So, for reference :
> ----
> ;; At the top of the file
> (use-modules
>   ...
>   (ice-9 match))
>
> ;; Replace %desktop-services with this:
> (modify-services %desktop-services
>   (console-font-service-type configuration =>
>     (map
>       (match-lambda
>         (("tty3" . f)
>           `("tty3" . ,(file-append
>                         font-terminus
>                         "/share/consolefonts/ter-128n.psf.gz")))
>         ((tty . font) `(,tty . ,font))) configuration)))
> ----

Ah, good catch. HTH!

- John



reply via email to

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