Blame docs/reference/gio/html/running-gio-apps.html

Packit ae235b
Packit ae235b
<html>
Packit ae235b
<head>
Packit ae235b
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit ae235b
<title>Running GIO applications: GIO Reference Manual</title>
Packit ae235b
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit ae235b
<link rel="home" href="index.html" title="GIO Reference Manual">
Packit ae235b
<link rel="up" href="pt01.html" title="Part I. GIO Overview">
Packit ae235b
<link rel="prev" href="ch03.html" title="Compiling GIO applications">
Packit ae235b
<link rel="next" href="extending-gio.html" title="Extending GIO">
Packit ae235b
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
Packit ae235b
<link rel="stylesheet" href="style.css" type="text/css">
Packit ae235b
</head>
Packit ae235b
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit ae235b
Packit ae235b
Packit ae235b
Home
Packit ae235b
Up
Packit ae235b
Prev
Packit ae235b
Next
Packit ae235b
Packit ae235b
Packit ae235b

Packit ae235b
Running GIO applications
Packit ae235b

Packit ae235b
      GIO inspects a few environment variables in addition to the
Packit ae235b
      ones used by GLib.
Packit ae235b
    

Packit ae235b

XDG_DATA_HOME, XDG_DATA_DIRS

Packit ae235b
        GIO uses these environment variables to locate MIME information.
Packit ae235b
        For more information, see the Shared MIME-info Database
Packit ae235b
        and the Base Directory Specification.
Packit ae235b
      

Packit ae235b

GVFS_DISABLE_FUSE

Packit ae235b
        This variable can be set to keep Gvfs from starting the fuse backend,
Packit ae235b
        which may be unwanted or unnecessary in certain situations.
Packit ae235b
      

Packit ae235b

GIO_USE_VFS

Packit ae235b
        This environment variable can be set to the name of a GVfs
Packit ae235b
        implementation to override the default for debugging purposes.
Packit ae235b
        The GVfs implementation for local files that is included in GIO
Packit ae235b
        has the name "local", the implementation in the gvfs module has
Packit ae235b
        the name "gvfs".  Most commonly, system software will set this to "local"
Packit ae235b
	to avoid having `GFile` APIs perform unnecessary DBus calls.
Packit ae235b
      

Packit ae235b

Packit ae235b
      The following environment variables are only useful for debugging
Packit ae235b
      GIO itself or modules that it loads. They should not be set in a
Packit ae235b
      production environment.
Packit ae235b
    

Packit ae235b

GIO_USE_FILE_MONITOR

Packit ae235b
        This variable can be set to the name of a GFileMonitor
Packit ae235b
        implementation to override the default for debugging purposes.
Packit ae235b
        The GFileMonitor implementation for local files that is included
Packit ae235b
        in GIO on Linux has the name "inotify", others that are built
Packit ae235b
        are built as modules (depending on the platform) are called
Packit ae235b
        "fam" and "fen".
Packit ae235b
      

Packit ae235b

GIO_USE_VOLUME_MONITOR

Packit ae235b
        This variable can be set to the name of a GVolumeMonitor
Packit ae235b
        implementation to override the default for debugging purposes.
Packit ae235b
        The GVolumeMonitor implementation for local files that is included
Packit ae235b
        in GIO has the name "unix", the udisks2-based implementation in the
Packit ae235b
        gvfs module has the name "udisks2".
Packit ae235b
      

Packit ae235b

GIO_USE_TLS

Packit ae235b
        This variable can be set to the name of a GTlsBackend
Packit ae235b
        implementation to override the default for debugging purposes.
Packit ae235b
        GIO does not include a GTlsBackend implementation, the gnutls-based
Packit ae235b
        implementation in the glib-networking module has the name "gnutls".
Packit ae235b
      

Packit ae235b

GIO_MODULE_DIR

Packit ae235b
        When this environment variable is set to a path, GIO will load
Packit ae235b
	modules from this alternate directory instead of the directory
Packit ae235b
	built into GIO. This is useful when running tests, for example.
Packit ae235b
      

Packit ae235b

GIO_EXTRA_MODULES

Packit ae235b
        When this environment variable is set to a path, or a set of
Packit ae235b
        paths separated by a colon, GIO will attempt to load
Packit ae235b
        additional modules from within the path.
Packit ae235b
      

Packit ae235b

GSETTINGS_BACKEND

Packit ae235b
        This variable can be set to the name of a GSettingsBackend
Packit ae235b
        implementation to override the default for debugging purposes.
Packit ae235b
        The memory-based implementation that is included in GIO has
Packit ae235b
        the name "memory", the one in dconf has the name "dconf-settings".
Packit ae235b
      

Packit ae235b

GSETTINGS_SCHEMA_DIR

Packit ae235b
        This variable can be set to the name of a directory that is
Packit ae235b
        considered in addition to the glib-2.0/schemas
Packit ae235b
        subdirectories of the XDG system data dirs when looking
Packit ae235b
        for compiled schemas for GSettings.
Packit ae235b
      

Packit ae235b

DBUS_SYSTEM_BUS_ADDRESS

Packit ae235b
        This variable is consulted to find the address of the D-Bus system
Packit ae235b
        bus. For the format of D-Bus addresses, see the D-Bus
Packit ae235b
        specification.
Packit ae235b
      
Packit ae235b
        Setting this variable overrides platform-specific ways of determining
Packit ae235b
        the system bus address.
Packit ae235b
      

Packit ae235b

DBUS_SESSION_BUS_ADDRESS

Packit ae235b
        This variable is consulted to find the address of the D-Bus session bus.
Packit ae235b
      
Packit ae235b
        Setting this variable overrides platform-specific ways of determining
Packit ae235b
        the session bus address.
Packit ae235b
      

Packit ae235b

DBUS_STARTER_BUS_TYPE

Packit ae235b
        This variable is consulted to find out the 'starter' bus for an
Packit ae235b
        application that has been started via D-Bus activation. The possible
Packit ae235b
        values are 'system' or 'session'.
Packit ae235b
      

Packit ae235b

G_DBUS_DEBUG

Packit ae235b
         This variable can be set to a list of debug options, which
Packit ae235b
         cause GLib to print out different types of debugging
Packit ae235b
         information when using the D-Bus routines.
Packit ae235b
         

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

transport

Packit ae235b

Show IO activity (e.g. reads and writes)

Packit ae235b
Packit ae235b
Packit ae235b

message

Packit ae235b

Show all sent and received D-Bus messages

Packit ae235b
Packit ae235b
Packit ae235b

payload

Packit ae235b

Show payload for all sent and received D-Bus messages (implies message)

Packit ae235b
Packit ae235b
Packit ae235b

call

Packit ae235b

Trace g_dbus_connection_call() and g_dbus_connection_call_sync() API usage

Packit ae235b
Packit ae235b
Packit ae235b

signal

Packit ae235b

Show when a D-Bus signal is received

Packit ae235b
Packit ae235b
Packit ae235b

incoming

Packit ae235b

Show when an incoming D-Bus method call is received

Packit ae235b
Packit ae235b
Packit ae235b

return

Packit ae235b

Show when a reply is returned via the GDBusMethodInvocation API

Packit ae235b
Packit ae235b
Packit ae235b

emission

Packit ae235b

Trace g_dbus_connection_emit_signal() API usage

Packit ae235b
Packit ae235b
Packit ae235b

authentication

Packit ae235b

Show information about connection authentication

Packit ae235b
Packit ae235b
Packit ae235b

address

Packit ae235b

Show information about D-Bus address lookups and autolaunching

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Packit ae235b
         The special value all can be used to turn
Packit ae235b
         on all debug options. The special value
Packit ae235b
         help can be used to print a list of
Packit ae235b
         supported options to standard output.
Packit ae235b
      

Packit ae235b

G_DBUS_COOKIE_SHA1_KEYRING_DIR

Packit ae235b
        Can be used to override the directory used to store the
Packit ae235b
        keyring used in the DBUS_COOKIE_SHA1
Packit ae235b
        authentication mechanism. Normally the directory used is
Packit ae235b
        .dbus-keyrings in the user's home
Packit ae235b
        directory.
Packit ae235b
      

Packit ae235b

G_DBUS_COOKIE_SHA1_KEYRING_DIR_IGNORE_PERMISSION

Packit ae235b
        If set, the permissions of the directory used to store the
Packit ae235b
        keyring used in the DBUS_COOKIE_SHA1
Packit ae235b
        authentication mechanism won't be checked. Normally the
Packit ae235b
        directory must be readable only by the user.
Packit ae235b
      

Packit ae235b
Packit ae235b
Packit ae235b

Generated by GTK-Doc V1.27
Packit ae235b
</body>
Packit ae235b
</html>