Depends on the window manager/desktop environment you’re using, but there’s dozens of Gnome3 extensions that do exactly this. “Caffeine”, for example.
Depends on the window manager/desktop environment you’re using, but there’s dozens of Gnome3 extensions that do exactly this. “Caffeine”, for example.