It looks like Unity sessions are in a similar situation so maybe the code should be change to keep the inhibitor for those as well (maybe poping up a dialog explaining that screen lock is not going to work until reboot if that's less confusing to users?). That's a different case than the one reported here though
> Ok, but we still need to know how to inhibit the screen locking in compiz,
> since the previous standard method is ineffective.
The command that Julian pointed out as the one used by u-r-u is correct and works from our testing
> unless you are running a GNOME session.
> https:/ /bazaar. launchpad. net/~ubuntu- core-dev/ ubuntu- release- upgrader/ trunk/view/ head:/DistUpgra de/DistUpgradeQ uirks.py# L444
It looks like Unity sessions are in a similar situation so maybe the code should be change to keep the inhibitor for those as well (maybe poping up a dialog explaining that screen lock is not going to work until reboot if that's less confusing to users?). That's a different case than the one reported here though