A working, but less elegant solution:
Try it yourself and have fun!
Remember to save your documents before trying this.

On Tue, Sep 20, 2011 at 7:12 PM, Alkis Georgopoulos <alkisg@gmail.com> wrote:
Hi, I was looking for a method to logout from LXDE without getting a
confirmation dialog, but I couldn't find any.

Here are the equivalents of some other DEs:
# Gnome
dbus-send --session --type=method_call --print-reply --reply-timeout=2000 \
 --dest=org.gnome.SessionManager /org/gnome/SessionManager \
 org.gnome.SessionManager.Logout uint32:1 >$stdout 2>&1 && return

dbus-send --session --type=method_call --print-reply --reply-timeout=2000 \
 --dest=org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout \
 int32:0 int32:0 int32:0 >$stdout 2>&1 && return

xfce4-session-logout -l >$stdout 2>&1 && return

Could someone tell me the LXDE equivalent?

Please Cc me in the reply, as I'm not in the list.

Thank you.

All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
Lxde-list mailing list