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'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

1 Answer 1

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

 
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.