Στις 20-09-2011, ημέρα Τρι, και ώρα 22:57 +0800, ο/η PCMan έγραψε:
> A working, but less elegant solution:
> kill $_LXSESSION_PID
> 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 <[email protected]>
> wrote:
>         Hi, I was looking for a method to logout from LXDE without
>         getting a confirmation dialog, but I couldn't find any.

Hi PCMan, thank you for your answer,

this is for a new remote control software we're developing, in which the
teacher will be remotely logging off students' computers.
So it's not possible for the teacher to save the students' documents
before issuing that command.

Ideally the students would be prompted if (and only if) they had unsaved
work. Gnome and KDE use inhibitors to achieve this, and the dbus
commands I mentioned trigger those if there's unsaved work.

Well anyway `pkill lxsession` will have to do, I couldn't find some
better method for LXDE.

Thanks again!


------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to