Tag Archives: lion
Instructions for setting an external monitor as the primary display on Mac OS X Lion. First – open Displays Preference Pane Next, choose the “Arrangement” tab The key here is that you need to drag the white bar from one of the displays to the other one as shown in the screen shot below:
I use Quicksilver for almost everything and really hate that the dock always seems to be getting in my way. I was looking for a way to remove it, and found the following lines of code. There are some apps, like DockKiller, which can be a little buggy, but what I’ve found is that using the following commands will (for me) make the Dock small enough and move it into a place where it doesn’t pop up, and so this solution was the one that worked best for me. To implement this solution, open a terminal and run the following commands: // makes the dock icon size really really small defaults write com.apple.dock tilesize -int 1 // puts the dock on the bottom of the screen // other values are left and right defaults write com.apple.dock orientation -string bottom // puts the dock on the left side // other values are center and end defaults write com.apple.dock pinning -string start // restarts the dock so the changes take effect killall Dock Here is a screenshot of the dock – this is actual size, a crop from the bottom left corner of my screen :) If you’re looking for general dock preferences you can also check out the Deeper which exposes a lot of these options in a GUI manner: How do I get to the Trash can now? I’ve written a little applescript which helps me pull up the trash: on run tell application “Finder” open trash activate end tell … Continue reading
###Animate launch### defaults write com.apple.dock launchanim -boolean Expose minimizes desktop defaults write com.apple.dock wvous-olddesktop -boolean Prevent changes to position defaults write com.apple.dock position-immutable -boolean Magnification defaults write com.apple.dock magnification -boolean Show Expose corners defaults write com.apple.dock wvous-showcorners -boolean Prevent changes to min-effect preference defaults write com.apple.dock min-effect-immutable -boolean Ripple when placing widgets defaults write com.apple.dock disable-ripple -boolean-neg Screen Edge Position defaults write com.apple.dock orientation -string left defaults write com.apple.dock orientation -string bottom defaults write com.apple.dock orientation -string right Dock Appearance defaults write com.apple.dock no-glass -float Prevent changes to min-in-place preference defaults write com.apple.dock min-in-place-immutable -boolean Arrow key wraps defaults write com.apple.dock workspaces-wrap-arrows -boolean Dock pinning defaults write com.apple.dock pinning -string Bounce Applications defaults write com.apple.dock no-bouncing -boolean-neg Show “Quit” menu item defaults write com.apple.dock QuitFinder -boolean Switch spaces when using Command-Tab defaults write com.apple.dock workspaces-auto-swoosh -boolean Highlight the arrow of the foremost application defaults write com.apple.dock showforeground – wvous-float-style defaults write com.apple.dock wvous-float-style – Dim hidden apps defaults write com.apple.dock showhidden -boolean Prevent changes to Dock contents defaults write com.apple.dock contents-immutable -boolean Show only running applications defaults write com.apple.dock static-only -boolean Hot Corner: Top left defaults write com.apple.dock wvous-tl-corner -string Show shadow defaults write com.apple.dock showshadow -boolean Always show trash as empty defaults write com.apple.dock trash-full -boolean Prevent changes to Dock size defaults write com.apple.dock size-immutable -boolean Enable single application mode defaults write com.apple.dock single-app -boolean Hot Corner: Top right defaults write com.apple.dock wvous-tr-corner -string Autohide defaults write com.apple.dock autohide -boolean Show floating Expose button defaults write com.apple.dock wvous-floater -boolean … Continue reading
I’ve been disappointed that the preview in the OS X Lion does not show multiple pages per sheet like Leopard and Snow Leopard did. I often do this to conserve paper when I’m printing lecture notes. With Leopard, I’m often doing this blind and get things out of order. Preview or Acrobat provide this functionality, but in Preview the functionality is hidden under the “Preview / Layout” dropdown option: To print multiple pages per sheet, first select the Layout option from the Print dialog. It is part of the menu marked “Preview.” Then, choose the number of pages which should be printed on one side of a single sheet of paper. With this example, there will be two pages on each side, for a total of four pages on a single sheet of paper when duplexed. You can also optionally set the layout direction, and whether a border should be printed around each individual page.
use the Command-Tab shortcut to get to the application. With the application selected press the Option key and release the Command key. One minimized window of the application will become un-minimized (if you have more than one minimized application window, you have to un-minimize the other windows the old fashioned way). Alternatively you can use a utility like FastScripts to assign a keyboard shortcut to an Applescript file. I have set up Cmd+Option+M to run the following script which seems to work fine for most applications on OS X Lion: tell application (path to frontmost application as text) try set miniaturized of windows to false — most apps end try try set collapsed of windows to false — Finder end try end tell — Hack from willshouse.com to make sure Finder really does unminimize windows if (name of (info for (path to frontmost application)) as text) is “Finder.app” then try tell application “Finder” set collapsed of windows to false — Finder end tell end try end if
You may have noticed that when you log out or reboot Mac OS X Lion, you get a dialog window with a checkbox next to “Reopen windows when logging back in” that restores all of your currently open applications and windows. If you don’t like it and you’re tired of unchecking the box to no longer reopen the windows, you can use a third party script to render the feature useless. To clarify, what this does is disable the feature completely on a constant basis, regardless of whether that checkbox to preserve windows is checked or not, the windows will not restore. You may have noticed that when you log out or reboot Mac OS X Lion, you get a dialog window with a checkbox next to “Reopen windows when logging back in” that restores all of your currently open applications and windows. If you don’t like it and you’re tired of unchecking the box to no longer reopen the windows, you can use a third party script to render the feature useless. To clarify, what this does is disable the feature completely on a constant basis, regardless of whether that checkbox to preserve windows is checked or not, the windows will not restore. ** instructions ** create a new file called /tmp/loginfix.sh in your temporary directory touch /tmp/loginfix.sh add two lines into that file to tell it to remove login window files: echo ‘#!/bin/sh’ > /tmp/loginfix.sh echo ‘rm -f /Users/*/Library/Preferences/ByHost/com.apple.loginwindow.*’ >> /tmp/loginfix.sh make that file owned by the system: … Continue reading
Xcode Install Assistant can’t be installed on Macintosh HD because Mac OS X version 10.7 or later is required.
Apple has now made Xcode free via the app store – unfortunately since Lion has been released they no longer allow anyone with Snow Leopord to download and install it from the App Store. You can download it from their website for free, but you must be a registered Apple developer – which will set you back $99/yr.