OSX

../_images/apple.png

This is my main unix operating system I use daily.

Software Update

You can use the command line to update your OSX systems remotely:

softwareupdate --install
-l, --list List packages available
-i, --install arg
 

Install packages where arg can be:

-a, --all All packages
-r, --recommended
 Just the recommended packages
--schedule arg Setup scheduling downloads, either on or off

OSX Fixes

Enable One-Finger Tap & Drag

Step 1: On your Mac, first open the Preferences panel. There, head to the Accessibility option as shown below.

Preferences

Preferences Accessibility

../_images/Preferences-Accessibility.png

Step 2: On the left panel of the next window, scroll down and select the Mouse & Trackpad option. There, click on the Trackpad Options… button.

Mouse and Trackpad

../_images/Mouse-and-Trackpad.png

This will bring down an options panel.

Step 3: On this panel, you will notice an interesting option at the bottom named Enable dragging. Check it.

Preferences Enable Dragging

../_images/Preferences-Enable-Dragging.png

This option not only allows you to enable dragging on your Mac’s trackpad, but also lets you activate or deactivate drag lock (when enabled, this means that when you drag a window, you will have to perform one more click in order to deactivate the drag function).

And done! Now whenever you use your Mac’s trackpad, just double-tap on any ‘draggable’ area of a window to move it around.

Stop Safari re-opening windows

Hold the shift key down and open Safari

defaults write com.apple.Safari ApplePersistenceIgnoreState YES
defaults write com.apple.Preview ApplePersistenceIgnoreState YES

Stopping App Store Downloads

Pausing downloads is easy, but if you start one and want to cancel it hold Option key and click on cancel.

Useful Software

My hard drive crashed (29 April 2015) and I had to re-install everything. Oh, a USB drive attached to Airport Extreme as your Time Machine backup doesn’t work! When I tried to reinstall from that, it complained about corrupt Time Machine files or some such crap. Connect your drive directly to your computer.

So, here is all the software I had to re-install: