Bonjour,
Après installation de Ubuntu 8.04 Hardy sur mon macbook pro 1.83 GHz,
à tous ceux que ça intéresse concernant le paramétrage du clavier:cool: :
1 - pour le mode console :
a - installer le paquet "console-data"
sudo apt-get install console-data
b - configurer le codage du clavier pour le mode console:
sudo dpkg-reconfigure console-data
┌─────────────┤ Configuration de console-data ├──────────────┐
│ Politique de gestion des codages clavier : │
│ │
│ Choisir un codage clavier pour votre architecture │
│ Ne pas modifier le codage clavier │
│ Conserver le codage clavier du noyau │
│ Choisir un codage clavier dans la liste complète │
│ │
│ │
│ <Ok> <Annuler> │
│ │
└────────────────────────────────────────────────────────────┘
puis :
───────────────────────┤ Configuration de console-data ├────────────────────────
Si vous utilisez un clavier appartenant à une architecture d'ordinateur
différente, vous pouvez le choisir dans la liste complète.
Codage clavier :
mac / Unknown / British / Standard / Standard ↑
mac / Unknown / British / Standard / iBook2 ▮
mac / Unknown / Finnish / Standard / Standard ▒
mac / Unknown / French / Standard / Alternate ▒
mac / Unknown / French / Standard / Extended ▒
mac / Unknown / French / Standard / MacBook ▒
mac / Unknown / French / Standard / New ▒
mac / Unknown / French / Standard / Standard ▒
mac / Unknown / French / Standard / Swiss ↓
<Ok> <Annuler>
prendre le "mac / Unknown / French / Standard / Extended" par exemple
2 - pour le mode graphique (X, gnome, Kde) :
a - modifier le fichier xorg.conf
sudo gedit /etc/X11/xorg.conf
b - en cherchant ces lignes :
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "mac"
EndSection
et les remplacer par :
Section "InputDevice"
Identifier "MBP Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbLayout" "fr"
Option "XkbOptions" "lv3:lwin_switch"
EndSection
Ainsi, dans l'éditeur de texte, au démarrage, vous pourrez tester les caractères {[|}]~
en tapant pour ces caractères :
| : <Pomme gauche><Shift>l
{} : <Pomme gauche>4 et <Pomme gauche>5
[] : <Pomme gauche><Shift>n
\ : <Pomme gauche><Shift>:
Et voilà 😉