Questions tagged [launch-services]
Launch Services is an API used by applications to open other applications or their document files similar to the way that the Finder or the Dock handles them.
59 questions
2 votes
1 answer
88 views
Is it possible to harden a launchd service?
I use syncthing for backups and data sync. In Linux, I run it via a systemd hardened unit, restricting what directories the process can read, access to privileged kernel ops and, most important, I ...
0 votes
0 answers
326 views
Run a secondary SSH server on MacOS Sequoia
I use SSH extensively for intersystem communication within a private (192.x.x.x) network. Now there is a need to allow only some functions (notably SCP) with a couple of servers from the external ...
1 vote
1 answer
183 views
An app changed file associations without my permission - how do I restore them?
I installed an AI coding IDE by dragging it to my Applications folder. As soon as I opened it, it changed my Finder such that all .md, .json, .txt etc. open with this new app instead of others. I do ...
1 vote
0 answers
487 views
What is the proper way to stop and restart a service that is a "bundled daemon"?
There are some recent apps, e.g., Cisco Secure Client / AnyConnect VPN service, where the service cannot be stopped/started using the LaunchControl.app. For more control over what's running on the ...
1 vote
1 answer
47 views
no sound in plist on mac
I'm not able in my plist of sync to make a beep when finished. this my code of plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD ...
4 votes
7 answers
2k views
Simplest way to create a clickable list in MacOS that will cause selected programs to run
I'm looking for something which runs under macOS that will let me do the following: Suppose I have a file called "program.list" with contents something like this: "Program 1" "...
1 vote
0 answers
1k views
How to stop sharingd, unsolicited, acceptance window from spawning and disappearing instantly every time the computer starts?
I have been living with this for a long time, but now (hope with your help) I am committed to solve it because it doesn't look quite normal. Why this window of this sharingd process, shows up at boot ...
1 vote
1 answer
431 views
How to register some program "at login" for all users on macOS
I know I can use "Service Management" (SMAppManager) for the current user [or do the equivalent action via setup], but it only registers at login for the current user, but I need my app to ...
0 votes
2 answers
1k views
Leave SSH daemon running permanently
I, for some reason, cannot seem to find a google search which actually answers this question. I have a mac, and I would like to have the ssh daemon running in the background at all times, so I can ssh ...
1 vote
0 answers
112 views
Associate another filename extension with existing UTI
The macOS system recognizes various files as JavaScript. If the filename extension is .js, .jscript, .javascript or .mjs, the file's Uniform Type Identifier (UTI) is com.netscape.javascript-source and ...
2 votes
1 answer
3k views
Why do I see “ln” listed in the login items? [duplicate]
I'm currently using macOS Ventura 13.1 on my i5 Macbook Pro 2020. After updating to this version, some unexpected behavior has arose, such as "Steam" added items that can run in the ...
0 votes
1 answer
3k views
What’s com.apple.iomfb_bics_daemon in macOS Monterey?
I noticed in my boot logs that this service fails to start because the executable is missing. So, what is it supposed to do? I can’t find much about it on the internet besides that it was introduced ...
0 votes
1 answer
62 views
Open a file according to its name
On my iMac I would like to open PDF files with Preview, while PDF files that have 'docuni' in the name (e.g. 'docuni1.pdf' or 'docuni2.pdf' etc.) I would like to open by default with Adobe Reader. Is ...
1 vote
0 answers
357 views
How to `kill -HUP` apps in macOS 12+?
Long ago it was relatively simple to kill and start some apps and processes in macOS by issuing a killall -HUP PROCESS_NAME. It seemed that most apps and processes respected the -HUP signal, but that'...
1 vote
1 answer
6k views
Disable/enable launchd daemon/agents
There are several launch daemons/agents that start automatically and I wish they will not start automatically. I have listed some services by running $ launchctl list | grep -i 'safari\|siri\|photo\|...