How to make keyboard work like OSX System Wide?

If you install the xautomation package, you can add a command in System/Preferences/Keyboard Shortcuts/Custom like:

xte "keyup Meta_L" "keyup c" "keydown Control_L" "key c" "keyup Control_L"

and map that to Meta-C.


Alternative Solution:

Install AutoKey (apt-get install autokey-gtk) and set a phrase to:

Phrase Text: <ctrl>+C (actually type out the <ctrl>+ here)
Paste Using: Keyboard
Abbreviation: None
Hotkey: <super>+v
Window Filter: None

Since Ubuntu 14 you can use GNOME Tweaks:

sudo apt install gnome-tweaks # formerly gnome-tweak-tool

Then, look for Tweak Tool > Keyboard & Mouse > Additional Layout Options > Alt/Win key behavior.

And check: Ctrl is mapped to Win keys and usual Ctrl keys.

screenshot


There is a way to map Ctrl to Win/Super key:

  1. go to system->preferences->keyboard,

  2. open tab Layouts,

  3. click Options...,

  4. open Alt/Win key behavior,

  5. and select Control is mapped to Win keys

And for console there is a forum post how to do that here.

For more digging check general Linux keyboard HOWTO here.

regards