GNOME-SESSION-INHI(1) User Commands GNOME-SESSION-INHI(1)NAMEgnome-session-inhibit - inhibit gnome-session functionality
SYNOPSISgnome-session-inhibit [OPTION...] [COMMAND]
DESCRIPTIONgnome-session-inhibit can inhibit certain gnome-session functionality
while executing the given COMMAND. To achieve this, it calls the
Inhibit() method of the gnome-session D-Bus API and creates an
inhibitor. The inhibitor is automatically removed when
A typical use case is to prevent the session from going idle (and thus
locking the screen) while a movie player is running.
print help and exit
print version information and exit
The application id to use when calling the gnome-session Inhibit()
method. If this option is not specified, "unknown" is used.
A human-readable reason to pass along when calling the
gnome-session Inhibit() method. If this option is not specified,
"not specified" is used.
ARG specifies the things to inhibit, as a colon-separated list. The
possible values are logout, switch-user, suspend, idle, automount.
If this option is used more than once, the values are combined. If
this option is not specified, "idle" is assumed.
Do not launch COMMAND and wait forever instead
SEE ALSOsystemd-inhibit(1)gnome-session GNOME-SESSION-INHI(1)