From 4e0b9813de9e75b5b487e76aa48799b332555b21 Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Wed, 27 Feb 2013 13:04:16 -0500 Subject: [PATCH] docs: man: document configuration files in kmscon(1) This moves the description of kmscon.conf to a separate "Configuration" section and adds some example kmscon.conf configuration lines. This addresses #71 (at least, with this change in place I probably would not have been momentarily confused by the exact syntax used in kmsconf.conf). (removed trailing whitespaces) Signed-off-by: David Herrmann --- docs/man/kmscon.xml | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/docs/man/kmscon.xml b/docs/man/kmscon.xml index 9fe0ba1..3d8a639 100644 --- a/docs/man/kmscon.xml +++ b/docs/man/kmscon.xml @@ -59,16 +59,6 @@ When run in listener mode, kmscon watches the system for new seats and automatically provides a system console on it. - - Default configuration directory is /etc/kmscon/ - and the main configuration file is called - /etc/kmscon/kmscon.conf. You can provide an - additional configuration file for each seat via - /etc/kmscon/{seatname}.kmscon.conf. - Any command-line option that can be passed to kmscon can also be put - into those configuration files. Command-line options overwrite - configuration file options. And per-seat configuration files overwrite - the global configuration file. @@ -525,6 +515,27 @@ + Configuration + Default configuration directory is /etc/kmscon/ + and the main configuration file is called + /etc/kmscon/kmscon.conf. You can provide an + additional configuration file for each seat via + /etc/kmscon/{seatname}.kmscon.conf. + Any command-line option that can be passed to kmscon can also be put + into those configuration files. For example: + + + font-name=Meslo LG M + font-size=14 + login=/bin/bash -i + + + Command-line options overwrite + configuration file options. And per-seat configuration files overwrite + the global configuration file. + + + Default Mode In default mode, kmscon acts as a replacement for agetty1. -- 2.7.4