[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: deutsche tastatur auf der konsole



On Thu, 29 Jun 2017 19:54:02 +0200, Mechtilde <ooo@mechtilde.de>
wrote:
>so sieht bei mir etc/default/keyboard aus
>
>XKBMODEL="pc105"
>XKBLAYOUT="de"
>XKBVARIANT="nodeadkeys"
>XKBOPTIONS="terminate:ctrl_alt_bksp"

Meine Serversysteme haben alle kein /etc/default/keyboard. Da die
Datei aus dem Paket keyboard-configuration zu kommen scheint, habe ich
dsa Paket mal installiert. Das hat denn Debconf-Fragen gestellt wie
der Installer es tut.

|1 [1/1356]mh@weave:~ $ head -n-0 /etc/default/keyboard
|# KEYBOARD CONFIGURATION FILE
|
|# Consult the keyboard(5) manual page.
|
|XKBMODEL="pc105"
|XKBLAYOUT="de"
|XKBVARIANT=""
|XKBOPTIONS=""
|
|BACKSPACE="guess"
|[2/1357]mh@weave:~ $

Aber die Tastatur auf der Konsole ist nach wie vor Englisch.
konsole(5) sagt was von setupcon, das ist aus dem Paket console-setup.
das alleine war zusammen mit sienen Dependencies über 7 MB groß, aber
jetzt ist die Tastatur auch Deutsch.

Auf einem "nackten" Serverimage zieht ein apt install console-setup
Pakete für insgesamt erschreckende elf Megabyte nach. Aber danach ist
auch auf diesem Image das Problem gelöst.

Nun an die Automatisierung: debconf-get-selections, install
console-setup, debconf-get-selections führt zum einschlägigen Diff:

|keyboard-configuration  keyboard-configuration/altgr    select  The default for the keyboard layout
|keyboard-configuration  keyboard-configuration/compose  select  No compose key
|keyboard-configuration  keyboard-configuration/ctrl_alt_bksp    boolean false
|keyboard-configuration  keyboard-configuration/layoutcode       string  de
|keyboard-configuration  keyboard-configuration/layout   select  German
|keyboard-configuration  keyboard-configuration/modelcode        string  pc105
|keyboard-configuration  keyboard-configuration/model    select  Generic 105-key (Intl) PC
|keyboard-configuration  keyboard-configuration/optionscode      string
|keyboard-configuration  keyboard-configuration/store_defaults_in_debconf_db     boolean true
|keyboard-configuration  keyboard-configuration/switch   select  No temporary switch
|keyboard-configuration  keyboard-configuration/toggle   select  No toggling
|keyboard-configuration  keyboard-configuration/unsupported_config_layout        boolean true
|keyboard-configuration  keyboard-configuration/unsupported_config_options       boolean true
|keyboard-configuration  keyboard-configuration/unsupported_layout       boolean true
|keyboard-configuration  keyboard-configuration/unsupported_options      boolean true
|keyboard-configuration  keyboard-configuration/variantcode      string
|keyboard-configuration  keyboard-configuration/variant  select  German
|keyboard-configuration  keyboard-configuration/xkb-keymap       select  dk

Wieder raus mit den Paketen, diff an debconf-set-selections
verfüttert, Pakete installiert, deutsche Tastatur, alles fein.

Danke, liebe Mechtilde, Du hast mich in die richtige Richtung
geschubst.

Grüße
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


Reply to: