This tag should be used for programming questions related to modern MacBook Pros' 'Touch Bar', a wide multitouch screen above the keyboard, designed for accessing global and application-specific functions.
Questions tagged [macbookpro-touch-bar]
96 questions
5
votes
1 answer
WiFi not working in Ubuntu20 on MacBookPro 13 (2020), dual booting, trinidad wifi drivers issue
After purchasing new equipment which is MacBook Pro 13
Catalina 10.15.7
4 x USB-C
release year: 2020
model 16,2
I decided to install Ubuntu 20 as dual boot.
Previously I installed Ubuntu from raw .iso but it has created too many problems with…

emc
- 51
- 2
5
votes
0 answers
programatically forcing function keys on Mac touch bar
I know that users can set specific apps to run with the function keys active on the touch bar by default in their system keyboard prefs as per https://support.apple.com/en-us/HT207240. But is there anyway for a developer to request this from within…

keymap
- 864
- 7
- 16
4
votes
1 answer
Completely disable or turn off the touchbar on macbook pro
I would like to completely disable or turn off the touchbar on the Macbook Pro 13' 2019 and would be happy if you can help me.
Thank you!!

G-EA
- 337
- 7
- 17
4
votes
1 answer
Is there any way to avoid the Touch Bar of Macbook Pro from sleeping?
I've found that the Touch Bar of my MacbookPro2018 13" had square flickers on and off. I've learned from Google that it's a hardware problem of Mbp, but I can't get it repaired immediately :(
I found that it only happens when the Touch Bar is…

blackcloud
- 41
- 2
4
votes
0 answers
How to show function keys on Touchbar for NetBeans with MacBook?
I have a Macbook with touch-bar. And I want my touch-bar always show function keys when I am working with NetBeans.
I've done with this link https://support.apple.com/en-us/HT207240
But it doesn't work! (Off-course with Netbeans).
When I do that…

Trần Hưng Vượng
- 71
- 9
3
votes
1 answer
Eclipse 2022-09 Icon in the dock has an error in it on MacBook M1
Check the image, whenever I start Eclipse the logo gets that error after the software performs initial startup and deferred early start checks. Does anyone know how to fix this?
I can't stand that error message.

Sumanth
- 41
- 2
3
votes
1 answer
How to Use Key Modifiers (option/command/control) with SwiftUI Tap Gesture
I am trying to use a key modifier with a tap gesture in my swiftUI view. I would like to have one action being performed when registering a tap gesture, and a separate action performed when holding command + tap gesture.
I tested the code used here…

Jake F
- 31
- 4
3
votes
0 answers
Is there a way to print the live output of a cell in Jupyter Notebook to a MacBook Touch Bar?
Or even to a file or cmd prompt so I can make a script to display it myself?
I am using XGboost on a project of mine and I would like to see the validation results in the touch bar so I don't have to switch between tabs to check up on it.
The…

Rashan Arshad
- 247
- 3
- 11
3
votes
1 answer
XCode: How to disable Touchbar simulator from running during test run?
I have a Macbook 15in with touch bar and every time I build or run tests from XCode (Cocoa app), the Touch bar simulator pops up. This is interfering with my UI tests since its blocking the click view. Make it go away! How do I disable it?
Under…

Andrew Taylor
- 31
- 2
3
votes
1 answer
Adding Button to NSTouchBar Control Strip
I'm working on a pet project which displays current cryptocurrency prices on the touch bar. I'm a web developer, but not a Swift developer, so it's slow going.
https://github.com/sharkattackhq/crypt
Right now, the basic functionality is in place,…

Runny Yolk
- 1,074
- 3
- 23
- 41
3
votes
0 answers
Applescript display buttons on touch bar?
Applescript has a display dialog function in which one can summon a pop-up, and by using buttons {"x","y","z"} one can add custom buttons to the dialog. Is there a way to get these buttons to appear on the touch bar as well, as pop-ups typically do?

DonielF
- 169
- 1
- 9
3
votes
1 answer
Turning off / Hiding the Touch Bar - MacBook Pro 2016
I have extensively searched internet for how to programatically turn off the Touch Bar, but have had no luck so far in finding a solution.
I know this is possible due to Apple's "QuickTime" app turning off the Touch Bar when a video is playing after…

James Marino
- 668
- 1
- 9
- 25
3
votes
1 answer
Touchbar API for web applications
I would like to know if there is a possibility for web applications to make use of the touch bar (like a JS api).
The touchbar would be a wonderful way to navigate through a website and surely enough the guys at Apple will have noticed this as…

Armin Hierstetter
- 1,078
- 2
- 12
- 27
2
votes
1 answer
Enable VT-x On My Macbook Pro (Android Studio)
I am a new flutter dev and my emulator would only work once I enable Vt-x on my Bios settings. Still, I can't find where to enable it. I use a MacBook Pro 10.10.5 Yosemite. enter image description here

Misan
- 25
- 1
- 6
2
votes
2 answers
How can I display Touch Bar Buttons using SwiftUI?
I'm trying to add Touch Bar support for a SwiftUI View. There seems to be SwiftUI API for this using the .touchBar(content: () -> View) function on Views, but documentation is non existent and I can't get my Touch Bar to display anything.
import…

Blasmo
- 458
- 3
- 18