44

The OS X equivalent of Windows services is Launchd. The OS X equivalent of services.msc on Windows is launchctl. The daemons managed by launchd can be on demand or can be triggered periodically (this is configurable in launchd.plist) You can manage the daemons from the command line (from Terminal.app under /Applications/Utilities/) or by using a tool like ...


39

You can do this by: In the Finder, press ⌘⇧G to Go to Folder. Type "~/Library/Services" Find the service you no longer want Drag it to the Trash


38

For most of the "services" (called Daemons or Agents) you can check: In terminal: $ sudo launchctl list For example only MySQL you can filter the output of the command above, like $ sudo launchctl list | grep -i mysql. Note -i is to make the filter case insensitive. These can be controlled with a GUI named Lingon. There are some other "services", that ...


23

I don't know how to click menu items without using System Events, but if others get here searching for how to click menu items with System Events: tell application "System Events" to tell process "Finder" click menu item "New Finder Window" of menu 1 of menu bar item "File" of menu bar 1 end tell tell application "System Events" to tell process "Finder"...


22

I figured out that I needed to enter the following in the terminal: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist I did this already, and it seemed to fix the issue, but would love to know if this is the advisable way to solve the problem. ======================================================== Also, in case you want to ...


20

this works for me: sudo automount -vc


15

Specifically for the gamed service, the following command in one of the posts about a similar topic on the Apple Support Communities worked for me, without any need to modify plists or rename files: sudo defaults write /System/Library/LaunchAgents/com.apple.gamed disabled -bool true Changing "true" back to "false" will re-enable it, although I've not tried ...


15

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 SharedFilesLists - special property lists that contain NSURL BookmarkData entries. These are used for recent documents/servers/hosts that you see in Apple->Recent ...


14

You can disable it like this: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.locate.plist


13

How do i restart sshd in OSX Lion? You probably know this already, but I'll say to be complete: if you kill sshd processes you'll terminate active SSH sessions to the machine. The sshd daemon provides ssh access to your machine. It handles incoming ssh connections. Not outbound connections. If sshd is really what you mean then... Before you restart it, ...


13

It is in Preferences in V 10.0.43320 which I downloaded and installed yesterday. Go to Preferences > General and there untick 'Start TeamViewer with System'.


11

I'd rather have this a comment, but for some reason I can only post answers. Have a look at LaunchControl: http://www.soma-zone.com/LaunchControl/. While it does not offer a menu item to start/stop services it provides a list of all available launchd jobs, their current status and a way to start/stop them with the click of a button. EDIT LaunchControl now ...


10

The location of the user created services is under: ~/Library/Services/ (tested Mac OS X Mountain Lion 10.8.4) other locations you get by entering following command in Terminal: mdfind .workflow


10

The application "Activity Monitor" is located in /Applications/Utilities and will display all processes similar to the Unix command 'top'.


10

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 problem continues. I went into notifications > edit and disabled all notifications, badges, sounds, etc, except for iMessage, Slack and Outlook. About 3 ...


9

In System Preferences, go to Keyboard » Keyboard Shortcuts » Services Find the service on the list. To the right of the service name, double-click. Enter the desired shortcut.


8

Applications and Menu Bar items Most of these can be easily configured in: System Preferences → Users&Groups → Login Items LaunchAgents and LaunchDaemons Some applications are cannot be configured in the System Preferences (e.g. Sophos AV Scanner, HandsOff Firewall,...) It's best to configure them in their own application to assure that ...


7

For a quicker and easy-to-remember way, you can alias the command shown in the top answer into lscleanup like so: # Clean up LaunchServices to remove duplicates in the “Open With” menu. alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user &...


7

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 Monitor, search calendar and quit calendar processes. Open Finder > Go to Folder (⇧⌘G) /Library/Caches and drag contents to trash. Open Finder > Go to ...


7

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 have a ⌘ command key in them. That is, cmd-ctrl-k works, but ctrl-k needs help. The "help" is to go to the app's menu bar and hover over the services so it sees ...


6

This isn't too difficult to do, you just need to know the right magic. I'll walk you through it. Open Automator, and when prompted to choose a type for your document, select Service. If you're not prompted, just hit ⌘N to make a new automator file. At the top of the rightmost panel, make sure that Output replaces selected text is checked, and the first drop-...


6

Yes you can, using the following code. Note that the UniqueID, if less than 501, may not list the user in the Accounts pane of system preferences, depending upon the OS version. Be careful that it is not already assigned to another user account. sudo dscl . -create /Users/ThisUserName sudo dscl . -create /Users/ThisUserName UserShell /bin/bash sudo dscl . ...


6

lsboxd is part of the OS X Sandbox. It allows communication between sandboxed applications. lsboxd is in the Launch Services API. It is the Launch Services Sandbox Daemon, which governs what apps can launch apps in the OS X sandbox. You can peruse the App Sandbox Guide for more information about sandboxing. PDF: App Sandbox Design Guide


6

Turns out this feature has to be enabled now. After I posted my screenshot I noticed the "Service Preferences..." menu item and clicked it. Click that menu item, scroll down to where it says "Text" and tick the box that says "Summarize".


6

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 where you enter the Shell script write: cat | sed 's/^/"/' | sed 's/$/"/' | sed 's/""//' This takes the text you entered as input, and adds a quotation mark at ...


6

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 appears in the menubar > Safari > Services menu in Safari, see part B. Part A: Creating a Contextual Text Service Step 1 Follow part B's step 1 (I'll refer to ...


6

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 to not run software that installer system level startup items. There is no easy way to stop an admin user from changing the system. You can enforce gatekeeper ...


5

I ran into the same problem and thought I'd be smart and run /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user under sudo. That didn't fix things. It wasn't until I ran it under my user account privileges that the problem was solved.


5

Services Manager seems to just modify .GlobalPreferences.plist: defaults write -g NSServicesMinimumItemCountForContextSubmenu -int 999 You have to reopen applications to apply the changes.


5

I usually use scripts like this instead of Automator services: try set old to the clipboard as record end try tell application "System Events" to keystroke "c" using command down do shell script "export LC_CTYPE=UTF-8; pbpaste | /usr/local/bin/pygmentize -g -f rtf | pbcopy" tell application "System Events" to keystroke "v" using command down delay 0.05 ...


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