I tried with lottaanz plugin for Inhibit suspend but it didn't work
This is how I am passing flags for inhibit()

QDBusReply<quint32> reply1 = interface.call( "Inhibit",
QCoreApplication::applicationName(), quint32( 0 ), "reason", quint32( 1
| 2 | 4 | 8 ) );

-- 
Inhibit suspending (flag 0x4) not working over DBus
https://bugs.launchpad.net/bugs/510907
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
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to