3 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
5 <window xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7 contenttitlesetting=
"false"
8 title=
"Conkeror Keyboard Setup"
10 width=
"640" height=
"480"
11 persist=
"screenX screenY width height sizemode">
13 <script type=
"application/javascript;version=1.8" src=
"chrome://conkeror/content/keyboard-setup.js"/>
17 Limitations in the Mozilla key handling facilities make it
18 difficult to robustly map from key press events to a character
19 code. In particular, to do this, Conkeror depends on a
20 mapping table that specifies how the combination of a
21 particular keycode and shift modifier state maps to a
22 character code. A default table suitable for certain US
23 keyboard layouts is used by default in Conkeror, but this tool
24 can be used to generate a correct mapping table for your
25 keyboard layout. To do this, click on the
"Clear all
26 mappings" button, then type every key both with and without
27 the shift modifier, and then click
"Save to preferences".
28 Make sure that
"Caps Lock" is off. You must restart Conkeror
29 for any new mapping table to take effect after you save it.
32 <button label=
"Load from preferences" oncommand=
"load();"/>
33 <button label=
"Save to preferences" oncommand=
"save();"/>
34 <button label=
"Clear preference" oncommand=
"clear_preference();"/>
35 <button label=
"Clear all mappings" oncommand=
"clear();"/>
36 <button label=
"Reset to defaults" oncommand=
"reset();"/>
39 <listbox id=
"mapping_list" flex=
"1">
41 <listheader label=
"Keycode"/>
42 <listheader label=
"Keycode name"/>
43 <listheader label=
"Shift?"/>
44 <listheader label=
"Charcode"/>
45 <listheader label=
"Character"/>
49 <label id=
"message" label=
"" flex=
"1"/>
50 <label id=
"count" label=
""/>