From patchwork Wed Mar 18 15:45:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Soo X-Patchwork-Id: 20745 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4729327BBE4; Wed, 18 Mar 2020 15:46:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D48F016357 for ; Wed, 18 Mar 2020 15:46:14 +0000 (GMT) Received: from localhost ([::1]:52514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEata-00025n-Dm for patchwork@mira.cbaines.net; Wed, 18 Mar 2020 11:46:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42395) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEatT-00025U-O5 for guix-patches@gnu.org; Wed, 18 Mar 2020 11:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEatO-0006Gt-Pt for guix-patches@gnu.org; Wed, 18 Mar 2020 11:46:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEatO-0006Fq-M9 for guix-patches@gnu.org; Wed, 18 Mar 2020 11:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEatO-0005He-IO for guix-patches@gnu.org; Wed, 18 Mar 2020 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40120] [PATCH] doc: guix.texi: Add console-font-service-type to Base Services. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Mar 2020 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40120@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158454632220256 (code B ref -1); Wed, 18 Mar 2020 15:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2020 15:45:22 +0000 Received: from localhost ([127.0.0.1]:41061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEasj-0005Ge-VJ for submit@debbugs.gnu.org; Wed, 18 Mar 2020 11:45:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:35590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEash-0005GW-Qq for submit@debbugs.gnu.org; Wed, 18 Mar 2020 11:45:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41791) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEasf-0001sU-6N for guix-patches@gnu.org; Wed, 18 Mar 2020 11:45:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEasc-00025A-4w for guix-patches@gnu.org; Wed, 18 Mar 2020 11:45:15 -0400 Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]:46325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEasb-0001uf-Lk for guix-patches@gnu.org; Wed, 18 Mar 2020 11:45:14 -0400 Received: by mail-vs1-xe35.google.com with SMTP id z125so16733401vsb.13 for ; Wed, 18 Mar 2020 08:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=7VWxoX9dJv0OkAhxf4XnStswO3nxM7J676zgU4/oSoY=; b=rh48sgMKz0Qvr9m0W0DqN96w9POrC4sNJSZ3Z+okEtT3yX6EQrvYr+3takS4TjLJyb h9FdMkkHgIs//5kg/UNqdx+67f6qDC72qQhhBVVQYZV20O5jIXrbIMvJQAVGnOslt+F/ 7SVSpaHQ1TfnBJJjgJWzUuK8EcdUCwPIXUhusmW86aBp736nrP1rkFt/eDq35VsY+wXT FdbcvJIuP+BQUvaHxw8VUm0vhhwTb6oB9rtDkGPKmAVzxNpqCr9U6x7efHBYOxbta2qG AgUhnFczf15/b5MYV/DWx5znwcjDsGcokFdeuo+UcdWl6xSuvkOx3N0TyQ6MocfQUXEu SJ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7VWxoX9dJv0OkAhxf4XnStswO3nxM7J676zgU4/oSoY=; b=MrMSHtgsY/I2K/X7a2zFvC71BnOuZEcxhtGKq+uicflmlMn1T6Sta3v6YGybYO6zbM LBMACuOMBJhVn7OB9L2/wnRnARtH8aquZHiLlod9/ulzHqinEZ96L3f1IEQ1yQZ2q9ts cS9o4sGSEg5kxbmZwwQccGgsuBuXpPuSLQDNaGZ+75KABWgJ00Ecz1lmPHtnDyxm02eP Shs6LA2sBJGw/+Vgwf7LM/09vfh6xY6ym3iCmyOOVsFAD2Ednw9fQaU9DIvzpfebkS2p xUbFLQcLPGDS0PuqV/BUfEEffGRfkHfjSLWkTCSCTnHNGj/8YOh+oP7FXQTMmqW3XSUM 0eBw== X-Gm-Message-State: ANhLgQ0Vnpdv980bl41XX9+Ce4aPdNtiPM2PWMXsR4aAbWOvUMbVGFuR KNztWDiKL+IA8uwmeNo3zaM5/FvYLWDiKvjulu7hxNyy X-Google-Smtp-Source: ADFU+vujiMH9236ACK8mHdk26NJ45YXmqlQc6DGuTXcNFAjlnX9sajLoJ4FpNZaDhMwNdV6AUnVoCwW+QOyFRyrmih8= X-Received: by 2002:a05:6102:1157:: with SMTP id j23mr3658280vsg.80.1584546312334; Wed, 18 Mar 2020 08:45:12 -0700 (PDT) MIME-Version: 1.0 From: John Soo Date: Wed, 18 Mar 2020 15:45:01 +0000 Message-ID: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi guix, I struggled with the console-font-service-type for a long time (mostly becase setfont does not state you can specify a path). Documenting it in the info pages would have helped. Thanks! John From 6a7204a6396781c1bbc1db1defee362c0a8142f9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 18 Mar 2020 08:33:59 -0700 Subject: [PATCH] doc: guix.texi: Add console-font-service-type to Base Services. * doc/guix.texi (console-font-service-type): Add it. --- doc/guix.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 28808b0cd5..0626beffac 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12287,6 +12287,23 @@ symlink: Return a service that sets the host name to @var{name}. @end deffn +@deffn {Scheme Procedure} console-font-service-type @var{tty-font-pairs} +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 @code{kbd} +package or any valid argument to @command{setfont}, as in this example: + +@lisp +'((\"tty1\" . \"LatGrkCyr-8x16\") + (\"tty2\" . (file-append + font-tamzen + \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\")) + (\"tty3\" . (file-append + font-terminus + \"/share/consolefonts/ter-132n\"))) ; for HDPI +@end lisp +@end deffn + @deffn {Scheme Procedure} login-service @var{config} Return a service to run login according to @var{config}, a @code{} object, which specifies the message of the day, -- 2.25.1