So, u-r-u runs /usr/bin/gnome-session-inhibit --inhibit idle --inhibit-only - running that manually works fine to block stuff on cosmic, but not sure about xenial.
systemd-inhibit --what=idle does not prevent locking.
So, u-r-u runs /usr/bin/ gnome-session- inhibit --inhibit idle --inhibit-only - running that manually works fine to block stuff on cosmic, but not sure about xenial.
systemd-inhibit --what=idle does not prevent locking.