118,542 questions
-7
votes
0
answers
75
views
intel mac oclp firmware password [closed]
I have an iMac 2011 with a 21.5-inch screen and Mac OS Sonoma installed using the OpenCore Legacy Patcher. After installing Sonoma, I noticed that there was a firmware password on the device that I ...
-2
votes
1
answer
89
views
Chrome command-line switch --force-webrtc-ip-handling-policy not blocking IP leakage in Release build [closed]
I am trying to launch an isolated Google Chrome instance on macOS with a specific user-data-dir and proxy settings. My goal is to restrict WebRTC to only use the configured proxy (hide the real public ...
Advice
1
vote
3
replies
74
views
How to install pygame on Mac
I followed instructions found online but no luck with installing pygame on my Mac Mini. It was easy to install on my Windows based laptop but not so with Apple version of VS Code. The Apple version ...
-8
votes
0
answers
90
views
"Are you sure you want to continue connecting (yes/no/[fingerprint])" - is [fingerprint] the macOS fingerprint? [closed]
While doing:
ssh -i somekey.pem [email protected]
on a recent macOS, I see:
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Is [fingerprint] the macOS biometric ...
-2
votes
0
answers
47
views
Map cursor movement using an AXIS joystick [closed]
I'd like to know if there's a way, or software, to map mouse movement to the movement of a gaming joystick?
For example, if I move my mouse cursor to the top of the screen, I'd like it to correspond ...
-1
votes
2
answers
117
views
Mac App starts in light mode before switching to dark [closed]
I recently added a setting to my Mac app that allows the use to select between a light, dark, or automatic appearance. While this works overall, if you select dark and relaunch the app while the ...
0
votes
0
answers
70
views
Using ld on macOS to turn a raw arm64 binary into an executable Mach-O binary
I am working making an assembler that compiles bf code into an executable that can be run on macOS. Essentially, I run the compiler, which outputs a raw arm64 binary to output.bin (i.e., a binary that ...
2
votes
1
answer
121
views
Trying to use /usr/bin/gcc instead of Xcode clang for purposes of C++20
I'm attempting to use the gcc compiler installed at /usr/bin/gcc by homebrew on my MacBook running Tahoe. Every time I run it, it defaults to Xcode's clang instead. I am attempting to compile C++20 ...
0
votes
0
answers
80
views
How to consume a keyboard event for a global hotkey in macos [closed]
So i have a raycast like app and for the hotkey, i recently switched to using macos apis instead of https://crates.io/crates/global-hotkey because i needed the flexibility, and I switched to NSEvent ...
0
votes
1
answer
73
views
How do I programmatically exit a custom [NSApp run] method?
As the title suggests, I have been working on a cross-platform project where I want to create apps for the macOS backend programmatically (without Xcode) through a combination of C and Objective-C, ...
Advice
0
votes
0
replies
34
views
SourceTree cannot connect to the internal network on macOS
I updated to macOS 26.2, and then SourceTree was unable to connect to internal network addresses like “172.x.x.x”, although connecting to domains worked fine.
I spent a whole night figuring this out.😣...
0
votes
1
answer
96
views
User input Form alignment
I am working on a form to allow the user to enter some input. Here is my code:
import SwiftUI
struct ContentView: View {
@State private var searchString = "TEST"
@State private var ...
0
votes
0
answers
47
views
How can I invoke the Finder's interactive "Rename…" command?
The Finder has a "Rename…" (formerly "Rename X items…") command that offers interactive pattern match & replace:
I like to invoke this operation from my own program.
Is that ...
0
votes
1
answer
197
views
How do I fix launchctl "Bootstrap failed: 5: Input/output error"?
I have written a shell script that I want to run every time I log on to my Macbook, and I'm trying to execute it via launchd.
My script is not a persistent daemon, it's supposed to write some text to ...
Best practices
0
votes
0
replies
47
views
How to use "loupe" in macos "preview" beside an object? (not cover it!)
How to avoid of covering a magnificant object by the "loupe" tool in macos "preview"? There is now way / cheat to shift away over the zoomed target. Any LLM suggestions aren't ...