Difference between revisions of "KEYMAP"

From ArchWiki
Jump to: navigation, search
m (Add UK)
(replaced <code> with Codeline formatting; minor formatting improvements; added the keymap for Colemak to the table)
Line 1: Line 1:
 
[[Category:Internationalization (English)]]
 
[[Category:Internationalization (English)]]
 
{{i18n|KEYMAP}}
 
{{i18n|KEYMAP}}
The '''KEYMAP''' variable is specified in the {{Filename|/etc/rc.conf}} file. It defines what keymap the keyboard is in the virtual consoles. Keytable files are provided by the kbd package.
+
The '''KEYMAP''' variable is specified in the {{Filename|/etc/rc.conf}} file. It defines what keymap the keyboard is in the virtual consoles. Keytable files are provided by the {{Package Official|kbd}} package.
  
 
==Keyboard layouts==
 
==Keyboard layouts==
Line 7: Line 7:
 
Most keymaps can be found in the {{Filename|/usr/share/kbd/keymaps/i386/''layout''}} (''layout''=qwerty, azerty, dvorak, etc.) directory.
 
Most keymaps can be found in the {{Filename|/usr/share/kbd/keymaps/i386/''layout''}} (''layout''=qwerty, azerty, dvorak, etc.) directory.
  
Less common but nonetheless useful keymaps under Arch Linux are found in the {{Filename|/usr/share/kbd/keymaps/''architecture''}} (''architecture''=ppc, mac, etc.) directory.
+
Less common but nonetheless useful keymaps for Arch Linux are found in the {{Filename|/usr/share/kbd/keymaps/''architecture''}} (''architecture''=mac, sun, etc.) directory.
  
{{Note| In an X session, you can use setxkbmap to instantly apply keyboard layout: "setxkbmap -layout dvorak"}}
+
{{Note|In an X session, you can use setxkbmap to instantly apply keyboard layout: {{Codeline|setxkbmap -layout dvorak}}}}
  
 
<table border="1" cellpadding="2" cellspacing="0">
 
<table border="1" cellpadding="2" cellspacing="0">
Line 17: Line 17:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="be-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"be-latin1.map.gz"}}</td>
 
<td>Belgian</td>
 
<td>Belgian</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="br-abnt2.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"br-abnt2.map.gz"}}</td>
 
<td>Brazilian Portuguese</td>
 
<td>Brazilian Portuguese</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="cf.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"cf.map.gz"}}</td>
 
<td>Canadian-French</td>
 
<td>Canadian-French</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="ca_multi.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"ca_multi.map.gz"}}</td>
 
<td>Canadian Multilingual (''currently only available in the [[Arch User Repository|AUR]]'')</td>
 
<td>Canadian Multilingual (''currently only available in the [[Arch User Repository|AUR]]'')</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="croat.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"croat.map.gz"}}</td>
 
<td>Croatian</td>
 
<td>Croatian</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="cz-lat2.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"cz-lat2.map.gz"}}</td>
 
<td>Czech</td>
 
<td>Czech</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="fr-latin9.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"fr-latin9.map.gz"}}</td>
 
<td>French</td>
 
<td>French</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="de-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"de-latin1.map.gz"}}</td>
 
<td>German</td>
 
<td>German</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="de-latin1-nodeadkeys.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"de-latin1-nodeadkeys.map.gz"}}</td>
 
<td>German (no dead keys)</td>
 
<td>German (no dead keys)</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="lt.baltic.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"lt.baltic.map.gz"}}</td>
 
<td>Lithuanian (qwerty)</td>
 
<td>Lithuanian (qwerty)</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="no-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"no-latin1.map.gz"}}</td>
 
<td>Norwegian</td>
 
<td>Norwegian</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="lat2-16.psfu.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"lat2-16.psfu.gz"}}</td>
 
<td>Polish</td>
 
<td>Polish</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="pt-latin9.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"pt-latin9.map.gz"}}</td>
 
<td>Portuguese</td>
 
<td>Portuguese</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="ro_win.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"ro_win.map.gz"}}</td>
 
<td>Romanian</td>
 
<td>Romanian</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="ru4.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"ru4.map.gz"}}</td>
 
<td>Russian</td>
 
<td>Russian</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="slovene"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"slovene"}}</td>
 
<td>Slovene</td>
 
<td>Slovene</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="sv-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"sv-latin1.map.gz"}}</td>
 
<td>Swedish</td>
 
<td>Swedish</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="fr_CH-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"fr_CH-latin1.map.gz"}}</td>
 
<td>Swiss-French</td>
 
<td>Swiss-French</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="sg-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"sg-latin1.map.gz"}}</td>
 
<td>Swiss-German</td>
 
<td>Swiss-German</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="de_CH-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"de_CH-latin1.map.gz"}}</td>
 
<td>Swiss-German</td>
 
<td>Swiss-German</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="es.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"es.map.gz"}}</td>
 
<td>Spanish</td>
 
<td>Spanish</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="la-latin1.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"la-latin1.map.gz"}}</td>
 
<td>Spanish Latinoamerican</td>
 
<td>Spanish Latinoamerican</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="tr_q-latin5.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"tr_q-latin5.map.gz"}}</td>
 
<td>Turkish</td>
 
<td>Turkish</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="ua.map.gz"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"ua.map.gz"}}</td>
 
<td>Ukrainian</td>
 
<td>Ukrainian</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code>KEYMAP="uk"</code></td>
+
<td>{{Codeline|KEYMAP<nowiki>=</nowiki>"uk"}}</td>
 
<td>United Kingdom</td>
 
<td>United Kingdom</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 03:42, 26 October 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

The KEYMAP variable is specified in the Template:Filename file. It defines what keymap the keyboard is in the virtual consoles. Keytable files are provided by the Template:Package Official package.

Keyboard layouts

This is the list of known keymap settings to work for the corresponding keyboard layouts. Usually the "map.gz" extension can be ignored. Most keymaps can be found in the Template:Filename (layout=qwerty, azerty, dvorak, etc.) directory.

Less common but nonetheless useful keymaps for Arch Linux are found in the Template:Filename (architecture=mac, sun, etc.) directory.

Note: In an X session, you can use setxkbmap to instantly apply keyboard layout: Template:Codeline
Keymap setting Keyboard
Template:Codeline Belgian
Template:Codeline Brazilian Portuguese
Template:Codeline Canadian-French
Template:Codeline Canadian Multilingual (currently only available in the AUR)
Template:Codeline Croatian
Template:Codeline Czech
Template:Codeline French
Template:Codeline German
Template:Codeline German (no dead keys)
Template:Codeline Lithuanian (qwerty)
Template:Codeline Norwegian
Template:Codeline Polish
Template:Codeline Portuguese
Template:Codeline Romanian
Template:Codeline Russian
Template:Codeline Slovene
Template:Codeline Swedish
Template:Codeline Swiss-French
Template:Codeline Swiss-German
Template:Codeline Swiss-German
Template:Codeline Spanish
Template:Codeline Spanish Latinoamerican
Template:Codeline Turkish
Template:Codeline Ukrainian
Template:Codeline United Kingdom