Showing posts tagged Forgetful ProTips

Where’s My Library Folder in OSX Lion?

In Terminal:

chflags nohidden ~/Library

That’s it. I wonder when that option will simply be added to Finder preferences or somesuch.

[Post-Lion Install] CS4ServiceManager: Eff-Off

After installing OSX Lion on my MacBook Pro, I was annoyed by a dialog upon startup that stated:

To open “CS4ServiceManager,” you need a Java runtime. Would you like to install one now?

(My answer: “No.”)

This is a Photoshop CS4 nag utility that I didn’t want to have running on my machine all the time. I also did not want to install a Java Runtime just to run this stupid thing. How did I get rid of it?

Photoshop’s support site was barely supportive: A knowledge-base article informs us that we can create a custom plist file to disable CS4ServiceManager.

Ugh. Instead of doing that, l used launchctl:

launchctl unload -w /Library/LaunchAgents/com.adobe.CS4ServiceManager.plist

Haven’t seen it since.

Now, I won’t receive auto-update notices, but there are some apps that I prefer to manage on my own time. (If forced to choose, I would prefer that my app check for updates during launch.)

(P.S.: With launchctl, I can also disable a bunch of other auto-updater agents, like Google’s App Engine updater by applying unload -w to com.google.keystone.agent.plist)

pbcopy: Copying and Pasting from the Command Line

One of those things I will not use very often, but will come in very handy if I ever remember it. Noting it here to help me along: pbcopy accepts standard input and puts it onto your OSX clipboard. For example,

cat /somewhere/on/your/volume/textfile | pbcopy

Will pretty much put all the text in textfile onto the clipboard. There’s a corresponding pbpaste that will write the clipboard’s contents to standard output.