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

I need the sleep button on my keyboard (aptly labelled Zzz) to put the laptop to sleep, but pressing it no longer does anything. I'm pretty sure it used to work. Output from xev:

FocusIn event, serial 39, synthetic NO, window 0x4000001,
mode NotifyGrab, detail NotifyPointer

KeymapNotify event, serial 39, synthetic NO, window 0x0,
keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
       0   0   64  0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusOut event, serial 39, synthetic NO, window 0x4000001,
mode NotifyUngrab, detail NotifyPointer

I'm not sure what this means and how to go about debugging it. Please help.

share|improve this question

Open the terminal and copy and run gconf-editor and go to 'apps -> gnome-power-manager' and check 'can_hibernate' and 'can_suspend'.

share|improve this answer
    
Thanks. I didn't have these keys, so I added them, but that didn't help. Anyway the computer is perfectly able to hibernate - it just doesn't respond to the button. – Jos Apr 20 '13 at 8:09

Your Answer

 
discard

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.