Keyboard shortcut for powering down MacBook Pro with Touch Bar?
Solution 1:
-
In System Preferences → Mission Control
- Change "Show Desktop" to F10
- Change "Show Dashboard" to F11
-
In System Preferences → Keyboard, open App Shortcuts.
- Click + to add a new shortcut.
- Leave Application as "All Applications".
- In Menu Title enter exactly this phrase (without quotation marks): "Shut Down…"
- Click cursor in the Keyboard shortcut field, then on keyboard hold "fn" key then select "F12" on Touch Bar
- Holding "fn" key and selecting "F12" on Touch Bar will bring up the shutdown prompt.
- Holding "fn" key and selecting "F10" will show desktop, holding "F11" will show dashboard.
Solution 2:
"Have you tried using TOUCH ID as a substitute for Power Button in the regular shortcuts?"
holding down Touch ID will power off the computer, but it's a hard poweroff similar to holding down the power button on older machines for 5 seconds. I also can find no method for using the keyboard to initiate a normal shutdown. Bizarrely, the TouchBar has a sleep command that can be configured (see the bit about customize and expand here), but using modifier keys with the Touchbar sleep command like cmd or cmd-opt or cmd-opt-ctr will launch into the Energy Saver pane in System Preferences rather than sleep, restart or shut down..weird. Hopefully they'll add/fix this in a future software update. This is a BIG drawback for me as well in the new machine :(
Solution 3:
I recommend to make a QuickAction-Button. If you have quickActions on your TouchBar (to activate, look at apple guide here, you can use Automator to run a AppleScript (I used this one) and insert it into the TouchBar. I made myself a nice red Button, as explained in detail here.