Three ways to disable Expose and Dashboard
A friend wrote to ask: Is there a way to turn off Expose without opening System Preferences, clicking on each drop-down menu and selecting the -- option? Because sometimes I just don't need it. Or it confuses my Mother. Or my advisor.
To be clear, she knows that she could go to System Preferences > Exposé & Spaces, then click on the Exposé tab, and change the keyboard shortcut for All Windows, Application windows, Show Desktop for Exposé, and Hide and show to -- but that's a whole lot of clicks, and isn't very convenient.
You could also go to System Preferences > Keyboard > Keyboard Shortcuts and uncheck the boxes, which is also inconvenient.
First I'm going to answer the question that you asked, and then I'm going to give you a few other suggestions.
The answer is yes, and Apple seemed to know this was something people would want to do. They provide two tips to disable the Dashboard and disable Exposé.
Go to /Applications/Utilities/Terminal.app and enter these three lines:
defaults write com.apple.dock mcx-expose-disabled -bool true defaults write com.apple.dashboard mcx-disabled -boolean YES killall Dock
Do that before you hand your computer off and your friends, relatives, and advisors will be incrementally less likely to be confused by your computer.
There's only one thing wrong with this plan: it doesn't seem to work for Application Windows. I tested this on my regular account and the OS X Guest account, and the above commands successfully nullified F9 (All Windows), F11 (Show Desktop), and F12 (Dashboard), but F10 (Application Windows) still worked, even after issuing these commands. I have no explanation for this other than assuming it is a bug in OS X 10.6.2.
Once you get your computer back again, paste these three lines into Terminal to undo the changes:
defaults write com.apple.dock mcx-expose-disabled -bool false defaults write com.apple.dashboard mcx-disabled -boolean NO killall Dock
Ok, I've answered the question you asked, right? Now I'm going to give you two other suggestion, no extra charge.
Alternative #1: System Preferences > Exposé & Spaces, then click on the Exposé, and then change the keyboard shortcuts to require that the command key (that's the key with the ⌘ on it) be held down before in order to trigger the F9-F12 shortcuts. You can do this by clicking-and-holding the dropdown for each key, and then pressing the command key. You will see the ⌘ logo appear. It's much less likely that whoever borrows your computer will accidentally invoke Exposé or Dashboard if it requires two keyboard shortcuts. The trade-off is that you have to retrain yourself to use them as well. This probably won't take as long as you suspect.
Alternative #2: If you don't want to worry about Terminal commands or relearning any keyboard commands, take my advice and go for this option: create another account. Now I know someone is going to say "But OS X already has a Guest Account! I'll just use that!" The problem with the Guest account is that its preferences are deleted every time you logout. I'm going to suggest a "Friend" account instead. It's simple, and you'll thank me later.
Go to System Preferences > Accounts. Click the lock icon at the bottom left. Type in your password. Click the "+" button. A new panel will open up asking you to create a new account. Change "Standard" to "Managed with Parental Controls" from the dropdown. Name the account "Friend" and give it a simple password (or none at all).
When you have finished creating the account, make sure that "Allow user to administer this computer" is not checked. Then click the "Open Parental Controls" and check the box next to "Only allow selected applications" and then uncheck everything except iWork, Safari, iChat (maybe), and just about nothing else. Ok, maybe QuickTime Player.
Now there is another key step: login to the "Friend" account. You will find some applications which automatically want to run and you will be given the option to authorize them once, or for every time. Use the account for an hour or two, and authorize all the apps that you find you need for web browsing and basic word processing, which is what most guests will need to do.
You could make a regular standard account and not disable any applications. If the above steps sound too restrictive, just make a standard account. That will protect you from them doing too much damage.
Once you have an account setup, log into it and make sure the applications that someone is likely to want are on the Dock (Safari, iWork, etc). Go into the preference settings and disable the keyboard shortcuts for Exposé and Dashboard.
Share
Categories
A friend wrote to ask: Is there a way to turn off Expose without opening System Preferences, clicking on each drop-down menu and selecting...
Add a Comment
Lots of people new to macs can't handle expose. I have two hot corners setup on my machine. Old windows users will just flick the mouse out of their way and then *poof*, all their windows just vanished off of the screen (via desktop expose).
March 27 2010 at 7:58 AM Report abuse Permalink rate up rate down ReplyAutomator - create an app and leave it in the dock
Run it to toggle all off, run it again to toggle all on...
I was looking for something similar the other day for the "Enable access for assistive devices" option in System Preferences > Universal Access. Any ideas on how I can enable/disable that option via command line or script?
March 27 2010 at 6:36 AM Report abuse Permalink rate up rate down ReplyRegarding the first option, you state "but that's a whole lot of clicks, and isn't very convenient."
As opposed to this long-winded article which involves multiple terminal commands to be copied and pasted? I could have gone through the menus and disabled these options about 5 times in the time it took me just to READ this article.
In the time it would take to explain this process to your friend, she could have done it about 5 times as well. Spending 20 minutes learning a faster way to do a process that only takes 1 minutes is not increased productivity.
I'm afraid you've missed the point. If this was something you were only ever going to face *once* then I would agree with you. But my guess is that this happened frequently enough that my friend *finally* wanted to find a solution.
The terminal commands could be put into a function or shell script to enable/disable them with a single command. But the other suggestions (to change the keyboard commands themselves or create a guest account), will take a few minutes to setup the first time, but then reduce the need to toggle them every time.
"Spending 20 minutes learning a faster way to do a process that only takes 1 minutes is not increased productivity."
Let's assume that it takes her 1 minute to turn it on, and 1 minute to turn it off. Now you take 20 minutes to learn about a faster way, and opt to create a new "Friend" account.
Switching to the "Friend" account using Fast User Switching takes about 1 second.
That saves you about 1 minute every time you do it. Do it 20 times and you've recouped your time. Not to mention that you've spent those 20 minutes in one "chunk" so it won't disrupt whatever you're doing. Mom can open your laptop, click the "Friend" account and use it without having to yell "What's your password again?"
Not to mention that you've setup your computer so that your friend won't say "Um, I think something went wrong" and find out they've accidentally deleted files from your Desktop or some such.
Alternative #3: stop letting dolts who randomly hit function keys touch your machine.
or perhaps:
Alternative #3a: trick them into hitting F11, then tell them they've broken the machine. More likely to work on your mom than your advisor.
Deals of the Day
more deals- Rocketfish Keyboard Capsule for Apple iPad for $15 + $5 s&h
- Used Apple iPad 64GB WiFi + 3G for $240 + free shipping
- AviiQ Portable USB Charging Station with cable rack for $54 + $8 s&h
- Dual USB Car Charger Adapter for $2 + free shipping
- Skullcandy 50/50 Earbuds for $25 + free shipping
- Monster Beats by Dr. Dre iBeats Earbuds for $39 + free shipping
6 Comments