Booting Options#






Boot from External Device

Nice Software#



  • Pixelmator. Image editor that fully took advantage of the Mac OS (Open GL, Automator, ColorSync etc.).

  • Seashore. Image editor - Simpler than Pixelmator. Good for quick fix.

  • ImageMagick. Command line processing tools for images. E.g., can create GIF.


  • Free and open source software for video recording and live streaming.

  • EasyWMA. Convert WMA format into MP3, M4A, WAV or AIFF

  • MacTheRipper. Extract your DVD into TS_VIDEO/TS_AUDIO folder (then use HandBrake to compress).

  • HandBrake. Convert DVD into DivX. Also convert various video formats (MOV, MP4, AVI, etc.)

  • VLC. Nice video player (can be used for DVD as well).

  • Camtasia. Record videos

3D objects

  • MeshLab. Read STL, OBJ, 3DS, etc., convert, resample.


  • InkScape …………. Free equivalent of Illustrator: do vectorial figures. One disadvantage: the application has been developed under X11 so the GUI is sometimes “hesitating”…

  • ShapeOnYou ……. Generate 3D shapes for Keynote

  • Organigram ………

  • graphviz. Generate nice diagrams.


  • Horos: Free DICOM/NIFTI viewer (replaces OsiriX)

  • MITK workbench


Internet stuff

  • Transmission. Torrent manager (by default the one from OSX is Opera - which is not that cool)

  • Cyberduck. FTP/SFTP protocol handler with nice GUI.

  • adblock. block adds


  • Pdfshrink: Very convenient, because the default ‘save pdf’ option of Word, etc. does not compress pictures

  • Mailplane: Gmail-dedicated application that makes life easier: drag/drop stuff, get notifications, etc.

  • MenuMeters: System monitoring (free).

  • Caffeine: Allows to avoid entering into sleep mode, e.g., while you’re showing a funny clip on youtube

  • xGestures: Allows you to perform common functions using quick mouse movements (e.g. close window, previous page on Safari, etc.)

  • MultiClutch: Allows you to perform common functions using touchpad movements (e.g. previous page on Firefox, etc.).

  • Expandrive: Create a virtual FTP disk

  • Capture Me: For screen recording

  • ScreenFlow: Create demo videos for software

QuickLook modules

Nice plugins, see: Full list of QuickLook modules here)


  • G*Power: power calculation for statistics


  • Pycharm Integrated Development Environment (IDE)

  • VScode Integrated Development Environment (IDE)


Global default config #


Clean cache:


Files and Folders#

Change Folder Icon #

  1. Find an icon you like. A good place is interface lift.

  2. Once you have found your icon, right click and “Get Info” on both your icon file and the folder you wish to change. Click on the small icon in the top left hand corner. There will be a blue outline around the icon. Now press Command + C, this will copy the icon to your clip board.

  3. On your folder icon that you want to change, click it again and press CMD + V. This will paste the icon.

Copy/Make a disk image from CD/DVD (ISO format) #

Open Disk Utility, click on “create new image”, then save as DVD/CD .cdr format. Then you can convert your CDR into ISO using the following Terminal command:

hdiutil makehybrid -iso -joliet -o Master.iso Master.cdr


Create recovery partition #

For Mavericks:

Is it possible to downgrade to Mountain Lion on a Mac with native Mavericks installation? ANSWER: no.


Lock screen #

In order to run a script overnight:

  • Keyboard Shortcut: Ctrl+Shift+Eject

  • Icon in your menu bar: Keychain Access > Preferences > General tab > select the Show Status in Menu Bar option.

Lock screen upon sleep #

Looking through this site, I found part of the solution in this hint. The trick was getting this script to activate on Sleep (or wake up). After some searching, I found Bernhard Baehr’s excellent Sleepwatcher. Sleepwatcher is a daemon that calls a pair of scripts, ~/.sleep and ~/.wakeup, upon sleep and wakeup. Combining these two, I installed Sleepwatcher, and used the code below as my .sleep file (the /System… line is shown on two lines; enter it as one line without any added spaces):

#!/bin/sh /System/Library/CoreServices/Menu\ Extras/ -suspend

Restart, and your Mac will fast-user switch itself to the log in screen when you close the lid! Hope this helps other paranoid PowerBook owners! Note: You can also put this script in your .wakeup file, but there’s a few (three to five) seconds’ delay between wake and the script call, leaving the system wide open for a few seconds, and looking a bit tacky to boot.

To download sleepwatcher:

Source of this tips:


Disable Notification Center #

If you don’t need the Notification Center feature introduced in OS X Mountain Lion, you can easily disable it with a Terminal command.

Open Terminal by searching for it in Spotlight or opening it from the Applications > Utilities folder. Enter the following command

launchctl unload -w /System/Library/LaunchAgents/

Next you have to close Notification Center. Enter the following command:

killall NotificationCenter

If you see an error reading that there was no process, don’t worry.

And right away, you will see that the Notification Center icon is gone from the menu bar! If you need to get it back:

Enter the following command in Terminal

launchctl load -w /System/Library/LaunchAgents/

Hit Command+Shift+G in Finder and go to /System/Library/CoreServices/ then find “Notification Center” and double-click it to launch it.


Dialog box: select option with Tab #

After Snow Leopard, this useful feature was removed by default. To put it back: System Preferences > Keyboard > Shortcuts > select “All Controls”


Dock in 2d #

defaults write no-glass -boolean YES
killall Dock

Make Hidden Applications Icons Transparent #

defaults write showhidden -bool YES
killall Dock

Set The Expanded Print Dialogue As Default #

defaults write -g PMPrintingExpandedStateForPrint -bool TRUE

Reboot station with Terminal #

sudo shutdown -r now

Set The Expanded Save Dialogue As Default #

defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE

Screenshot in desired format #

defaults write type jpg

needs re-logging


How to manage a server



help crash. use this command in matlab : com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');


Launch app automator –> New app OR service –> add “Run shell script” module –> select module Option: Pass input “as argument” –> write you script

FSL and FSLeyes#

Launch fslview via double click#

FSLDIR=/usr/local/fsl . ${FSLDIR}/etc/fslconf/ PATH=${PATH}:/usr/local/fsl/bin fslview $@ &

generate dwi_mean in same folder#

FSLDIR=/usr/local/fsl . ${FSLDIR}/etc/fslconf/ PATH=${PATH}:/usr/local/fsl/bin fold=$(dirname $1) NAME=`echo $(basename $1) | cut -d'.' -f1` fslmaths $1 -Tmean $fold“/“$NAME”_mean”

Use a service#

  • select a file or text (depending on your service input)

  • application menu (e.g. finder) → Services → your service. (Or specify a keyboard shortcut in “Services preferences”)


Won’t launch

  • Terminal –> go to folder:

    • ~/Library/Application\ Support/Google/Chrome/

    • ~/Library/Application\ Support/Skype/

    • Remove user folder or even everything


Sync is stuck

Solution 1

Remove the ACL manually. Go to the problematic folder(s) and type:

chmod -N foldername
chmod -RN foldername  --> do do it for all files/folders recursively

Solution 2

  • Terminal –> cd ~ –> rm -rf .dropbox/


Enable The Path View

defaults write _FXShowPosixPathInTitle -bool YES

Show Hidden Files

defaults write AppleShowAllFiles TRUE

N.B. Must restart:

Display full path

defaults write _FXShowPosixPathInTitle -bool YES

Sort Folders first

Image Capture#

iPhone or scanner is no more recognized

Close Image capture. Delete (or rename) the plist files:

cd ~/Library/Preferences

Open Image Capture and plug your device.


In the new version of Keynote (6.2), files are now saved as packages instead of files. This creates huge problems with Dropbox, git, etc. I did not find any workaround so far, so had to install the older version (not possible to downgrade from Apple Store– you need to manually install the previous version inside the Applications/ folder).

Microsoft Word#

Word freezes after copy/paste


  1. work with .docx, not .doc


Error: A COM Exception has occurred

Related to EndNote. Solution:

  1. Go to ~/Library/

  2. Rename Saved Application State as Saved Application State_old

Error: “Microsoft Word has encountered a problem and needs to close”

Try rebooting.

Hyperlinks are lost when saving as pdf

This is a known bug. Solution: convert your word document using freepdfconvert


Port Papers to another mac#

This only applies to Papers 1. Not possible to do with Papers 2+ for security reasons (at least I haven’t figured out how to do it).

Copy these files to another mac:

~/Library/Application Support/Papers

Open Papers and register.

Your library is managed by the file Library.papers. To port your existing library, do the following:

  1. Go to menu Papers > Preferences > Library

  2. Edit the folder PDF Library Location

  3. When it says “Papers library found already”, click switch

  4. Restart Papers.


Add a signature

To avoid having to click multiple times to add a signature, here is an awesome AppleScript + QuickSilver combo:

Create this AppleScript:

tell application "Preview" to activate
  tell application "System Events" to tell process "Preview"
    click menu item 1 of menu 1 of menu item "Signature" of menu 1 of menu item "Annotate" of menu 1 of menu bar item "Tools" of menu bar 1
end tell

Then drag/drop this script as a “Trigger” in quicksilver, add a specific keyboard shortcut (e.g. alt+cmd+s) and make the scope specific to “Preview”.

To create other AppleScript, you can use this UI inspector: UI Browser.

If you want to run the above script without QuickSilver:

  1. Open Automator.

  2. Make a new Quick Action.

  3. Make sure it receives ‘no input’ at all programs.

  4. Select Run Apple Script (the script from above) and type in your code.

  5. Save!

  6. Now go to System Preferences > Keyboard > Shortcuts. Select Services from the sidebar and find your service. Add a shortcut by double clicking (none).

  7. Finally go to System Preferences > Security > Privacy > Accessibility and add Automator and the preferred app to run the shortcut.


Reload cache

qlmanage -r

List all plugins

qlmanage -m


qlmanage -p "path_to_plugin"
Example: qlmanage -p /Library/QuickLook/DTITK_QuickLookPlugin.qlgenerator

Nice plugins



Let Terminal Talk#

say hola

for more UNIX commands, see

display log#



If TextMate does not open, delete folder ~/Library/Application Support/TextMate .


mds_stores using high CPU load#

There are many forums about this issue. Below are some that sometimes work.

Solution 1#

sudo mdutil -a -i off


Solution 2#

Turn off the indexing for all of my Volumes

sudo mdutil -d /Volumes/Macintosh\ HD

Re-enable Spotlight with following command

sudo mdutil -Ei on /Volumes/Macintosh\ HD


Right-click sharing for Google Drive#

The Share menu might not show one or more sharing options—such as Email This Page, AirDrop, or Facebook—or the Markup feature might be missing.

Follow these steps if the issue occurred immediately after upgrading to Yosemite or El Capitan. Open the Terminal app, and run:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -seed


fslview opening out of screen#

  • try to restart the application.

  • try to restart the computer.

  • Try this:

rm ~/Library/Preferences/org.macosforge.xquartz.X11.plist
rm ~/Library/Preferences/
  • open AppleScript Editor and run:

tell application "fslview"
  set bounds of windows to {100, 100, 800, 800}
end tell

Archive Utility: Permanent loading#

Trash: Stuck when being emptied#

  • Terminal –> killall Finder –> rm -rf ~/.Trash/*

Error: “disk quota exceeded”#

ONLY APPLIES TO PEOPLE AT NEUROPOLY: If you see this message, try to unmount django: from the Finder, click on the eject button. If you still have problems, ask an administrator system.

Cannot repair permission#

Probably some ACL issues. Download and run this:

Password prompts: “Finder wants to make changes”#

Solution 1#

Remove the ACL manually. Go to the problematic folder(s) and type:

chmod -N <FOLDER>
chmod -RN <FOLDER>  # --> do do it for all files/folders recursively

Solution 2#

  1. Open Applications > Utilities > Disk Utility.

  2. Select your hard drive in the left column. Most likely it will be named “Macintosh HD.”

  3. Click on “Repair Disk Permissions.”

  4. Close Disk Utility. Check if the problem is still there.

Solution 3#

If it is still not resolved:

  1. Restart and hold down the Command and R keys. You will boot into the Repair Utilities screen. On top, in the Menu Bar click the Utilities item then select Terminal.

  2. In the Terminal window, type resetpassword and hit Return. The Password reset utility launches, but you’re not going to reset the password.

  3. Instead, click on the icon for your Mac’s hard drive at the top. From the drop-down below it, select the user account where you are having issues. At the bottom of the window, you’ll see a button labeled ‘Reset Home Directory Permissions and ACLs’. Click the Reset button there.