Logout never works the first time, always asks twice
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Logout never works the first time, always asks twice
I'm having the issue that I don't like my desktop environments to "ask stupid questions", meaning when I click on something, I do it with intent, never as a mistake. I don't want to hear "are you sure you want to logout?", I am sure, that's what I clicked.
When I click on logoff in KDE or XFCE, it always presents me the choices to hibernate, suspend, logout, and shutdown, like I did not already say that I want a logout. Is there a way to have the function perform what it is supposed to do without having to constantly reconfirm and annoy me?
As far as I am aware, the button of which you speak, in Xfce anyway, is a multi-purpose button - you click on it if you want to hibernate, suspend, logout or shutdown. It is not a shutdown button. It's there to save having four separate buttons. So, it's not asking you the same question again, it's asking you which option you want to choose.
I'm having the issue that I don't like my desktop environments to "ask stupid questions", meaning when I click on something, I do it with intent, never as a mistake. I don't want to hear "are you sure you want to logout?", I am sure, that's what I clicked.
When I click on logoff in KDE or XFCE, it always presents me the choices to hibernate, suspend, logout, and shutdown, like I did not already say that I want a logout. Is there a way to have the function perform what it is supposed to do without having to constantly reconfirm and annoy me?
lonflmsao
or
lmao
I know that feeling. mostly you just need to find the file that is firing off the message before sending the command, usually it's just a script, then tend to it. I'd have to see the script, or means that they are doing this to see how to circumvent it.
also with XFCE you can add a launcher and configure it to just call log out when you click on it to get around that message button options they have set up. Just need to dig around a little and find the script or how to get xfce4-session-logout to work. my xfce4 peppermint where I am at right now is telling me after installing it,
Code:
Could not get owner of name 'org.xfce.SessionManager': no such name
which only means is I'd have to do more editing config files to get it to work, but it is do-able.
On my Xubuntu system, it was simply a case of
> right-click on panel and choose "add new item"
> select the option "action button"
> right-click on the new button, select "properties", and tick the "shut down" box
For KDE, you can presumably attach a suitable command to a keyboard shortcut or panel button. The catch is finding out what it is! For KDE4 you can use
Here is the exact thing I see on XFCE (Debian Stretch/Stable), and no, it is not a multi purpose button, it is specific, this is the first logout dialog (top right on the desktop, showing the username) (first pic, I don't know how you can insert pics here, there seems to be no option except attachments, which area only listed at the end of the post)
and then when I click logout on that, you see the second pic, again, asking the same questions.
I have found a solution, calling
xfce4-session-logout
without options shows you the dialog,
using
xfce4-session-logout -l
does log you out without asking.
I just posted this to indicate that this should maybe be changed, as it is very useless and not too intelligent. I have had the same experience with KDE, so it is not unique to XFCE. And, maybe somebody know a setting how to set this without confirmation.
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627
Rep:
In my kde if I click the 'logout' button it logs out immediately. If you don't want to click the 'power/session' button first you can put the 'logout' in favourites on the launcher menu.
Here is the exact thing I see on XFCE (Debian Stretch/Stable), and no, it is not a multi purpose button, it is specific, this is the first logout dialog (top right on the desktop, showing the username) (first pic, I don't know how you can insert pics here, there seems to be no option except attachments, which area only listed at the end of the post)
and then when I click logout on that, you see the second pic, again, asking the same questions.
I have found a solution, calling
xfce4-session-logout
without options shows you the dialog,
using
xfce4-session-logout -l
does log you out without asking.
I just posted this to indicate that this should maybe be changed, as it is very useless and not too intelligent. I have had the same experience with KDE, so it is not unique to XFCE. And, maybe somebody know a setting how to set this without confirmation.
XFCE is extremely configurable, both the panel and the menu.
from your post i do not get the impression that you explored its possibilities at all.
DavidMcCann gave you one (partial) solution. try that, and then try more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.