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 ...
Prado's user avatar
  • 2,016
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's user avatar
  • 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 ...
Prado's user avatar
  • 2,016
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 ...
kervich's user avatar
  • 442
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 ...
John Springer's user avatar
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 ...
jksoegaard's user avatar
  • 76.5k
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 ...
zip's user avatar
  • 131
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 ...
mnovaes's user avatar
  • 101
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 "...
jksoegaard's user avatar
  • 76.5k
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 ...
jmindel's user avatar
  • 561
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 ...
TabeaKischka's user avatar
  • 1,002
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.
MacManager's user avatar
  • 1,684
6 votes

Disable SpeechRecognitionCore

You probably have Dictation enabled. This setting is under Keyboard System Preferences.
Gajus's user avatar
  • 337
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 ...
AG_Alex2097's user avatar
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 ...
Graham Miln's user avatar
  • 43.1k
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'...
Wowfunhappy's user avatar
  • 7,293
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, ...
slightly_toasted's user avatar
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 "...
Beejor's user avatar
  • 151
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 ...
nohillside's user avatar
  • 97.9k
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-...
guness's user avatar
  • 161
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 ...
Graham Miln's user avatar
  • 43.1k
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 ...
ccpizza's user avatar
  • 2,905
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. ...
bmike's user avatar
  • 232k
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 ...
nwinkler's user avatar
  • 8,766
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 ...
bgausden's user avatar
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 ...
Tony Williams's user avatar
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, ...
SRJ's user avatar
  • 143
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.
nohillside's user avatar
  • 97.9k
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 ...
jackjr300's user avatar
  • 2,572
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 ...
ian's user avatar
  • 471

Only top scored, non community-wiki answers of a minimum length are eligible