unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* error setting console font in system.scm
@ 2020-06-13 14:32 Fulbert
  2020-06-14  4:18 ` John Soo
  0 siblings, 1 reply; 5+ messages in thread
From: Fulbert @ 2020-06-13 14:32 UTC (permalink / raw)
  To: help-guix


  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
----


^ permalink raw reply	[flat|nested] 5+ messages in thread
* error setting console font in system.scm
@ 2020-06-13 13:53 Fulbert
  0 siblings, 0 replies; 5+ messages in thread
From: Fulbert @ 2020-06-13 13:53 UTC (permalink / raw)
  To: help-guix

[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-14 16:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2020-06-13 13:53 Fulbert

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).