eri pawa wrote:
I started using a software in which I need to use the shortcut control-command-delete all the time but I frequently hit the eject key instead of the delete key on my external keyboard. And that shuts down my Mac IMMEDIATELY WITHOUT saving. I really want to disable that keyboard shortcut. It seems insane that it is not part of the regular shortcuts in the Keyboard settings since that is a potentially pretty destructive function that can completely happen by mistake.
Please tell me there is a way...
Sorry but am not familiar with that keyboard combination ?
Perhaps you need to explore Use macOS keyboard shortcuts
Customize keyboard shortcuts
You can customize some keyboard shortcuts by changing the key combinations.
- On your Mac, choose Apple menu
> System Settings, click Keyboard
in the sidebar (you may need to scroll down), then click Keyboard Shortcuts on the right. - In the list on the left, select a category, such as Mission Control or Spotlight.
- In the list on the right, select the checkbox next to the shortcut that you want to change.
- Double-click the current key combination, then press the new key combination you want to use.
- You can’t use each type of key (for example, a letter key) more than once in a key combination.
- Quit and reopen any apps you’re using for the new keyboard shortcut to take effect.
- If you assign a keyboard shortcut that already exists for another command or app, your new shortcut won’t work. Find the menu command that’s using it, then reassign the keyboard shortcut for that item.
- If you want to return all the shortcuts to their original keystroke combinations, go to Keyboard settings, click Keyboard Shortcuts, then click Restore Defaults in the lower-left corner.
Sleep, log out, and shut down shortcuts
You might need to press and hold some of these shortcuts for slightly longer than other shortcuts. This helps you to avoid using them unintentionally.
- Power button: Press to turn on your Mac or wake it from sleep. Press and hold for 1.5 seconds to put your Mac to sleep.* Continue holding to force your Mac to turn off.
- Option–Command–Power button* or Option–Command–Media Eject
: Put your Mac to sleep. - Control–Shift–Power button* or Control–Shift–Media Eject
: Put your displays to sleep. - Control–Power button* or Control–Media Eject
: Display a dialog asking whether you want to restart, sleep, or shut down. - Control–Command–Power button:* Force your Mac to restart, without prompting to save any open and unsaved documents.
- Control–Command–Media Eject
: Quit all apps, then restart your Mac. If any open documents have unsaved changes, you will be asked whether you want to save them. - Control–Option–Command–Power button* or Control–Option–Command–Media Eject
: Quit all apps, then shut down your Mac. If any open documents have unsaved changes, you will be asked whether you want to save them. - Control-Command-Q: Immediately lock your screen.
- Shift-Command-Q: Log out of your macOS user account. You will be asked to confirm. To log out immediately without confirming, press Option-Shift-Command-Q.