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.

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
add comment

1 Answer 1

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
add comment

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.