The basic stuff: I want to be able to switch apps with ⌘Tab, copy and paste with ⌘C and ⌘V etc.
You can swap Ctrl and ⌘ for most contexts with the following command:
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:swap_lwin_lctl']"
Alternatively, if you want to use a GUI to make the same change:
- install dconf-tools from the software center
- run the dconf-editor application
- navigate to org > gnome > desktop > input sources
- change the value of kbd-options to ['ctrl:swap_lwin_lctl']
That should take care of most shortcuts. The shortcut to switch windows can be changed from AltTab to something else on the standard keyboard shortcuts page in System Settings.
How about remapping the keys? xmodmap should do the trick there.
Assuming that your command button is replaced with meta (I can't help you there, I don't own a Mac) this should work for you:
xmodmap -e "remove control = Control_L"
xmodmap -e "remove mod4 = Super_L"
xmodmap -e "add control = Super_L"
xmodmap -e "add mod4 = Control_L"
This will work until you end your session.
2) Write this into it:
remove control = Control_L
remove mod4 = Super_L
add control = Super_L
add mod4 = Control_L
3) You should now somehow put
xmodmap ~/.Xmodmap to run at startup (I'm having trouble to find out how right now, will fix later).