Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

My laptop has a dedicated lock key, which sends a Super_L+L messing with unity and making it rather useless.

I have no idea how to fix this as I get 2 keycodes with showkeys and acpi_listen gives no output. Any ideas?

share|improve this question
I've set up Win+L to run the Scale compiz plugin, so the key is useful now. But then, I don't use Unity :) – ΤΖΩΤΖΙΟΥ Jan 25 '12 at 15:27
up vote 3 down vote accepted

The key code conversion is likely happening within the ACPI BIOS routines, making the key press indistinguishable from a Win+L key sequence.

There is a similar issue with some laptops that generate a Win+P key sequence when you press their dedicated video output switch key, and there isn't much you can do about it.

Depending on how common this lock screen key stroke becomes, Unity may just have to adapt.

share|improve this answer
The OP probably got an HP laptop like I do. If yes, then it is indeed controlled by the BIOS and can't be changed. – ΤΖΩΤΖΙΟΥ Jan 25 '12 at 15:28

Your Answer


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

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