Change the screenshots file format…

Macintosh, OSX, Tricks
To change the file type that OS X outputs when using the command + shift + 3 or command + shift + 4 (with or without the spacebar after) in Tiger launch Terminal, and depending on what file type you want outputted, type the appropriate line below followed by return:defaults write com.apple.screencapture type pdfdefaults write com.apple.screencapture type pngdefaults write com.apple.screencapture type jpgdefaults write com.apple.screencapture type tifQuit Terminal. One caveat: You must restart your computer for the change to take effect right away. To revert to the default png format, type:defaults write com.apple.screencapture type png as shown above, or delete the com.apple.screencapture plist file in your user preferences folder (again, you need to restart). You can test out different formats, just remember to restart your computer when you are done or…
Read More

Customize those tooltips…

Macintosh, OSX, Tricks
Tooltips are those 'helpful' yellow tags containing messages that sometimes appear when the mouse pointer hovers over controls in many programs. For various reasons, I sometimes find aspects of their implementation to be unsatisfactory. Fortunately, it turns out to be possible to tweak tooltip characteristics (at least in Cocoa apps) to some extent, by adding various properties to the .GlobalPreferences.plist file, or an individual program's .plist file.Some of the available properties (their functions are more or less self-explanatory) include:defaults write -g NSInitialToolTipDelay -int 10000 (time in ms)defaults write -g NSToolTipAutoWrappingDisabled -bool true (or false)defaults write -g NSToolTipsFont -string fontname (substitute fontname)defaults write -g NSToolTipsFontSize -int 10 (or some other font size)Note that this will only affect programs launched after the change is made.
Read More

Get expanded open/save dialogs…

Macintosh, OSX, Tricks
One of the most common questions I get from users is why can't I choose a folder when I use File -> Save (As) and I have to tell them 'click the little blue button with the black triangle.' This expands the sheet (collapsed by default) to allow the user to choose a specific folder.You can use this Terminal command to set this value (for all users):defaults write /Library/Preferences/.GlobalPreferences NSNavPanelExpandedStateForSaveMode -string 1ORdefaults write ~/Library/Preferences/.GlobalPreferences NSNavPanelExpandedStateForSaveMode -string 1for the currently logged in user.
Read More

Stop .DS_Store files on net drives…

Macintosh, OSX, Tricks
To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below.Note: This will affect the user's interactions with SMB/CIFS, AFP, NFS, and WebDAV servers. 1. Open the Terminal. 2. Type: defaults write com.apple.desktopservices DSDontWriteNetworkStores true 3. Press Return. 4. Restart the computer.If you want to prevent .DS_Store file creation for other users on the same computer, log in to each user account and perform the steps above—or distribute a copy of your newly modified com.apple.desktopservices.plist file to the ~/Library/Preferences folder of other target users.
Read More

Enable network connections in X11…

Macintosh, OSX, Tricks
Before we can use xhost and xauth across machines, we need to configure the display server to accept incoming network connections. The nolisten_tcp setting controls this. It must be set to false in order to accept connections. This can easily be accomplished through the Mac OS X user defaults system. Use defaults write to change a setting:defaults write com.apple.x11 nolisten_tcp -boolean falseRemember, false enables incoming connections, true disables connections. Use the boolean values instead of their numeric counterparts.Alternatively, you can use the X11 Preferences dialog to perform this task, as shown in Figure 3, but you will need to exit and then restart X11 in order for any changes to take effect.For security reasons, checking "Allow connections" requires that you also check "Authenticate connections". The authenticate checkbox corresponds to the…
Read More

Dashboard widgets on desktop…

Macintosh, OSX, Tricks
If you'd like one of your Dashboard widgets to be available all the time, instead of only when you have activated Dashboard via F12, then activate the Dashboard dvelopment mode. Open the Terminal and type:defaults write com.apple.dashboard devmode YES and press Return. Then logout and log back in again. Now debugging mode is activated. To get a widget off of the Dashboard and onto your desktop, just do the following: 1. Activate Dashboard by pressing F12 (or whatever key you've assigned to Dashboard). 2. Begin dragging the widget. 3. Press F12 again, before letting up on the mouse button. 4. Drop the widget wherever you want it.You can do the same thing in reverse to drag the widget back onto the Dashboard. Also of interest: while a widget is frontmost,…
Read More