Author: Many Ayromlou

  • Quit X11 without warning dialog…

    To quit X11 without presenting warning dialog type the following in Terminal application: defaults write com.apple.x11 no_quit_alert true See man page for Xquartz for more details.

  • Customize those tooltips…

    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…

  • Get expanded open/save dialogs…

    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.…

  • Enable network connections in X11…

    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…

  • Stop .DS_Store files on net drives…

    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…

  • Dashboard widgets on desktop…

    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.…

  • Get web PDF’s to open in preview…

    To get PDF’s from the web to open in Preview instead of Safari (like they used to) type in Terminal (with Safari off): defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES

  • Changing windows minimize effects…

    There are actually a few tricks you may do with minimizing windows in OS X. In system preferences you can select either ‘genie’ or ’scale’ effect. But there is another one, called ’suck’. This one can’t be enabled via system preferences, but it can be via the terminal. So open your terminal and type the…

  • Creating a login hook…

    Did you know that you can have Mac OS X run a script whenever you log in to your computer? You can if you create a “login hook.” A login hook tells Mac OS X to execute a certain script when a user logs in. Unlike Startup Items that open when a user logs in,…

  • Hide Accounts in the Login Window…

    In OS X it is easy to create as many user accounts as you need. It’s definitely useful being able to have an account for each family member, or an account just for troubleshooting. However, this also leads to an extremely long list on the login window, and an annoying scroll bar down the side.…