Try this one "gnome-shell-extension-caffeine"
This GNOME Shell extension provides an icon which can be toggled to
inhibit the actions that would normally be taken when the system is idle,
including screen locking, screensaver and automatic suspend. By default
it also inhibits idle actions while any window is full-screen, and it can
be configured to inhibit idle actions while user-specified applications
have any window open.
Please note that each user will need to enable the extension manually, for
example using gnome-tweak-tool."
Code:
apt policy gnome-shell-extension-caffeine
gnome-shell-extension-caffeine:
Installed: 0~git20161228-1ubuntu2
Candidate: 0~git20161228-1ubuntu2
Version table:
*** 0~git20161228-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu zesty/universe i386 Packages
100 /var/lib/dpkg/status
Bookmarks