Hi,

You can also suspend without sudo using dbus:

dbus-send --print-reply \
  --system \
  --dest=org.freedesktop.UPower \
  /org/freedesktop/UPower \
  org.freedesktop.UPower.Suspend

This snippet works fine for me http://pastie.org/private/q9rpx8gup8khecituh7rw

For this to work, you need to start awesome with dbus-launch.

Cheers,
Christophe-Marie

-- 
To unsubscribe, send mail to [email protected].

Reply via email to