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 click Indicator Applet Session --> Restart, the following prompt appears:

screenshot

Can I cause this to appear from the command line?

share|improve this question
add comment

1 Answer 1

up vote 10 down vote accepted

/usr/lib/indicator-session/gtk-logout-helper -r will do it.

Note that this is not the upstream GNOME restart dialog; it's specific to indicator-session. You'd invoke the GNOME one with gnome-session-save --shutdown-dialog.

share|improve this answer
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.