Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gnome-session-inhibit(1) [centos man page]

GNOME-SESSION-INHI(1)						   User Commands					     GNOME-SESSION-INHI(1)

NAME
gnome-session-inhibit - inhibit gnome-session functionality SYNOPSIS
gnome-session-inhibit [OPTION...] [COMMAND] DESCRIPTION
gnome-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 gnome-session-inhibit exits. A typical use case is to prevent the session from going idle (and thus locking the screen) while a movie player is running. OPTIONS
-h, --help print help and exit --version print version information and exit --app-id ID The application id to use when calling the gnome-session Inhibit() method. If this option is not specified, "unknown" is used. --reason REASON A human-readable reason to pass along when calling the gnome-session Inhibit() method. If this option is not specified, "not specified" is used. --inhibit ARG 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. --inhibit-only Do not launch COMMAND and wait forever instead SEE ALSO
systemd-inhibit(1) gnome-session GNOME-SESSION-INHI(1)

Check Out this Related Man Page

GNOME-SESSION(1)					      General Commands Manual						  GNOME-SESSION(1)

NAME
gnome-session - Starts up the GNOME desktop environment SYNOPSIS
gnome-session [--autostart=DIR] [--default-session-key=KEY] [--failsafe|-f] [--debug] DESCRIPTION
The gnome-session program starts up the GNOME desktop environment. This command is typically executed by your login manager (either gdm, xdm, or from your X startup scripts). It will load either your saved session, or it will provide a default session for the user as defined by the system administrator (or the default GNOME installation on your system). The default session is defined in the GConf keys under /desktop/gnome/session. When saving a session, gnome-session saves the currently running applications in the $XDG_CONFIG_HOME/gnome-session/saved-session directory. gnome-session is an X11R6 session manager. It can manage GNOME applications as well as any X11R6 SM compliant. OPTIONS
The following options are supported: --autostart=DIR Start all applications defined in DIR, instead of starting the applications defined in /desktop/gnome/session/default_session, or via the --default-session-key option. Multiple --autostart options can be passed. --default-session-key=KEY Sets the GConf key from which applications running a default session should be read to KEY. If not specificed, /desktop/gnome/ses- sion/default_session will be used. --failsafe gnome-session will run in fail-safe mode. User-specified applications will not be started. --debug Enable debugging code. ENVIRONMENT
gnome-session accepts all of the standard environment variables used by gnome programs, other than the SESSION_MANAGER environment vari- able. gnome-session also sets several environment variables for the use of its child processes. SESSION_MANAGER This variable is used by session-manager aware clients to contact gnome-session. DISPLAY This variable is set to the X display being used by gnome-session. Note that if the --display option is used this might be different from the setting of the environment variable when gnome-session is invoked. SEE ALSO
gnome-session-properties(1) gnome-session-save(1) gnome-wm(1) BUGS
If you find bugs in the gnome-session program, please report these on http://bugzilla.gnome.org. GNOME GNOME-SESSION(1)
Man Page