gojolt is a simple program that keeps your screen awake preventing screen blank and automatic suspension.
It uses dbus to interact with the D-Bus message system.
It works both on Gnome Shell on Xorg and on Wayland.
Binaries are provided under the Releases section.
Most Linux systems should be able to run them.
golang 1.20+ is required
Simply clone this repo and run go build -o gojolt -ldflags="-s -w" main.go
gojolt is currently based on dbus v5.1.0.
It's a CLI program.
You can place it in your PATH (in /usr/local/bin/
for example) and then run it with a terminal command like this: gojolt 20
The amount of time (in minutes) of screen blank inhibition has to be passed as first and only argument.