Inhibit suspend temporarily on Gnome

Published

To temporarily inhibit suspend on gnome, you can execute the following in a terminal:

gnome-session-inhibit --inhibit suspend --inhibit-only