This is a simple cli application for Gnome desktop Linux environments that disables the lock screen and screen off/idle timer whilst running.
On exit the original settings are restored.
Example use cases:
- Viewing a recipe whilst cooking
- Keeping dashboards / charts visible in the background, eg: stock tickers, grafana, etc
- NodeJS / npm
- A Gnome desktop environment
Either install the package globally, or execute using npx
.
$ npx gnome-stay-awake
(note: you'll need to ensure that echo $(npm config get prefix)/bin
is on your $PATH
)
$ npm i -g gnome-stay-awake
$ gnome-stay-awake