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
0
votes
0 answers
How to install bitbucket on virtual machine with apple silicon processor?
i am facing a problem with installing bitbucket 8.5.0 or less versions with apple silicom processor m2.
i cant find arm64 version of bitbucket.
do you have a solution for that?

michael
- 847
- 4
- 10
- 17
0
votes
2 answers
I am trying to run postman collection with newman on Macbook but getting error
I am trying to run a postman collection with newman on Macbook but getting the following error.
zsh: no matches found: https://api.getpostman.com/collections
I haven't shared complete URL due to reason.
Please let me know how can I fix this issue as…

Fahad Mukhtar
- 11
- 3
0
votes
0 answers
.Net Dockerizing excluding build stage in the dockerfile
I am new to docker and AKS, I am working on a .Net project that is migrated from .Net core 3.1 to .Net 6 , I am trying to containerize and deploy to AKS. First i wanted to test in the local machine so i had setup docker in the macbook m1 and…
0
votes
1 answer
How to change directory in my terminal using python
The problem I have is that when I am in my terminal and I am at the base. I want to for instance change my directory to downloads I was wondering how I would do that because then after I would change my directory I would be able to access certain…
0
votes
0 answers
Java UnsatisfiedLinkError: Unable to open file
I'm attempting to write a program with jtouchbar, Maven and JavaFX and when I try to run the project with only the boilerplate code they include in the readme, I get an error
Exception in Application start method Caused by:…

Miles Acq
- 71
- 1
- 9
0
votes
0 answers
I want to use vba to insert photo into cell in excel for macbook
I want to use vba (macro) to insert a photo into a cell on the MacBook, but it is used well in Windows Excel, but it is not used in the MacBook. Is it because the path to load the photo file is different? Can I modify this vba to be usable on…

jiwoo
- 1
- 2
0
votes
2 answers
How do we detect the "keyDown/keyPress" events for Macbook Pro touch bar keys?
I recently came across a requirement to close a Modal on Esc key press (508 compliance). I then realised that the onKeyDown handler I wrote on my react component wasn't working as expected. The event wasn't getting fired on clicking Escape key from…

Yash Tambi
- 11
- 3
0
votes
0 answers
NextJs with ChakraUI v1.7.5 extendTheme - How to fix "Cannot read properties of undefined (reading 'useSystemColorMode')"
I'm having error on my macbook of "Cannot read properties of undefined (reading 'useSystemColorMode')" with NextJs and chakra-ui v1.7.5 when using extendTheme
Here is my package.json file
"dependencies": {
"@chakra-ui/icons": "^1.1.1",
…

raphPar
- 1
- 1
0
votes
1 answer
How to programatically switch between touchbar layouts on MacOS?
System
M1 MacBook Pro
MacOS Big Sur
Problem
I like the default Mac touchbar layout for everyday use, but I prefer the F1-F12 keys at my fingertips when programming. I also don't like holding down the fn key. That's why I wrote two AppleScripts to…

Johnny Rocketfingers
- 65
- 6
0
votes
1 answer
Get Serial Number of Macbook in DFU mode
I connected two Macbook Pro together via usb-c. One of the laptop is in DFU mode. I need a code to get the serial number or other information of the MacBook pro in DFU mode.

Olaniyan Adewale
- 71
- 1
- 8
0
votes
1 answer
Unable to get Album Art from Spotify in Objective C using kMRMediaRemoteNowPlayingInfoArtworkData
I'm tweaking a forked TouchBar application which shows widgets on the Mac TouchBar, and am trying to get album art to display on the NowPlaying Widget. This is the project.
Currently, I'm having issues with this piece of code:
- (void)updateInfo
{
…

snapraze
- 1
0
votes
0 answers
Unable to launch iOS Progressive Web App on wifi when Mac is turned on
When I have my MBP on, I am unable to open a Home Screen PWA on my iPhone when connected to wifi. If I take my phone off wifi and use cellular data, the PWA opens.
Unusually, turning off wifi on my MBP does not fix the issue either. If the MBP is…

Erik
- 33
- 1
- 1
- 4
0
votes
1 answer
How do I enable the function keys on the Touch Bar for Spyder by default?
I have installed python 3.7.7 and Spyder 4.1.2 on my MacBook (macOS 10.15.4) using miniconda. As far as I understand, Spyder is not a stand-alone app, but runs through python. Hence, I followed these instructions so that Spyder is recognized as an…

Markus
- 45
- 2
0
votes
1 answer
Is it necessary to install X Code for c++ compiler? What if I install X Code and Uninstall it? Will g++ compiler will also get deleted?
I am not sure if I should delete the X Code as it takes a lot of space on MacBook. I want to use g++ compiler for compiling my c++ program.

Devang Gupta
- 19
- 7
0
votes
1 answer
What is the iOS simulator Command symbol on Touch Bar?
I am running the iOS simulator, using the default Touch Bar controls. I tried "Customize Touch Bar...", but that didn't have the Command icon in the list of controls.
It seems like I can toggle it, and it turns blue when toggled.
What does the 5th…

George
- 25,988
- 10
- 79
- 133