summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-03-12 17:31:47 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-03-12 17:31:47 +0100
commitd240c27ecb8c107eb52ab7a80eadbae3dab803e2 (patch)
tree86cf5213b876850d3e6c2bc6dd00fe95a522d218 /docs
parente6d0d785436152a12f7ca9f159becba9fa17260d (diff)
kmscon: add --xkb-keymap option for predefined keymaps
This adds an --xkb-keymap <FILE> option to kmscon. When given, kmscon will try to compile the keymap from the file before trying the other options (like the XkbKeymap option in xorg.conf). This is useful for users who have a customized XKB keymap, which is usually kept in a single file. Example, in X: xkbcomp $DISPLAY my_keymap.xkb Customize my_keymap.xkb to your liking, and then in .xinitrc, or xorg.conf: xkbcomp my_keymap.xkb $DISPLAY Now you can also do this in kmscon.conf. Additionally, lacking such an option, kmscon is quite difficult to use without an installed xkeyboard-config package, which provides the infrastructure for the "rules" configuration mechanism. We might even want to distribute some plain xkb file as a last ditch, for robustness, if even the default RMLVO fails... without a keyboard a terminal is not very useful. (changed Ran's patch to use *_from_string() instead of *_from_file()) Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/man/kmscon.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/man/kmscon.xml b/docs/man/kmscon.xml
index 7777ede..9fe0ba1 100644
--- a/docs/man/kmscon.xml
+++ b/docs/man/kmscon.xml
@@ -300,6 +300,15 @@
</varlistentry>
<varlistentry>
+ <term><option>--xkb-keymap {file}</option></term>
+ <listitem>
+ <para>Path to a single predefined keymap file. This takes precedence
+ over the above options. An empty path "" is interpreted as not
+ using a keymap. (default: not used)</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--xkb-repeat-delay {delay}</option></term>
<listitem>
<para>Delay after key was pressed until key-repeat starts (in