1234567891011121314151617181920212223242526272829303132333435363738 |
- <?xml version="1.0" encoding="ISO-8859-1"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
- <!ENTITY % general-entities SYSTEM "../general.ent">
- %general-entities;
- ]>
- <sect1 id="ch-scripts-console">
- <title>Configuring the Linux Console</title>
- <?dbhtml filename="console.html"?>
- <para>Create the configuration file:</para>
- <screen><userinput>cat >/etc/sysconfig/console <<"EOF"
- KEYMAP="<replaceable>[arguments for loadkeys]</replaceable>"
- FONT="<replaceable>[arguments for setfont]</replaceable>"
- EOF</userinput></screen>
- <para>If you see that keycode 14 is Backspace and not Delete,
- create the following keymap snippet to fix this issue:</para>
- <screen><userinput>mkdir -p /etc/kbd && cat >/etc/kbd/bs-sends-del <<"EOF"
- keycode 14 = Delete Delete Delete Delete
- alt keycode 14 = Meta_Delete
- altgr alt keycode 14 = Meta_Delete
- keycode 111 = Remove
- altgr control keycode 111 = Boot
- control alt keycode 111 = Boot
- altgr control alt keycode 111 = Boot
- EOF</userinput></screen>
- <para>Then tell the <command>console</command> script to load this snippet
- after the main keymap:</para>
- <screen><userinput>cat >>/etc/sysconfig/console <<"EOF"
- KEYMAP_CORRECTION="/etc/kbd/bs-sends-del"
- EOF</userinput></screen>
- </sect1>
|