Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Installed Ubuntu 12.04 64bit today, switched to Gnome Classic (no effects) and there is one thing that makes me crazy: I can't assign Super+L to Lock Screen function!

I go to System Settings -> Keyboard -> Shortcuts -> System, then I click on Lock Screen and press "Super + L", it appears in the list but when I press it again it doesn't work.

If I set it back to Ctrl+Alt+L it works again. Actually, I tried to set it to different Super + ?? combinations, and neither of them work.

if I assign Super+L to so other command, like Start Terminal, it works.

share|improve this question

marked as duplicate by Warren Hill, belacqua, LiveWireBT, karel, Jorge Castro Oct 24 '13 at 1:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 1 down vote accepted

Found a solution:

run gconf-editor

Set values:

/apps/metacity/global_keybindings/run_command_1  <Super>L
/apps/metacity/keybinding_commands/command_1 gnome-screensaver-command -l
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.