I'm the maintainer of caffeinate. This shouldn't happen: caffeinate creates a separate window whose ID is passed to xdg-screensaver on each invocation.
I had a look at caffeinate, and I can't see any faults in its logic (of course, I welcome reports to the contrary!). In particular, I tested to make sure that it uses a different window ID when it is run in parallel in several instances. As ever for bugs with caffeine and its friends, the way to find out where the bug is is to run the relevant xdg-screensaver commands manually: $ xdg-screensaver suspend WINDOW_ID_1 $ xdg-screensaver suspend WINDOW_ID_2 $ xdg-screensaver resume WINDOW_ID_1 where WINDOW_ID_1 and WINDOW_ID_2 are the IDs of two different windows, obtained for example by running the following command twice: $ xwininfo | grep "Window id" | cut -d " " -f 4 and in each case clicking on a different window. Whichever window it is, it must remain open for the duration of the experiment. After running the 3 commands above, if the screensaver is now active again, that's a bug in xdg-screensaver. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660605 Title: multiple caffeinated processes: suspends after first completes To manage notifications about this bug go to: https://bugs.launchpad.net/caffeine/+bug/1660605/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs