This question already has an answer here:

Still discovering Ubuntu on my Mac, I would like to know how to change the behaviour of my keyboard and use cmd as the super key (and do stuff like cmd+c for copy).

I'm using a 2010 white Macbook with Ubuntu 16.04.

I have read somewhere that in previous Ubuntu versions there were something to activate in the settings like "Use win command as Super" but correct me if I'm wrong, it's not in Ubuntu 16.04 ?

marked as duplicate by WinEunuuchs2Unix, Zanna, Videonauth, Eric Carvalho, Byte Commander Dec 23 '16 at 17:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • please post the link to this article. – George Udosen Dec 15 '16 at 2:50
  • @George here it is askubuntu.com/a/11058 – ferdi_ Dec 16 '16 at 0:59
  • That article should be helpful. The issue is you need to know the scancode for your mac computer then map that in system settings-->keyboard 0n Ubuntu to any behaviour you want. That articel has several links which I think you should look at. – George Udosen Dec 16 '16 at 5:02

I don't use a mac but saw this articles that should help:

  1. From an askubuntu answer:
    • use of the xautomation package, or
    • use of the autokey-gtk package.

Please see if it flies for you.


I've done this on my Macbook pro, simply run this command in terminal:

setxkbmap -option 'altwin:swap_alt_win'

You may also want to run this script on start up so you don't have to memorize the command and run it manually on every reboot. You can add this script to your to your startup tasks by running:

crontab -e

then add a line to execute the script:

@reboot path/to/script

Enjoy mate

Not the answer you're looking for? Browse other questions tagged or ask your own question.