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'm trying to create a user profile for 10.10 and my last step is to create a log out button for the desktop. I managed to find a simple command for a launcher to execute the log out prompt. Unfortunately, along with an option to log out, there is also an option to switch user. For my purposes, giving an option to switch the user is not desired. I have tried everything possible to disable user switching but it does not seem to effect the ability to click the switch user option in the log out dialog box.

What I would really like to use is the log out option that the Indicator Applet Session uses. Clicking log out from the applet does not give the option to switch user. Is there any way to take whatever command the applet is using and create a launcher for the desktop?

share|improve this question
up vote 6 down vote accepted

The exact dialog Indicator Session uses
is this: /usr/lib/indicator-session/gtk-logout-helper

So you can simply add a custom launcher to your panel like so:

alt text

Screenshot of the Log Out Dialog

share|improve this answer
Awesome, that was just what I was looking for! – Ryan Miller Nov 22 '10 at 18:41
@RyanMiller Don't forget you can also upvote (as well as accept) answers. – Alvin Row Nov 22 '10 at 19:11

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.