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.

When I want to shutdown Ubuntu appear a pop up asking:

Are you sure you want to close all programs and shut down the computer?

I run the command top in the Terminal and aparently there aren't any programs running. Any suggestions?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

There should always be some programs running; if nothing else, there should be top. There's usually more depending on which desktop environment you're running.

But this pop-up will always appear no matter what might or might not be running. It also prompts for whether to shut down or restart. You could create a shortcut that would immediately shut down with no dialog if you wanted, such as a command like sudo init 0 to shut down, or sudo shutdown now.

share|improve this answer

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.