MacOS – Remove rogue keyboard shortcut in OSX

keyboardmacos

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

http://hpmalte.blogspot.ca/2012/01/keyboard-shortcut-to-lock-screen-in-os.html

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!

Best Answer

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).