First, looking at caffeine stdout, I see the following:
INFO:root:caffeine is inhibiting desktop idleness
Protocol error: bad 3 (Window); Sequence Number 13
Opcode (20, 0) = GetProperty
Bad resource 0 (0x0)
at -e line 15.
Does that give you any info?
I also attempted to check xdg-screensaver as mentioned in the previous bug as follows:
and click on the terminal window background. This should suspend the screensaver. Wait for the screensaver delay to check that the screen does not go off.
Recently I noticed that caffeine wasn't working any more on my Ubuntu 16.04 box. In https:/ /bugs.launchpad .net/caffeine/ +bug/1642380 they describe something similar.
First, looking at caffeine stdout, I see the following:
INFO:root:caffeine is inhibiting desktop idleness
Protocol error: bad 3 (Window); Sequence Number 13
Opcode (20, 0) = GetProperty
Bad resource 0 (0x0)
at -e line 15.
Does that give you any info?
I also attempted to check xdg-screensaver as mentioned in the previous bug as follows:
Then, in a terminal, run
xdg-screensaver suspend `xwininfo | grep "Window id" | cut -d " " -f 4`
and click on the terminal window background. This should suspend the screensaver. Wait for the screensaver delay to check that the screen does not go off.
The screensaver was still enabled.