I recently followed this blog to add a keyboard shortcut to lock the screen:


I assigned the commandL keyboard shortcut to this script. I recently discovered the built-in ctrlshifteject, which is better.

Now I'm trying to remove the commandL shortcut, but it has disappeared from my keyboard shortcuts preferences! The keybinding still works, but it's not listed in keyboard shortcuts, and I do not know how to remove it now.

Does anyone know how? Thanks!

1 Answer 1


The Service should have been saved in ~/Library/Services (~ means your home directory), so have a look for the file there. Deleting it should remove the functionality (although it should be showing up in the Services section of Keyboard Shortcuts — check to make sure it's not in a collapsed section).

  • I've tried looking there and in the Services folder I have a few other automator workflows but not this one. It seems to have completely disappeared, but the CMD-L keybinding still does that suspension thing. I want to disable it so that, for example, in Chrome, I can keep the Chrome CMD-L binding.
    – tng
    Oct 19, 2012 at 16:32
  • It's possible it got moved somewhere else (although I don't know why). Open Terminal and run mdfind -name .service and see if it turns up anything that looks right.
    – robmathers
    Oct 19, 2012 at 16:34

You must log in to answer this question.

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