summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-12-30 11:56:58 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2019-12-30 23:40:12 +0100
commit022ad24c4177c9bc29c3a751db544bc12d0804f4 (patch)
treec19e840d95ffbd25b7b1d1ff417fbf2a596cbc64 /doc
parent0e9c253313da7bdd72a6e712c75e366714ef23ff (diff)
downloadpatches-022ad24c4177c9bc29c3a751db544bc12d0804f4.tar
patches-022ad24c4177c9bc29c3a751db544bc12d0804f4.tar.gz
services: console-font: Update example with HDPI font suggestion.
This solution was kindly provided by Bernard M. Wiedemann. * gnu/services/base.scm (console-font-service-type): Add ter132n (terminus 132 nomal) font example, for HDPI displays. * doc/guix.texi (Invoking guix system): Update to `guix system search console' example output.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi28
1 files changed, 19 insertions, 9 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index efc59c1aaf..70e3dfea6a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -25958,26 +25958,36 @@ supported:
Display available service type definitions that match the given regular
expressions, sorted by relevance:
+@cindex HDPI
+@cindex HiDPI
+@cindex resolution
@example
-$ guix system search console font
+$ guix system search console
name: console-fonts
-location: gnu/services/base.scm:729:2
+location: gnu/services/base.scm:806:2
extends: shepherd-root
-description: Install the given fonts on the specified ttys (fonts are
-+ per virtual console on GNU/Linux). The value of this service is a list
-+ of tty/font pairs like:
+description: Install the given fonts on the specified ttys (fonts are per
++ virtual console on GNU/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"))
-relevance: 20
++ '(("tty1" . "LatGrkCyr-8x16")
++ ("tty2" . (file-append
++ font-tamzen
++ "/share/kbd/consolefonts/TamzenForPowerline10x20.psf"))
++ ("tty3" . (file-append
++ font-terminus
++ "/share/consolefonts/ter-132n"))) ; for HDPI
+relevance: 9
name: mingetty
-location: gnu/services/base.scm:1048:2
+location: gnu/services/base.scm:1190:2
extends: shepherd-root
description: Provide console login using the `mingetty' program.
relevance: 2
name: login
-location: gnu/services/base.scm:775:2
+location: gnu/services/base.scm:860:2
extends: pam
description: Provide a console log-in service as specified by its
+ configuration value, a `login-configuration' object.