Ubuntu key-binding configuration to emulate some common macOS key-bindings
Maps common macOS key combinations to native Ubuntu key combinations using AutoKey
- Cmd+c: copy (Ctrl+c) (Ctrl+Shift+c in Ubuntu terminal)
- Cmd+v: paste (Ctrl+v) (Ctrl+Shift+v in Ubuntu terminal)
- Cmd+x: cut (Ctrl+x)
- Cmd+z: undo (Ctrl+z)
- Cmd+y: redo (Ctrl+y)
- Cmd+a: select all (Ctrl+a)
- Cmd+o: open (Ctrl+o)
- Cmd+s: save (Ctrl+s)
- Cmd+t: new tab (Ctrl+t)
Also shows how to configure the following macOS-style functionality in Ubuntu 16.04
- Cmd+Tab: Switch between apps
- Cmd+`: Switch between windows of same app
Tested in a Ubuntu 16.04 VMWare Fusion VM on a Macbook Pro
# apt-get install compizconfig-settings-manager
# apt-get install autokey-gtk
- Launch CompizConfig Settings Manager
- Go To Ubuntu Unity Plugin
- Disable Launcher -> Key to show the Dash, Launcher, and Help Overlay
- Set Switcher -> 'Key to start the switcher' to
<Super>Tab
- Set Switcher -> 'Key to switch to the previous window in the switcher' to
<Super><Shift>Tab
- Set Switcher -> 'Key to flip through windows in the switcher' to
<Super>grave
(`/~ key) - Set Switcher -> 'Key to flip through windows in the switcher backwards' to
<Super><Shift>grave
(`/~ key)
- Launch AutoKey
- Add a Folder and point it to ubuntu-macos-keys/autokey (File -> New -> Folder)
- Quit AutoKey and restart (Note: it's not enough to just close the window, you need to close the application by using the Ubuntu toolbar icon in the top right.