~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/ch03.html

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Running GIO applications</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIO Reference Manual">
8
 
<link rel="up" href="pt01.html" title="Part&#160;I.&#160;GIO Overview">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GIO Reference Manual">
 
8
<link rel="up" href="pt01.html" title="Part I. GIO Overview">
9
9
<link rel="prev" href="ch02.html" title="Compiling GIO applications">
10
 
<link rel="next" href="gio-extension-points.html" title="Extending GIO">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
10
<link rel="next" href="extending-gio.html" title="Extending GIO">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="pt01.html" title="Part&#160;I.&#160;GIO Overview">
 
13
<link rel="part" href="pt01.html" title="Part I. GIO Overview">
14
14
<link rel="chapter" href="ch01.html" title="Introduction">
15
15
<link rel="chapter" href="ch02.html" title="Compiling GIO applications">
16
16
<link rel="chapter" href="ch03.html" title="Running GIO applications">
17
 
<link rel="chapter" href="gio-extension-points.html" title="Extending GIO">
18
 
<link rel="part" href="pt02.html" title="Part&#160;II.&#160;API Reference">
 
17
<link rel="chapter" href="extending-gio.html" title="Extending GIO">
 
18
<link rel="part" href="pt02.html" title="Part II. API Reference">
19
19
<link rel="chapter" href="file_ops.html" title="File Operations">
20
20
<link rel="chapter" href="file_mon.html" title="File System Monitoring">
21
21
<link rel="chapter" href="async.html" title="Asynchronous I/O">
25
25
<link rel="chapter" href="icons.html" title="Icons">
26
26
<link rel="chapter" href="utils.html" title="Utilities">
27
27
<link rel="chapter" href="extending.html" title="Extending GIO">
28
 
<link rel="part" href="migrating.html" title="Part&#160;III.&#160;Migrating to GIO">
 
28
<link rel="part" href="migrating.html" title="Part III. Migrating to GIO">
29
29
<link rel="chapter" href="ch14.html" title="Migrating from POSIX to GIO">
30
30
<link rel="chapter" href="ch15.html" title="Migrating from GnomeVFS to GIO">
31
31
<link rel="chapter" href="gio-hierarchy.html" title="Object Hierarchy">
32
32
<link rel="index" href="ix01.html" title="Index">
 
33
<link rel="index" href="ix02.html" title="Index of new symbols in 2.18">
33
34
</head>
34
35
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
35
36
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
37
38
<td><a accesskey="u" href="pt01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
38
39
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
39
40
<th width="100%" align="center">GIO Reference Manual</th>
40
 
<td><a accesskey="n" href="gio-extension-points.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
41
<td><a accesskey="n" href="extending-gio.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
41
42
</tr></table>
42
43
<div class="chapter" lang="en">
43
44
<div class="titlepage"><div><div><h2 class="title">
44
 
<a name="id2703875"></a>Running GIO applications</h2></div></div></div>
 
45
<a name="id2555783"></a>Running GIO applications</h2></div></div></div>
45
46
<p>
46
47
      GIO inspects a few of environment variables in addition to the
47
48
      ones used by GLib.
48
49
    </p>
49
 
<p><b><code class="envar">XDG_DATA_HOME</code>, <code class="envar">XDG_DATA_DIRS</code>.&#160;</b>
 
50
<p><b><code class="envar">XDG_DATA_HOME</code>, <code class="envar">XDG_DATA_DIRS</code>. </b>
50
51
        GIO uses these environment variables to locate MIME information. 
51
52
        For more information, see the <a class="ulink" href="http://freedesktop.org/Standards/shared-mime-info-spec" target="_top">Shared MIME-info Database</a>
52
53
        and the <a class="ulink" href="http://freedesktop.org/Standards/basedir-spec" target="_top">Base Directory Specification</a>.
53
54
      </p>
 
55
<p><b><code class="envar">GVFS_DISABLE_FUSE</code>. </b>
 
56
        This variable can be set to keep <span class="type">Gvfs</span> from starting the fuse backend,
 
57
        which may be unwanted or unnecessary in certain situations.
 
58
      </p>
54
59
<p>
55
60
      The following environment variables are only useful for debugging
56
61
      GIO itself or modules that it loads. They should not be set in a
57
62
      production environment.
58
63
    </p>
59
 
<p><b><code class="envar">GIO_USE_VFS</code>.&#160;</b>
 
64
<p><b><code class="envar">GIO_USE_VFS</code>. </b>
60
65
        This environment variable can be set to the name of a <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a> 
61
66
        implementation to override the default for debugging purposes.
62
67
        The <a class="link" href="GVfs.html" title="GVfs"><span class="type">GVfs</span></a> implementation for local files that is included in GIO 
63
68
        has the name "local", the implementation in the gvfs module has 
64
69
        the name "gvfs". 
65
70
      </p>
66
 
<p><b><code class="envar">GIO_USE_VOLUME_MONITOR</code>.&#160;</b>
 
71
<p><b><code class="envar">GIO_USE_VOLUME_MONITOR</code>. </b>
67
72
        This variable can be set to the name of a <a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a> 
68
73
        implementation to override the default for debugging purposes.
69
74
        The <a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a> implementation for local files that is included
70
75
        in GIO has the name "unix", the hal-based implementation in the
71
76
        gvfs module has the name "hal".
72
77
      </p>
73
 
<p><b><code class="envar">GIO_USE_URI_ASSOCIATION</code>.&#160;</b>
 
78
<p><b><code class="envar">GIO_USE_URI_ASSOCIATION</code>. </b>
74
79
        This variable can be set to the name of a <a class="link" href="gio-Desktop-file-based-GAppInfo.html#GDesktopAppInfoLookup"><span class="type">GDesktopAppInfoLookup</span></a>
75
 
        implementation to override the dfeault for debugging purposes.
 
80
        implementation to override the default for debugging purposes.
76
81
        GIO does not include a <a class="link" href="gio-Desktop-file-based-GAppInfo.html#GDesktopAppInfoLookup"><span class="type">GDesktopAppInfoLookup</span></a> implementation,
77
82
        the GConf-based implementation in the gvfs module has the name
78
83
        "gconf".  
79
84
      </p>
80
 
<p><b><code class="envar">GVFS_INOTIFY_DIAG</code>.&#160;</b>
 
85
<p><b><code class="envar">GVFS_INOTIFY_DIAG</code>. </b>
81
86
        When this environment variable is set and GIO has been built
82
87
        with inotify support, a dump of diagnostic inotify information 
83
88
        will be written every 20 seconds to a file named
84
89
        <code class="filename">/tmp/gvfsdid.<em class="replaceable"><code>pid</code></em></code>.
85
90
      </p>
 
91
<p><b><code class="envar">GIO_EXTRA_MODULES</code>. </b>
 
92
        When this environment variable is set to a path, or a set of 
 
93
        paths separated by a colon, GIO will attempt to load
 
94
        modules from within the path.
 
95
      </p>
86
96
</div>
 
97
<div class="footer">
 
98
<hr>
 
99
          Generated by GTK-Doc V1.11</div>
87
100
</body>
88
101
</html>