Mac OS X hidden features and nice tips & tricks
apple.stackexchange.com
apple.stackexchange.com
- Open the Apple menu. Now hold Shift. More menu options! Now try holding Opt. Even more menu options! This works for several Apple applications.
- Hold Opt when clicking on a menubar icon for extra information. For example, holding Opt and clicking the WiFi icon in the menubar brings up the signal strength, IP address and other useful information. Likewise for the rest of the icons.
- In Spotlight, select an entry in the search results and hit Cmd+Return to go to its parent folder. Opt+Return opens results in a Finder window.
- You know you can drop files on dock icons? Did you know you can also drop them on the icons in the app switcher (the thing that comes up when you hit Cmd+Tab)?
- This one is a bitch to describe, but very useful. You know you can hit Cmd+M to iconify ("minimize" in Windows-speak) applications to the Dock. But how do you get them back? Just do this: Cmd+Tab to the application, but don't release Cmd yet. Without releasing Cmd, press Opt. Now release Cmd. Done! This is equivalent to clicking the application's icon in the Dock, which means it has more uses than the one I described.
This also works with Exposé, it's particularly nice if you set up hot-corners in the system preferences to trigger exposé:
1. Start dragging something.
2. Flick to a corner to tile windows exposé style.
3. Drop the dragged object on the window of your choice.
In the app switcher (Cmd+Tab) you can press the left/right arrows to navigate the apps, and the up/down arrows to activate Exposé and select a window (including minimized windows).
While in Exposé mode, use the arrow keys to select a window, and Tab/Back-tick to navigate between apps. Hit Escape to return to your original app, and Hit Return to activate the selected window.
Look in, and clear out in /Library/StartupItems and /System/Library/StartupItems
Like any good UNIX, there are a dozen other ways that applications can launch themselves in OS X, so run a ps and find processes that you don't need and figure out where they are being started.
I alias everything in bash to run the scripts manually when I need them (eg. 'apu' starts apache, 'ngu' starts nginx, 'vbx' sets up virtualbox). Saves a ton of memory and gets boot time down to seconds rather than minutes.
vbx xp1
vbx ie7
etc. to setup the network and start the vm with that name
1. http://www.peterborgapps.com/lingon/ for $4.99 or http://sourceforge.net/projects/lingon/ for a free, older version.
The fact that you cannot drag files to their icons and have that file opened in the application seems like something out of the past.
To scroll a window in Windows, the window needs to have focus. To scroll a scroll pane in an active window, that pane needs to have focus -- it is maddening especially when hover events work for non-focused windows and panes.
I could go on and on, but this isn't a Windows hatefest.
Command + c will copy the highlighted spotlight result.
Expose (show all windows) and drag and drop files to that window (i grab the file, while dragging show all windows by either a keybord key or hot corner and drop it to the new window)
Hold down command to move around background windows without giving it focus.
Ctrl + (arrows or numbers) to go to certain spaces.
While in spaces expose, hold down ctrl to move all of the windows of a certain application to another space.
Hold down a window's titlebar while switching spaces to move that window to the new space.
Drag folders that you frequent into the left side of finder. I have /private/etc in mine
Hold down command while clicking or pressing enter on a spotlight result will open its containing folder.
How did I forget about keyboard modifiers by holding down the alt key.
Drag a file/folder to terminal to get the path to that file printed in terminal. so I often type "cd " and then drag folder to get there
While switching apps via command+tab you can let tab go and either hide the application by pressing h or quit it by pressing q (I wish that you could minimize it by pressing m). You can also cycle backwards by pressing tilde (this only works if youre already command+tabbing) or shift+tab
* Gone from snow leopard, but i miss it* there used to be a keyboard shortcut (command, option, ctrl space) that opened a list of your last accessed files (i mistakenly found a bunch of porn website cookies on an intern's laptop once). This used to be useful to see which files you needed to upload /ftp.
In a single universal field you have instant: app launcher, calculator, dictionary, file search, email search, contact search.
My single best tip for Mac power-users: learn what you can do with Spotlight.
Edit: grammar
kind:pdf
date:yesterday
author:short_name
from:contact_name
And the boolean relations AND, OR, NOT work as you might expect.
There's a lot of cool stuff hidden in Spotlight. Try
man mdfind
to play around with command-line Spotlight.Thankfully, you can do this now in 10.6 - drag the file to an already open application and hold it there for a few seconds. Then the app comes up, then (without ever releasing the mouse button) drag the file to the application window, and hold for a few seconds. Now you can drop your file in that window. The whole process takes about 5-6 seconds (which is agonizingly slow), and, IMO one of the worst aspects of application-driven window management (versus window-driven window management).
Just add desktop as a toolbar on the task bar, uncheck all the text and make it take full line, so as not to conflict with running apps. Then drag files onto those icons and they will be opened in new or running instances, whatever apps are designed to do.
Edit: so it looks like this: http://dl.dropbox.com/u/15669592/taskbar.png
Katmouse http://ehiti.de/katmouse/
This also happens on Windows (at least on Chrome) but Windows goes even further: you can click through a link or button on a non-focused window. On OS X, in order to follow a link or click a button on some non-focused window, you need to activate it by clicking and then click again on the desired link/button. This drives me nuts as I found out I use this all the time on Windows. I call this feature "smart focus".
You can also command+click and drag background title bars to move those windows without bringing them to the front.
No it does not and this drives me crazy on windows.
http://developer.apple.com/library/mac/#documentation/UserEx...
This is a interaction design mistake. On Windows, if you click inside an unfocused window you can perform an action otherwise unintended, Mac OS X's way and Haiku's (www.haiku-os.org) is correct. Interestingly Firefox follows the Mac way, but on at least Windows Chrome does not, and if you happen to unintentionally select the close tab button, you're tab close and if you're in Incognito mode, you lose that tab because there is no history.
This will return all questions tagged haskell that mention mysql.
I'd love a HN article search by title, comment, author, or my saved stories.
CMD + SHIFT + g
... in Finder (or an open-file-dialog) opens up a "Go to folder"-dialog in which you can tab-complete your way to the desired destination. It's not perfect, but makes fs-navigation bearable in Finder.- In 10.6 Snow Leopard, hold Space to zoom in on a window in Exposé.
- Not a hint exactly, but there exists at least one unnecessary dissatisfaction people have of Finder. In real life, you cut text and paste it in a scrapbook, but you don't cut an object like a folder with scissors in order to move it. You usually use a hand or two. Therefore the inability to "move" an object using "cut" (Cmd+X) is the correct behavior. Secondly it prevents you from accidentally pasting a file elsewhere, then needing to remember if you meant to do that, or undo. Adding visibility in some way is not enough, and you can still move by dragging the object to the desktop or wherever else.
Note: Edited for spacing.
Add "set -o vi" to your profile and you get access to same modality and commands of VI. Damn, I wish I knew about this option earlier.
There is a smaller set of standard commands for killing (C-h for char, C-w for word, C-u for line) which are used in many terminal apps. They are orthogonal to emacs, and probably about as old (1970s).
My macbook air's measly 64 GB cannot accomodate a seperate powerpoint app, so I use the builtin preview features. It works great.
Useful when your Dock is crammed with tiles.
... and for Ubuntu specifically: http://area51.stackexchange.com/proposals/7716/ubuntu
You could search there.