Problème résolu
Les fichiers de symboles ne sont plus dans macintosh mais dans macintosh_vndr.
Démarche:
Télécharger fr_new_modified (
http://effraie.freezee.org/fr_new_modified)
Editer fr_new_modified et remplacer les lignes
// Begin modifier mappings
key <LWIN> { [ Alt_L, Meta_L ] };
key <LFSH> { [ Shift_L ] };
key <LCTL> { [ Control_L ] };
// key <LALT> { [ Mode_switch ] };
key <LALT> { [ Mode_switch, Mode_switch ] };
key <RMTA> { [ Meta_R ] };
key <RTSH> { [ Shift_R ] };
key <RCTL> { [ Control_R ] };
key <RALT> { [ script_switch ] };
// End modifier mappings
par
// Begin modifier mappings
//key <LWIN> { [ Alt_L, Meta_L ] };
key <LALT> { [ Alt_L, Meta_L ] };
key <LFSH> { [ Shift_L ] };
key <LCTL> { [ Control_L ] };
// key <LALT> { [ Mode_switch ] };
// key <LALT> { [ Mode_switch, Mode_switch ] };
key <LWIN> { [ Mode_switch, Mode_switch ] };
key <RMTA> { [ Meta_R ] };
key <RTSH> { [ Shift_R ] };
key <RCTL> { [ Control_R ] };
key <RALT> { [ script_switch ] };
// End modifier mappings
Ceci permet d'avoir la touche ALT qui garde le comportement de touche ALT et la touche CMD (pomme) comme mode_switch (caractère spéciaux): du coup, c'est le même comportement que en mode texte.
puis faire (comme sur le post de effraie):
sudo cp /etc/X11/xkb/symbols/macintosh_vndr/fr /etc/X11/xkb/symbols/macintosh_vndr/fr.bak
sudo cp ~/fr_new_modified /etc/X11/xkb/symbols/macintosh_vndr/fr
sudo chmod 644 /etc/X11/xkb/symbols/macintosh_vndr/fr
Voila, je peux retourner coder