Comment 12 for bug 1041137

Revision history for this message
Martin Pitt (pitti) wrote :

For the record, this can be triggered without the power button with

gdbus call -e -d org.gnome.SessionManager -o /org/gnome/SessionManager -m org.gnome.SessionManager.Shutdown

That's easier to do in tests. I have not yet found yet how to synthesize XF86PowerOff with xte (or otherwise).