[Ubuntu] How to swap Command and Control keys on MacBook keyboard

Par défaut

For swap command and control keys:

  • Go into System -> Preferences -> Keyboard
  • Click on the « Layouts » button
  • Click the « Options… » button
  • Click on « Alt/Win key behavior »
  • Select « Control is mapped to Win keys (and the usual ctrl key).

This will make your Apple command keys act like control, and keep your ctrl key as control as well.