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 have just found a answer to my question "How can I hibernate/suspend from the command line and do so at a specific time and a relative time?".

The thing though is that on many occasions the resume is back with an unlocked screen!

It's not always, but most of the time. Why & how can I make sure it locks?

share|improve this question
Just to clarify, are you sure that the computer is suspended, or could it have just switched off the display? I think ubuntu does the latter by default after a certain time (maybe 10 minutes?), you can see the setting (in 12.04) from System settings > Brightness and Lock. – taneli Nov 27 '12 at 9:25
I don't think so. It happened a number of times. moreover, I recall once I closed the lid after it suspended & the lights started blinking (a sign of suspend). I'll consider your answer & check it next time – user10853 Nov 27 '12 at 18:38
up vote 0 down vote accepted

Well, I haven't faced this problem since I posted here. I guess it was just my mistake.

The screen does lock; I might have made a mistake like "taneli" said above!

share|improve this answer

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.