unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Fulbert <fulbert@bluewin.ch>
To: help-guix@gnu.org
Subject: error setting console font in system.scm
Date: Sat, 13 Jun 2020 15:53:45 +0200	[thread overview]
Message-ID: <20200613135345.GB4715@bluewin.ch> (raw)

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]


  Hi Guixers,

  (define myself (guix-noob-user (not (programmer))))

  Trying to change console font with the following in "services" section
of my system configuration file :

----
…
  (services (append (list
        …
        (service console-font-service-type
          `(("tty3" . ,(file-append font-terminus "/share/consolefonts/ter-128n"))))
      ) %desktop-services))
…
----

which results in the following error when reconfiguring the system :

----
$ sudo guix system --dry-run reconfigure /etc/config.scm
guix system: error: service 'console-font-tty3' provided more than once
----

  I probably missunderstand something and/or ill-format the
configuration…?… Help appreciated.

  Below is the related [(guix) Base services] Texinfo section.

----
--scheme Variable: console-font-service-type
    Install the given fonts on the specified ttys (fonts are per
    virtual console on the kernel Linux).  The value of this service is
    a list of tty/font pairs.  The font can be the name of a font
    provided by the ‘kbd’ package or any valid argument to ‘setfont’,
    as in this example:
      `(("tty1" . "LatGrkCyr-8x16")
        ("tty2" . ,(file-append
                      font-tamzen
                      "/share/kbd/consolefonts/TamzenForPowerline10x20.psf"))
        ("tty3" . ,(file-append
                      font-terminus
                      "/share/consolefonts/ter-132n"))) ; for HDPI
----

[-- Attachment #2: guix-help-1.html --]
[-- Type: text/plain, Size: 1495 bytes --]

Hi Guixers,

(define myself (guix-noob-user (not (programmer))))

Trying to change console font with the following in "services" section of my sys
tem configuration file :

…
  (services (append (list
        …
        (service console-font-service-type
          `(("tty3" . ,(file-append font-terminus "/share/consolefonts/ter-128n"
))))
      ) %desktop-services))
…

which results in the following error when reconfiguring the system :

$ sudo guix system --dry-run reconfigure /etc/config.scm
guix system: error: service 'console-font-tty3' provided more than once

I probably missunderstand something and/or ill-format the configuration…?

Below is the related [(guix) Base services] Texinfo section.

--scheme Variable: console-font-service-type
    Install the given fonts on the specified ttys (fonts are per
    virtual console on the kernel Linux).  The value of this service is
    a list of tty/font pairs.  The font can be the name of a font
    provided by the ‘kbd’ package or any valid argument to ‘setfont’,
    as in this example:
      `(("tty1" . "LatGrkCyr-8x16")
        ("tty2" . ,(file-append
                      font-tamzen
                      "/share/kbd/consolefonts/TamzenForPowerline10x20.psf"))
        ("tty3" . ,(file-append
                      font-terminus
                      "/share/consolefonts/ter-132n"))) ; for HDPI
     __________________________________________________________________

   Last updated 2020-06-13 12:52:15 CEST

             reply	other threads:[~2020-06-13 15:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-13 13:53 Fulbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-13 14:32 error setting console font in system.scm Fulbert
2020-06-14  4:18 ` John Soo
2020-06-14 15:50   ` Fulbert
2020-06-14 15:59     ` John Soo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200613135345.GB4715@bluewin.ch \
    --to=fulbert@bluewin.ch \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).