34
votes
Accepted
Why does setting the hard-limit for maxfiles to "unlimited" using `launchctl limit` result in a hard-limit slightly above the soft-limit?
A fresh system install, with default parameters is configured with the following system wide file limits:
Kernel Max Files: 12288
Max Files per Process: 10240
Current kernel sysctl parameters can be ...
27
votes
Accepted
How do I prevent nginx from auto-loading using homebrew?
The ‘stop’ verb to ‘brew services’ will stop the service from restarting automatically on boot having ‘unregistered it from launching at login (or boot)’ per the help text shown with ‘brew services’. ...
grg♦
- 199k
26
votes
launchd: Confusion on semantics of bootstrap and bootout etc. after reading manual pages
LaunchAgents are basically the same as LaunchDaemons, except that:
LaunchAgents runs only after the user Logs in, process runs on the Logged in UID (User ID) with the logged user privileges. Process ...
22
votes
Accepted
What are the sharingd and sharedfilelistd processes?
In a nutshell, sharedfileslistd is an XPC helper agent that provides SharedFilesLists private API in CoreServices that gets called by, for instance, by LaunchServices APIs and works with so-called ...
18
votes
Keyboard shortcut for service only works after I manually run the service
Found the answer in this Apple Support Community thread:
Bug: Keyboard shortcut keys do not always activate a service (a workflow)
Keyboard shortcuts for services will only work properly if they ...
17
votes
Accepted
How to disable the "locate" command in Mac OS?
You can disable it like this:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.locate.plist
Keep in mind, this process only runs periodically to make the database that caches the ...
13
votes
What is CalNCService and why does it run hot in macOS Sierra?
I had same problem (fans at full throttle, CalNCService at 122% of CPU) and have made 2 visits to Apple store and 3rd visit I checked in the Mac for a warranty repair (replaced both fans)... Yet the ...
10
votes
What is CalNCService and why does it run hot in macOS Sierra?
Definitely works, even before restarting:
On your own risk! Do a Time Machine backup first.
Open System Preferences, Internet accounts and untick Calendar for each account.
Open Activity ...
10
votes
Accepted
What are all these tvOS services?
The services are:
._airplay._tcp.local
This is a Bonjour advertisement for the network service that enables AirPlay of video content. I.e. this allows iOS devices to discover the Apple TV as a "...
7
votes
Accepted
How to create a service (shown in the context menu on the URL) in Safari?
UPDATE: I initially misunderstood the question. To learn how to create a service for the context menu in Safari, see part A of this answer. To learn how to create a service that takes no input and ...
7
votes
Accepted
How to create a service that puts selected text into quotation marks?
One way is to create a service that runs a shell command.
For this, open Automator, create a new Service, check "Output replaces selected text", then add the action "Run Shell Script". In the box ...
7
votes
Accepted
Finder - No Services Apply
You have to click on a file or folder to select it and then the Services menu will work. You can get to the Services from either the Finder menu bar or by Control-clicking (right-clicking) on an item.
6
votes
Disable SpeechRecognitionCore
You probably have Dictation enabled.
This setting is under Keyboard System Preferences.
6
votes
Automator service not showing in services menu
Depending on how your script is configured, by default, any Service requires to have an item selected / highlighted (in your case, an email) as they are context sensitive.
You can disable this ...
6
votes
Why can an app create daemons on the fly without sudo permission and how to stop it?
The general security model is that normal users can add any startup items to their realm (user library for them) and not for the system, so don’t let people have admin accounts if you don’t trust them ...
6
votes
Accepted
Grant "Full Disk Access" to Workflows run via the Services menu
The problem is that the automator service inherits the permissions of the application it's running from.
Automator has Full Disk Access. So, if you run it from Automator, it works!
But let's say you'...
6
votes
Accepted
Are apsd, ntpd, mDNSResponder, trustd, netbiosd necessary for macOS functioning?
apsd - Used for FaceTime push notifications
ntpd - Used to synchronize clock
mDNSResponder - Part of the Bonjour protocol, used to scan your network for other Bonjour-enabled devices (printers, ...
5
votes
Can only run AppleScript from Automator
Important note regarding AppleScript actions in Automator workflows.Hopefully this helps others who are looking for a fix.
Assistive Access
If your script uses things like tell application "...
5
votes
Accepted
OS X: How to lock down these frivolous protocols!
You can find more details about these services in SpeedGuide's Port Database or the IANA Service Port Registry:
ndl-aas/3128
dec_dlm/625
AFAIK neither port is used by OS X out of the box, so you ...
5
votes
What is CalNCService and why does it run hot in macOS Sierra?
I had similar problem. CalNCService was consuming enormous amount of CPU. Here is how to reproduce on my side:
I am using iPhone SE with iOS 11.1.2 and a MacBook with macOS High Sierra on the same Wi-...
5
votes
Accepted
AppleScript Calculator: Take selected text equation & calculate the result
Over on StackOverflow you will find these related questions:
Equation (expression) parser with precedence?
Smart design of a math parser?
For a discussion about parsing expressions, see:
Parsing ...
5
votes
How to disable or remove the YaraScanService (MRT.app)?
As mentioned in this article YaraScanService is part of the MRT.app (Malware Removal Tool). If you are sure your system is not infected with malware and you don't want Apple to do automatic malware ...
5
votes
Hide the source code for an Automator quick action / service
Yeah, no. When you deliver an interpreted script, people always get to see the code - by design. This is the same for workflows and Automator and shortcuts as it is for perl and bash and python.
...
4
votes
Accepted
launchctl doesn't start cntlm daemon
I'm posting this as a separate answer since I did not have to fiddle with any plist files to make this work.
Here's how I installed and started CNTLM today:
Install CNTLM with Homebrew
brew install ...
4
votes
Keyboard shortcut for service only works after I manually run the service
In my case, I had to change the shortcut from ctrl-option-cmd-L to shift-option-cmd-L before the shortcut would trigger.
If adding cmd to the shortcut doesn't work, try substituting a different ...
4
votes
How to get nfsd to serve NFSv4 on High Sierra?
The version of nfsd on the Mac does support v4. For ACL support you definitely need to connect using v4.
Your failure to get a v4 connection is probably on the client side. Most NFS clients default ...
4
votes
Running Launchd Services with Non Root User on macOS
Used tool LaunchControl to debug the problem. I recommend to install the brew cask install launchcontrol, which is a gui tool for launchctl, it can help detect errors and trouble shooting.
In my case, ...
4
votes
Accepted
How to Remove Unnecessary Services from Folder Menu in macOS Sonoma?
You can untick the ones you don't want in System Settings -> Keyboard -> Keyboard Shortcuts... -> Services.
3
votes
Accepted
How can I use the automator to create text-to-speech service that talks faster than the current service?
Do this:
Remove the "Speak text" action.
Add the "Run AppleScript" action.
Clear all the default text in the action.
Copy/paste this script in the action:
on run {input, parameters}
repeat with ...
3
votes
Remove system default / third-party app 'service' items from OS X context menus?
My own experience (on 10.9) is that the service uses the default search engine selected for the default browser, so right now my own "Search with…" says "Search DuckDuckGo for…" and will open in ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
services × 269macos × 115
automator × 91
applescript × 49
keyboard × 24
finder × 20
shortcut-menu × 16
launchd × 13
terminal × 11
shortcut × 11
safari × 10
launch-services × 9
network × 8
command-line × 8
script × 8
daemons × 8
iphone × 7
applications × 7
homebrew × 7
automation × 7
mac × 6
preview × 5
startup × 5
text × 5
plist × 5