Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Firefox, if I click with the mouse on a link, it opens in a new tab. On the desktop when I try and click on a shortcut from my desktop, it shows me where the file is in the applications folder.

This happens on both my keyboards. Why does this happen?

Also, are there any more details I can give to help?

share|improve this question
when I try and click on a shortcut from my desktop, it shows me where the file is in the applications folder – Does it really just reveal the file in another Finder window? Do you have any tools installed that modify mouse/keyboard behavior? Has this ever been that way or do you remember when it started? Does it work on another user profile? – slhck May 27 '12 at 9:13
@slhck It's Command-click behavior on the Dock. – Daniel Beck May 27 '12 at 9:24
@DanielBeck Uh, okay. The dock is not the desktopthat would explain it. – slhck May 27 '12 at 9:24

Your Command key is stuck programmatically by e.g. running key down command in AppleScript.

If you didn't program, try pressing it repeatedly, and make sure the keyboard is clean.

Try to log out and back in. This will reset the relevant UI state.

If you really programmed it in AppleScript, prepare by create a Service in Automator that receives no input in any application and has the following Run AppleScript action:

tell application "System Events"
    key up command
    key up option
    key up control
    key up shift
end tell

This will reset all modifier keys' states. Save to make it available in any application's Service submenu of the application menu.

share|improve this answer
It happens on both of the OP's keyboards though. – slhck May 27 '12 at 9:25
@slhck True. Check out my edit, if you do some GUI scripting in AppleScript it might help you as well. The countless times I had to et creative in resetting a modifier key... – Daniel Beck May 27 '12 at 9:35
I haven't used any AppleScript. – pighead10 May 27 '12 at 9:46
@PigHead AppleScript can be run from applications as well. Does this problem appear regularly? Did you try to log out and back in? – Daniel Beck May 27 '12 at 9:47
Yes, I restarted the computer as well. – pighead10 May 29 '12 at 17:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .