1GNOME-SESSION-INHI(1)            User Commands           GNOME-SESSION-INHI(1)
2
3
4

NAME

6       gnome-session-inhibit - inhibit gnome-session functionality
7

SYNOPSIS

9       gnome-session-inhibit [OPTION...] [COMMAND]
10

DESCRIPTION

12       gnome-session-inhibit can inhibit certain gnome-session functionality
13       while executing the given COMMAND. To achieve this, it calls the
14       Inhibit() method of the gnome-session D-Bus API and creates an
15       inhibitor. The inhibitor is automatically removed when
16       gnome-session-inhibit exits.
17
18       A typical use case is to prevent the session from going idle (and thus
19       locking the screen) while a movie player is running.
20

OPTIONS

22       -h, --help
23           print help and exit
24
25       --version
26           print version information and exit
27
28       --app-id ID
29           The application id to use when calling the gnome-session Inhibit()
30           method. If this option is not specified, "unknown" is used.
31
32       --reason REASON
33           A human-readable reason to pass along when calling the
34           gnome-session Inhibit() method. If this option is not specified,
35           "not specified" is used.
36
37       --inhibit ARG
38           ARG specifies the things to inhibit, as a colon-separated list. The
39           possible values are logout, switch-user, suspend, idle, automount.
40           If this option is used more than once, the values are combined. If
41           this option is not specified, "idle" is assumed.
42
43       --inhibit-only
44           Do not launch COMMAND and wait forever instead
45

SEE ALSO

47       systemd-inhibit(1)
48
49
50
51gnome-session                                            GNOME-SESSION-INHI(1)
Impressum