Linux AZERTY / QWERTY Keyboard
For Linux Machines or Virtual Machines (REDHAT, CentOS, Fedora, ETC... ), In order to move the Keyboard from "qwerty" to "azerty", You Have to edit the Following File :
- Modify “KEYTABLE“, By replacing “us” by “fr“. save and close the File.
/etc/sysconfig/keyboard
The /etc/sysconfig/keyboard
file controls the behavior of the keyboard. The following values may be used:
-
KEYBOARDTYPE="sun|pc"
wheresun
means a Sun keyboard is attached on/dev/kbd
, orpc
means a PS/2 keyboard connected to a PS/2 port. -
KEYTABLE="
, where<file>
"
is the name of a keytable file.<file>
For example:
KEYTABLE="us"
. The files that can be used as keytables start in/lib/kbd/keymaps/i386
and branch into different keyboard layouts from there, all labeled
. The first file found beneath<file>
.kmap.gz/lib/kbd/keymaps/i386
that matches theKEYTABLE
setting is used.
Hope This helps :)
Wissem MEDIOUNI
Écrire commentaire