~eugenenuke/ubuntu/wily/console-setup/fix-for-1565542

« back to all changes in this revision

Viewing changes to debian/console-setup.templates

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-01-05 17:02:40 UTC
  • mfrom: (3.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110105170240-2i4fqtyjjikwlnit
Tags: 1.57ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Use keymapper to generate decision trees for a restricted subset of
    the pc105 model.
  - If the detect-keyboard debconf plugin is available
    (cdebconf-newt-detect-keys in the installer), then offer to use it to
    detect the keyboard layout.
  - Reset keyboard-configuration/toggle to the default if it's set to "No
    toggling" and you select a non-Latin layout.
  - Change the default font from Fixed to VGA for Lat15; while it's not
    entirely complete, it looks better and is largely good enough.
  - Automatically save the font and keymap to /etc in
    /etc/init.d/console-setup if it isn't being run from init. Similarly,
    ensure that the font and keymap are saved to /etc during initial
    installation.
  - Set keymap and font in the initramfs if possible and sensible.
  - Set default variant for French to oss.
  - Set default for Dutch to us(intl), not just us.
  - Set default layout for Vietnam to 'us'.
  - Set default layout for Kurdish to tr(ku).
  - Stop running debconf-updatepo on clean.
  - Update for new layouts and variants for Montenegro and Serbia, and
    migrate configuration files from the old layouts.
  - Add a "Do not configure keyboard; keep kernel keymap" model option,
    preseedable by keyboard-configuration/modelcode=SKIP.
  - Drop the layout/variant priority to high on fresh installs.
  - Honour OVERRIDE_ALLOW_PRESEEDING environment variable when deciding
    whether to allow preseeding, which is ordinarily only allowed in d-i.
  - If keyboard-configuration/layoutcode is preseeded but not marked as
    seen, then set the default layout but don't lower the layout question
    priority or preseed console-setup/ask_detect.
  - Add an apport hook.
  - Generate a locale locally for translating keyboard names in
    kbdnames-maker.
  - Replace usplash detection code with Plymouth detection code.
  - Move boot tasks to a combination of two udev rules and a single
    Upstart job, ensuring that they're run at points when we are able to
    satisfy the constraints on the relevant ioctls.
  - Depend on kbd (>= 1.15-1ubuntu3) for a valuable loadkeys improvement.
  - Don't try to call update-rc.d if it doesn't exist, such as in d-i.
  - Don't gzip font or ACM files in /etc/console-setup/.  The space saving
    is negligible, and it's more efficient not to need to uncompress them
    at boot time.
  - Remove iconv transliteration.  We don't use non-UTF-8 locales, and it
    breaks ubiquity as we haven't generated the configured locale by the
    time we hit console-setup.
* Go back to always asking layout before variant.
* Migrate from old console-setup/* to new keyboard-configuration/*
  question names.
* Use the default keyboard model if an existing configuration file sets
  XKBMODEL="".
* Exit cleanly from initramfs hook if /etc/default/keyboard or
  /etc/default/console-setup don't exist for some reason (LP: #634402).
* Fix description of upstart job to not incorrectly claim that it sets the
  font (LP: #632366).

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#
7
7
# Even minor modifications require translation updates and such
8
8
# changes should be coordinated with translators and reviewers.
 
9
#
 
10
# Most templates in this file should be leaved without default value.
 
11
# In order to support the preseeding in the udeb, the default values
 
12
# in this file have to be preferred over the complex guessing-work in
 
13
# the config script of console-setup.
9
14
 
10
 
Template: debian-installer/console-setup/title
 
15
Template: console-setup/use_system_font
11
16
Type: text
12
 
# Main menu item. Please keep below 55 columns
13
 
_Description: Configure the keyboard
 
17
# :sl2:
 
18
_Description: Do not change the boot/kernel font
14
19
 
15
 
Template: console-setup/codeset
 
20
Template: console-setup/codeset47
16
21
Type: select
 
22
# :sl3:
17
23
__Choices: . Arabic, # Armenian, # Cyrillic - KOI8-R and KOI8-U, # Cyrillic - non-Slavic languages, # Cyrillic - Slavic languages (also Bosnian and Serbian Latin), . Ethiopic, # Georgian, # Greek, # Hebrew, # Lao, # Latin1 and Latin5 - western Europe and Turkic languages, # Latin2 - central Europe and Romanian, # Latin3 and Latin8 - Chichewa; Esperanto; Irish; Maltese and Welsh, # Latin7 - Lithuanian; Latvian; Maori and Marshallese, . Latin - Vietnamese, # Thai, . Combined - Latin; Slavic Cyrillic; Hebrew; basic Arabic, . Combined - Latin; Slavic Cyrillic; Greek, . Combined - Latin; Slavic and non-Slavic Cyrillic
18
 
Default: . Combined - Latin; Slavic Cyrillic; Hebrew; basic Arabic
 
24
# :sl3:
19
25
_Description: Character set to support:
20
26
 Please choose the character set that should be supported by the console font.
21
27
 .
22
28
 If you don't use a framebuffer, the choices that start with "." will
23
29
 reduce the number of available colors on the console.
24
30
 
25
 
Template: console-setup/model
26
 
Type: select
27
 
Choices: ${CHOICES}
28
 
_Description: Keyboard model:
29
 
 
30
 
Template: console-setup/layout
31
 
Type: select
32
 
Choices: ${CHOICES}
33
 
Default: U.S. English
34
 
_Description: Origin of the keyboard:
35
 
 
36
 
Template: console-setup/variant
37
 
Type: select
38
 
Choices: ${CHOICES}
39
 
_Description: Keyboard layout:
40
 
 There is more than one possible keyboard layout with the origin you selected.
41
 
 Please select the layout matching the keyboard for this machine.
42
 
 
43
 
Template: console-setup/unsupported_config_layout
44
 
Type: boolean
45
 
Default: true
46
 
_Description: Keep unsupported settings in configuration file?
47
 
 The configuration file /etc/default/console-setup specifies a
48
 
 keyboard layout (${XKBLAYOUT}), which is not supported
49
 
 by the configuration program.
50
 
 .
51
 
 Please choose whether you want to keep it. If you choose this option,
52
 
 no questions about the keyboard layout
53
 
 will be asked and the current configuration will be preserved.
54
 
 
55
 
Template: console-setup/unsupported_layout
56
 
Type: boolean
57
 
Default: true
58
 
_Description: Keep default keyboard layout (${XKBLAYOUT})?
59
 
 The default value for the keyboard layout is based on the currently
60
 
 defined language/region and the settings in /etc/X11/xorg.conf. This
61
 
 default value is ${XKBLAYOUT}, which is not supported
62
 
 by the configuration program.
63
 
 .
64
 
 Please choose whether you want to keep it. If you choose this option,
65
 
 no questions about the keyboard layout
66
 
 will be asked.
67
 
 
68
 
Template: console-setup/unsupported_config_options
69
 
Type: boolean
70
 
Default: true
71
 
_Description: Keep unsupported options (${XKBOPTIONS})?
72
 
 The configuration file /etc/default/console-setup specifies options
73
 
 for the keyboard layout (${XKBOPTIONS}) that are not
74
 
 supported by the configuration program.
75
 
 
76
 
Template: console-setup/unsupported_options
77
 
Type: boolean
78
 
Default: true
79
 
_Description: Keep unsupported options (${XKBOPTIONS})?
80
 
 The default value for the options of the keyboard layout is based on
81
 
 the currently defined language/region and the settings in /etc/X11/xorg.conf.
82
 
 This default value is ${XKBOPTIONS}, which is not supported
83
 
 by the configuration program.
84
 
 
85
 
Template: console-setup/fontface
86
 
Type: select
87
 
Choices: ${CHOICES}
88
 
Default: Fixed
 
31
Template: console-setup/fontface47
 
32
Type: select
 
33
Choices: ${CHOICES}
89
34
# The languages with many non-ASCII letters should not use formatted
90
35
# lists.  If you decide to use formatted lists then keep the lines
91
36
# relatively short.
 
37
# :sl2:
92
38
_Description: Font for the console:
93
39
 "VGA" has a traditional appearance and has medium coverage of
94
40
 international scripts. "Fixed" has a simplistic appearance and has
99
45
 If you prefer a bold version of the Terminus font, choose either
100
46
 TerminusBold (if you use a framebuffer) or TerminusBoldVGA (otherwise).
101
47
 
102
 
Template: console-setup/fontsize-text
 
48
Template: console-setup/fontsize-text47
103
49
Type: select
104
50
Choices: ${CHOICES}
105
 
Default: 16
 
51
# :sl2:
106
52
_Description: Font size:
107
53
 Please select the size of the font for the Linux console. For
108
54
 reference, the font used when the computer boots has size 16.
109
55
 
110
 
Template: console-setup/fontsize-fb
 
56
Template: console-setup/fontsize-fb47
111
57
Type: select
112
58
Choices: ${CHOICES}
113
 
Default: 16
 
59
# :sl2:
114
60
_Description: Font size:
115
61
 Please select the size of the font for the Linux console.
116
62
 Simple integers corresponding to fonts can
125
71
 size of the symbols on the console. For
126
72
 reference, the font used when the computer boots has size 16.
127
73
 
128
 
Template: console-setup/charmap
 
74
Template: console-setup/charmap47
129
75
Type: select
130
76
Choices: ${CHOICES}
131
 
Default: UTF-8
 
77
# :sl3:
132
78
_Description: Encoding to use on the console:
133
79
 
134
 
Template: console-setup/ttys
135
 
Type: string
136
 
Default: /dev/tty[1-6]
137
 
_Description: Virtual consoles in use:
138
 
 Please enter a space-delimited list of virtual consoles you use. The usual
139
 
 Unix filename wildcards are allowed (*, ? and [...]).
140
 
 .
141
 
 If you are unsure, then use the default /dev/tty[1-6] which stands for six
142
 
 virtual consoles.
143
 
 
144
 
Template: console-setup/toggle
145
 
Type: select
146
 
__Choices: Caps Lock, Right Alt, Right Control, Right Shift, Right Logo key, Menu key, Alt+Shift, Control+Shift, Control+Alt, Alt+Caps Lock, Left Control+Left Shift, Left Alt, Left Control, Left Shift, Left Logo key, Scroll Lock key, No toggling
147
 
Default: Alt+Shift
148
 
_Description: Method for toggling between national and Latin mode:
149
 
 You will need a way to toggle the keyboard between the national
150
 
 layout and the standard Latin layout.
151
 
 .
152
 
 Right Alt or Caps Lock keys are often chosen for ergonomic reasons
153
 
 (in the latter case, use the combination Shift+Caps Lock for normal Caps
154
 
 toggle). Alt+Shift is also a popular combination; it will
155
 
 however lose its usual behavior in Emacs and other programs
156
 
 that use it for specific needs.
157
 
 .
158
 
 Not all listed keys are present on all keyboards.
159
 
 
160
 
Template: console-setup/switch
161
 
Type: select
162
 
__Choices: No temporary switch, Both Logo keys, Right Alt, Right Logo key, Left Alt, Left Logo key
163
 
Default: No temporary switch
164
 
_Description: Method for temporarily toggling between national and Latin input:
165
 
 When the keyboard is in national mode and one wants to type only a few
166
 
 Latin letters, it might be more appropriate to switch temporarily to
167
 
 Latin mode. The keyboard remains in that mode as long as the chosen key is
168
 
 kept pressed. That key may also be used to input national letters when
169
 
 the keyboard is in Latin mode.
170
 
 .
171
 
 You can disable this feature by choosing "No temporary switch".
172
 
 
173
 
Template: console-setup/altgr
174
 
Type: select
175
 
__Choices: No AltGr key, Right Alt, Right Control, Right Logo key, Menu key, Left Alt, Left Logo key, Keypad Enter key, Both Logo keys, Both Alt keys
176
 
Default: Right Alt
177
 
_Description: AltGr key replacement:
178
 
 With some keyboard layouts, AltGr is a modifier key used to input
179
 
 some characters, primarily ones that are unusual for the language of the
180
 
 keyboard layout, such as foreign currency symbols and accented letters.
181
 
 These are often printed as an extra symbol on keys.
182
 
 
183
 
Template: console-setup/compose
184
 
Type: select
185
 
__Choices: No compose key, Right Alt, Right Control, Right Logo key, Menu key, Left Logo key, Caps Lock
186
 
Default: No compose key
187
 
_Description: Compose key:
188
 
 The Compose key (known also as Multi_key) causes the computer to interpret
189
 
 the next few keystrokes as a combination in order to produce a character
190
 
 not found on the keyboard.
191
 
 .
192
 
 On the text console the Compose key does not work in Unicode mode. If not
193
 
 in Unicode mode, regardless of what you choose here, you can always also
194
 
 use the Control+period combination as a Compose key.
195
 
 
196
80
Template: console-setup/ask_detect
197
81
Type: boolean
198
82
Default: false
213
97
 "${LAYOUT}". If this is not correct, you can go back and select your layout
214
98
 from the full list instead.
215
99
 
216
 
Template: console-setup/modelcode
217
 
Type: string
218
 
Description: for internal use
219
 
 
220
 
Template: console-setup/layoutcode
221
 
Type: string
222
 
Description: for internal use
223
 
 
224
 
Template: console-setup/variantcode
225
 
Type: string
226
 
Description: for internal use
227
 
 
228
 
Template: console-setup/optionscode
229
 
Type: string
230
 
Description: for internal use
231
 
 
232
100
Template: console-setup/fontsize
233
101
Type: string
234
102
Description: for internal use
237
105
Type: string
238
106
Description: for internal use
239
107
 
 
108
Template: console-setup/store_defaults_in_debconf_db
 
109
Type: boolean
 
110
Default: true
 
111
Description: for internal use