Appzdev.com

iPhone and Mac Blog www.appzdev.com

Appzdev.com - iPhone and Mac Blog www.appzdev.com

Random Tech: Mac OS X Services (the menu you never go to)

Mac OS X Services (the menu you never go to)

 

(Note: Numbers 1 through 3 require WordService — read the article to understand)

There’s a whole hidden side of text modification that is stashed away, yet right at your fingertips. If you go to the Application menu (if you’re in Safari, click the menu ‘Safari’) -> Services, a whole list pops down. You’ve probably disregarded this in the past (if you’ve ever seen it) because most of the options are grayed out, or unclickable. All you need to do is highlight some text. Go back to the menu and there are so many to choose from! Here are my favorites:

1) Have you ever typed something and then realized you were in caps lock? You probably deleted it and typed it again all in lowercase. You could be more efficient. If you go to Services -> Convert -> Lowercase, it solves the problem without you having to type it all again! You could even do Convert -> Initial Caps of Sentences to have every letter lowercase except the first letter of the first word in a sentence. Nifty!

2) Are you space bar trigger happy? Ever typed more than 1 space in between words? Services -> Format -> Remove Multiple Spacestakes care of that.

3) This one’s really helpful. Have you ever needed a long list to be alphabetized? Maybe not even just words, but how about lines of text? At Services -> Format -> Sort Lines Ascending, your entire selection becomes alphabetized. No shareware programs necessary!

4) Don’t feel like reading this whole article, but you still want to get an idea of what it’s about? Perfect! Select all of it and go toServices -> Summarize. Works well with reviews and book reports!

And this doesn’t only work with Safari – it works with every application on your Mac! There are several you can download from the internet. They’re called Services and you put them in your home folder -> Library -> Services, if they don’t get installed there already.

Mac OS X Disable Unnecessary Services

Mac OS X Disable Unnecessary Services

 

How do I disable unnecessary services under Mac OS X to secure my Mac OS X based desktop / server / laptop?

Mac OS X use the following directories to start various services (quoting from the man page):

  1. /System/Library/LaunchDaemons/ - System-wide daemons provided by Mac OS X
  2. /System/Library/LaunchAgents/ - Per-user agents provided by Mac OS X.
  3. ~/Library/LaunchAgents/ - Per-user agents provided by the user.
  4. /Library/LaunchAgents/ - Per-user agents provided by the administrator.
  5. /Library/LaunchDaemons/ - System-wide daemons provided by the administrator.

launchd manages processes, both for the system as a whole and for individual users using .plist files. Open the terminal and type the following commands to view directory files:

cd /System/Library/LaunchDaemons/
ls -l
ls -l | less

OR

cd /System/Library/LaunchAgents/
ls -l
ls -l | less

How Do I Disable Unnecessary Services?

You need to use the launchctl command as follows:

sudo launchctl unload -w /path/to/.plist/file
sudo launchctl unload -w /System/Library/LaunchDaemons/file.plist

In this example, you are disabling the Bonjour service, enter:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist

by VIVEK GITE