Git Product home page Git Product logo

ubuntu-macos-keys's Introduction

ubuntu-macos-keys

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

Install CompizConfig Settings Manager

# apt-get install compizconfig-settings-manager

Install AutoKey

# apt-get install autokey-gtk

Set CCSM Settings

  1. Launch CompizConfig Settings Manager
  2. Go To Ubuntu Unity Plugin
  3. Disable Launcher -> Key to show the Dash, Launcher, and Help Overlay
  4. Set Switcher -> 'Key to start the switcher' to <Super>Tab
  5. Set Switcher -> 'Key to switch to the previous window in the switcher' to <Super><Shift>Tab
  6. Set Switcher -> 'Key to flip through windows in the switcher' to <Super>grave (`/~ key)
  7. Set Switcher -> 'Key to flip through windows in the switcher backwards' to <Super><Shift>grave (`/~ key)

Set AutoKey Settings

  1. Launch AutoKey
  2. Add a Folder and point it to ubuntu-macos-keys/autokey (File -> New -> Folder)
  3. 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.

ubuntu-macos-keys's People

Contributors

samfpetersen avatar

Watchers

Álex Acuña Viera avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.