The following dbus-send command is a first attempt. It does not inhibit right now, but I believe the path is right:
dbus-send --print-reply --dest='org.gnome.SessionManager' /org/gnome/SessionManager org.gnome.SessionManager.Inhibit string:torsten uint32:0 string:"Just a test" uint32:15 -- Two suspends when opening lid https://bugs.launchpad.net/bugs/595985 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
