Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there any way to enable sticky keys in OS X but automatically disable them while in certain applications?

Modifying system files and heavy terminal use is ok.

Here's a screenshot of the preference pane containing Sticky keys for reference.

My specific case is virtualisation of Win 7 in Virtual Box on OSX 10.7.5

share|improve this question
You mean the press and hold to get the special chars? What version of OSX are we talking about? – Martín Marconcini Feb 8 '13 at 22:48
Yes! Clarified in my question, its OSX 10.7.5 – Erika Feb 9 '13 at 8:54
If you always quit the application in question after using it, then I can imagine a possible solution. Otherwise I'm not sure. Assuming you do quit the app after using it, you could set a script up to watch which apps were open, then edit the preference file when it detected the app opening or closing. (I'm not skilled enough to write the script unfortunately.) – daviewales Feb 9 '13 at 13:12
Thanks, but I'd like it to toggle on and off as I switch between virtualbox and other OSX applications. – Erika Feb 10 '13 at 15:12
I don't think you can do that without attempting some sort of Applescript that disables it when VirtualBox is in the front… but It's certainly nothing "native". – Martín Marconcini Feb 11 '13 at 5:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.