OSX Tips – Add Quit Option to Finder

QuitFinder

OSX 10.8 Mountain Lion does not give you the option to quit the Finder by default. This can be annoying if you want to hide your desktop icons and concentrate on current the task in hand.

You can add the Quit option to Finder menu with the following terminal commands:

defaults write com.apple.finder QuitMenuItem 1
killall Finder

If you want to remove it again use the following:

defaults write com.apple.finder QuitMenuItem 0
killall Finder
Share Button

OSX Tips – Turn off / Disable Dashboard from the Command Line

Dashboard

OSX’s Dashboard provides a screen of small applications (widgets) which appear when you hit F4 or utilise various other access methods. You can free up memory by disabling Dashboard.

To turn off/disable Dashboard from the command line:

defaults write com.apple.dashboard mcx-disabled -bool YES
killall Dock

To turn it back on again:

defaults write com.apple.dashboard mcx-disabled -bool NO
killall Dock
Share Button

OSX Tips – Turn off Automatic Termination Daemon from the Command Line

daemonhammer

The Automatic Termination Daemon is a feature of OSX Mountain Lion which is used to automatically terminate the execution of certain applications once their viewing window is closed. It’s debatable as to weather or not this feature is necessary, and if you want to turn it off to save some RAM you can do so with the following command in the terminal:

defaults write -g NSDisableAutomaticTermination -bool YES

If you want to turn it back on again use this:

defaults write -g NSDisableAutomaticTermination -bool NO
Share Button

View Seeker Location Scout v1.2 Released

I am very pleased to announce that View Seeker Location Scout version 1.2 has been approved and released to the Apple App Store.

The updated app is now Universal meaning that it has a customised interface for iPad users.

app-screenshot-ipad

Other features of the update:

  • Added thumbnails to map results
  • High resolution images for Flickr on iPad
  • Favourite images carousel on iPad Home Screen
  • Turn Flickr/Panoramio searching on/off
  • Bug Fixes
  • UI Improvements

Hopefully the update will benefit all you photographers using View Seeker on iPad as a photographic location scout.

Please let me know if you have any comments or suggestions for features. You can get me here and on twitter.

Share Button

OSX Tips – Bash Shell Infinite Loop

bashinfiniteloop

Sometimes you need to see updates to something in the terminal but the program that you’re running isn’t telling you what’s going on. One example of this is dd which unhelpfully shows you nothing until it has finished executing.

If, for example, I were running the dd command as follows:

dd if=/dev/diskx of=~/Desktop/output.iso

and I wanted to see how far the copy had prgressed, I could use a bash infinite loop with the ls command to constantly check the file size of the output file. If I knew the size of the input file then I’d be golden. Something like this would do the trick:

while : ; do ls -l ~/Desktop/output.iso ; sleep 1 ; clear ; done

This would give me a continually updating filesize of the output file. Once that file size stops increasing I’d just hit CTRL+C to break out of the loop.

Share Button

Xcode Tips – Keyboard shortcuts to make your life a bit easier

Xcode

What follows is a list of keyboard shortcuts for Xcode that will hopefully make your life a little bit easier while coding. It is not meant to be an exhaustive list of every Xcode keyboard shortcut, rather a list that helps me during day to day development, and hopefully others will find it useful. I will be adding to the list as and when I find something else useful.

Switch between open windows: CMD + ` 

Switch between open tabs: CMD + SHIFT + } or CMD + SHIFT + {

Go to a line of code: CMD + L

Indent/outdent a section of code: CMD + ] or CMD + [

Show/hide the debug area (bottom pane): CMD + SHIFT + Y

Show/hide utilities (right hand pane): CMD + OPT + 0

Show/hide the navigator (left hand pane): CMD + 0

Show the Assistant: CMD + OPT + ENTER

Hide the Assistant: CMD + ENTER

Open Quickly Dialog: CMD + SHIFT + o

Search in the file: CMD + F

Search and Replace in the file: CMD + OPT + F

Search in the project: CMD + SHIFT + F

Search and Replace in the project: CMD + OPT + SHIFT + F

Switch between header/implementation files: CTRL + CMD + up/down

Comment/Uncomment a section of code: CMD + /

OPT + click on a symbol to see info about that symbol

OPT + double click on a symbol to go to the documentation

CMD + click on a symbol to go to that symbol’s declaration

That’s it for now. Check back as I will be adding to this list.

Share Button

OSX Tips – Turn off / Disable IMAgent from the Command Line

FaceTime

IMAgent is an OSX daemon which runs as part of FaceTime. You can disable it with the following command:

launchctl unload -w /System/Library/LaunchAgents/com.apple.imagent.plist

You can re-enable it with the following:

launchctl load -w /System/Library/LaunchAgents/com.apple.imagent.plist

You can test to see if it’s running with the following command:

sudo launchctl list | grep imagent
Share Button

OSX Tips – Turn off / Disable CalendarAgent from the Command Line

 iCal

OSX’s CalendarAgent can cause issues with processor/memory hogging from time to time. If you want to disable it yo can do so from the command line:

launchctl unload -w /System/Library/LaunchAgents/com.apple.CalendarAgent.plist

You can re-enable it with the following:

launchctl load -w /System/Library/LaunchAgents/com.apple.CalendarAgent.plist

You can test to see if it’s running with the following command:

sudo launchctl list | grep CalendarAgent
Share Button

Flickr Search Problems

flickr

If you’re using View Seeker and aren’t getting any results when searching using the Flickr service, the problem appears to be with Flickr’s search. The search is executing in the app correctly and not returning an error, however no results are returned, and hence the reason the app is showing a blank page rather than an error.

You can find a bit more info at this link.

Unfortunately we just have to wait for Flickr to fix the problem. Will keep you posted.

Share Button

OSX Tips – Turn off / Disable CUPS from the Command Line

CUPS

 

 

CUPS – the Common Unix Printing System is a modular printing system for unix-like operating systems, and is built in to Mac OSX. You may want to disable it to free up resources if you are optimising your system, and you can do so in the following way from the command line:

sudo launchctl unload -w /System/Library/LaunchDaemons/org.cups.cupsd.plist

You can re-enable it with the following:

sudo launchctl load -w /System/Library/LaunchDaemons/org.cups.cupsd.plist

You can test to see if it’s running with the following command:

sudo launchctl list | grep cupsd
Share Button