How to enable sticky keys on a Mac

I've seen this option in one Ubuntu machine and I want to replicate it in my mac:

Hold a Key for 2 second to activate it.

What I have seen is this: Hold down a Key for 2 second (Shift for example). Then write something and the written text was as if the Shift key is pressed (and it acts like the Caps Lock pressed). Then the key is pressed one time to deactivate it.

Is it possible to achieve this on a mac too?


Solution 1:

This function is called sticky keys. You can activate as follows on a Mac:

  1. Open System Preferences.
  2. Type in sticky in the search bar and hit enter.
  3. Tick Enable sticky keys.

OR

  1. Open System Preferences.
  2. Go to Accessibility.
  3. Go to Keyboard.
  4. Tick Enable sticky keys.

Sticky Keys option screenshot