OLD | NEW |
---|---|
1 # The list of keyboard layouts that we support. The keyboard layout metadata is | 1 # The list of keyboard layouts that we support. The keyboard layout metadata is |
2 # also defined here. | 2 # also defined here. |
3 # | 3 # |
4 # Each non-comment line contains the following tab-or-space-separated columns. | 4 # Each non-comment line contains the following tab-or-space-separated columns. |
5 # | 5 # |
6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER* | 6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER* |
7 # change the ID since the ID might be written in user's ~/Preferences. For | 7 # change the ID since the ID might be written in user's ~/Preferences. For |
8 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:" | 8 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:" |
9 # for histrical reason, but we should not replace them with two-letter 639-1 | 9 # for histrical reason, but we should not replace them with two-letter 639-1 |
10 # codes that are currently in use in the 3rd column. | 10 # codes that are currently in use in the 3rd column. |
11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca", | 11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca", |
12 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols. | 12 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols. |
13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two- | 13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two- |
14 # letter language code which can be recognized by ICU, is allowed. Do not use | 14 # letter language code which can be recognized by ICU, is allowed. Do not use |
15 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh", | 15 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh", |
16 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW"). | 16 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW"). |
17 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details. | 17 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details. |
18 # We can specify multiple language code with comma separator. | 18 # We can specify multiple language code with comma separator. |
19 # 4) The indicator string (ex. INTL for xkb:us:intl:eng). This string will be | 19 # 4) The indicator string (ex. INTL for xkb:us:intl:eng). This string will be |
20 # shown in system tray or indicator window. | 20 # shown in system tray or indicator window. |
21 # 5) The additional attibution. | 21 # 5) The additional attibution. |
22 # login: Specified keyboard layout will be used on login screen or lock | 22 # login: Specified keyboard layout will be used on login screen or lock |
23 # screen. | 23 # screen. |
24 # | 24 # |
25 # Notes: | 25 # Notes: |
26 # When adding a line to this list, please also add a mapping from the input | 26 # When adding a line to this list, please also add a mapping from the input |
27 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in | 27 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in |
28 # | 28 # |
29 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py | 29 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py |
Alexander Alekseev
2015/11/04 18:32:27
Update this?
Kenny Root (Google)
2015/11/06 18:46:42
I updated the script, but I can't run the script s
| |
30 # | 30 # |
31 # and update the following files by running this script. | 31 # and update the following files by running this script. |
32 # | 32 # |
33 # * chrome/app/generated_resources.grd | 33 # * chrome/app/generated_resources.grd |
34 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js | 34 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js |
35 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc | 35 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc |
36 # | 36 # |
37 # If you add an XKB layout which depends on AltGr or X11's Mod3Mask | 37 # If you add an XKB layout which depends on AltGr or X11's Mod3Mask |
38 # (e.g. Germany Neo2 XKB layout), you should also update kAltGrLayoutIds or | 38 # (e.g. Germany Neo2 XKB layout), you should also update kAltGrLayoutIds or |
39 # kMod3LayoutIds in | 39 # kMod3LayoutIds in |
40 # chrome/browser/chromeos/input_method/input_method_manager_impl.cc | 40 # chrome/browser/chromeos/input_method/input_method_manager_impl.cc |
41 # Otherwise, Mod3Mask might be removed unexpectedly by the rewriter, and | 41 # Otherwise, Mod3Mask might be removed unexpectedly by the rewriter, and |
42 # sticky keys will not work. | 42 # sticky keys will not work. |
43 # | 43 # |
44 | 44 |
45 # U.S. English | 45 # U.S. English |
46 xkb:us::eng us en,en-US,en-AU,en-NZ US login | 46 xkb:us::eng us en,en-US,en-AU,en-NZ US login |
47 xkb:us:intl:eng us(intl) en,en-US INTL login | 47 xkb:us:intl:eng us(intl) en,en-US INTL login |
48 xkb:us:altgr-intl:eng us(altgr-intl) en,en-US EXTD login | 48 xkb:us:altgr-intl:eng us(altgr-intl) en,en-US EXTD login |
49 xkb:us:dvorak:eng us(dvorak) en,en-US DV login | 49 xkb:us:dvorak:eng us(dvorak) en,en-US DV login |
50 xkb:us:colemak:eng us(colemak) en,en-US CO login | 50 xkb:us:colemak:eng us(colemak) en,en-US CO login |
51 xkb:us:workman:eng us(workman) en,en-US WK login | |
Shu Chen
2015/11/04 03:45:12
should xkb:us:workman-intl:eng be listed here?
Kenny Root (Google)
2015/11/06 18:46:42
Done.
| |
51 xkb:us:intl:nld us(intl) nl INTL login | 52 xkb:us:intl:nld us(intl) nl INTL login |
52 xkb:us:intl:por us(intl) pt-BR INTL login | 53 xkb:us:intl:por us(intl) pt-BR INTL login |
53 xkb:us::ind us id US login | 54 xkb:us::ind us id US login |
54 xkb:us::fil us fil US login | 55 xkb:us::fil us fil US login |
55 xkb:us::msa us ms US login | 56 xkb:us::msa us ms US login |
56 | 57 |
57 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng | 58 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng |
58 # will be selected as the default keyboard when the UI language is set to Dutch. | 59 # will be selected as the default keyboard when the UI language is set to Dutch. |
59 | 60 |
60 # Dutch | 61 # Dutch |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
120 xkb:by::bel by be BY | 121 xkb:by::bel by be BY |
121 xkb:am:phonetic:arm am hy AM | 122 xkb:am:phonetic:arm am hy AM |
122 xkb:ge::geo ge ka GE | 123 xkb:ge::geo ge ka GE |
123 xkb:mn::mon mn mn MN | 124 xkb:mn::mon mn mn MN |
124 xkb:ie::ga ie ga GA login | 125 xkb:ie::ga ie ga GA login |
125 xkb:mt::mlt mt mt MT login | 126 xkb:mt::mlt mt mt MT login |
126 xkb:mk::mkd mk mk MK | 127 xkb:mk::mkd mk mk MK |
127 | 128 |
128 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa | 129 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa |
129 # if necessary. | 130 # if necessary. |
OLD | NEW |