blob: 3d83efcae35ac48fa3556df6a17fed6890f35a4a [file] [log] [blame]
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +00001.\" -*- nroff -*-
Alexandre Julliard553a75e2004-04-29 00:27:57 +00002.TH WINE.CONF 5 "April 2004" "Version 20040408" "Wine Configuration File"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +00003.SH NAME
4wine.conf \- Wine configuration file
5.SH DESCRIPTION
6.B wine
7expects a configuration file (
Lawson Whitneyb37b8632001-08-06 17:49:11 +00008.I $WINEPREFIX/config
9(~/.wine/config)
Alexandre Julliard69622db2002-06-25 00:23:23 +000010), which should conform to the following rules.
Lawson Whitneyb37b8632001-08-06 17:49:11 +000011A sample configuration file is available as
Alexandre Julliard73be8d12000-12-06 20:25:11 +000012.I documentation/samples/config
13in the Wine source distribution.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000014.SH CONFIGURATION FILE FORMAT
15All entries are grouped in sections; a section begins with the line
16.br
17.I [section name]
18.br
19and continues until the next section starts. Individual entries
20consist of lines of the form
21.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000022.I """entry""=""value"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000023.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000024The entry and value can be any text strings, included in double
25quotes; it can also contain references to environment variables
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000026surrounded by
Alexandre Julliard553a75e2004-04-29 00:27:57 +000027.I %
28signs.
Alexandre Julliard73be8d12000-12-06 20:25:11 +000029Inside the double quotes, special characters, backslashes and quotes
30must be escaped with backslashes. Supported section names and entries
31are listed below.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000032.PP
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000033.B [wine]
34.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000035.I format: """windows""=""<directory>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000036.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000037default: "C:\\\\WINDOWS"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000038.br
Andreas Mohrb6e84182002-02-02 18:03:55 +000039Used to specify where Wine is supposed to have its Windows directory
40(which is an essential part of a Windows environment); make sure to double
41the backslashes.
42In case of e.g. C:\\WINDOWS, with drive C: being configured as
43/home/user/wine_c, the /home/user/wine_c/WINDOWS directory would be used for
44this.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000045.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000046.I format: """system""=""<directory>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000047.br
Andreas Mohr7bed6962001-09-19 22:34:38 +000048default: "C:\\\\WINDOWS\\\\System"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000049.br
Andreas Mohrb6e84182002-02-02 18:03:55 +000050Used to specify where Wine is supposed to have its Windows system directory
51(again, essential part of Windows environment); make sure to double the backslashes.
52Given a setting of C:\\WINDOWS\\System (the standard setting on Windows)
53and a C: drive again at /home/user/wine_c, the /home/user/wine_c/WINDOWS/System
54directory would be used for this.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000055.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000056.I format: """temp""=""<directory>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000057.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000058default: "C:\\\\TEMP"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000059.br
Alexandre Julliard69622db2002-06-25 00:23:23 +000060Used to specify a directory where Windows applications can store
Andreas Mohrb6e84182002-02-02 18:03:55 +000061temporary files. E.g. with a C: drive at /home/user/wine_c, this would be
62the /home/user/wine_c/TEMP directory.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000063.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000064.I format: """profile""=""<directory>"""
Juergen Schmied8573cc72000-01-30 03:03:23 +000065.br
66default: nothing
67.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000068Used to specify a directory where Windows stores special folders and
69the user-registry files (user.dat or ntuser.dat). Mapped to
70environment variable %USERPROFILE%. Set this value when running with
71a native NT or a native win95 directory with per-user settings.
Juergen Schmied8573cc72000-01-30 03:03:23 +000072.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000073.I format: """path""=""<directories separated by semi-colons>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000074.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000075default: "C:\\\\WINDOWS;C:\\\\WINDOWS\\\\SYSTEM"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000076.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000077Used to specify the path which will be used to find executables and
Andreas Mohr7bed6962001-09-19 22:34:38 +000078dlls. Make sure to double the backslashes.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000079.PP
Andreas Mohra0ff2b42002-02-27 01:30:32 +000080.I format: """GraphicsDriver""=""<x11drv|ttydrv>"""
81.br
82default: "x11drv"
83.br
84Tells Wine which graphics driver to use. Normally you'd want to use
85x11drv (for X11). In case you want to run programs as text console/TTY only
86without having Wine rely on X11 support, then use ttydrv.
87.PP
Dimitrie O. Paun35d8e522002-09-17 18:27:32 +000088.I format: """ShowDirSymlinks""=""<0|1>"""
89.br
90default: "0"
91.br
92Wine doesn't pass directory symlinks to Windows programs by default.
93Enabling this may crash some programs that do recursive lookups of a whole
94subdir tree in case of a symlink pointing back to itself.
95.PP
Dimitrie O. Paun14fb0952002-09-16 22:44:38 +000096.I format: """ShowDotFiles""=""<0|1>"""
97.br
98default: "0"
99.br
100Under Unix, files starting with a dot, are considered hidden,
101and should not be shown in directory listing (unless explicitly asked for),
102just like DOS-style hidden files. If you want them treated as regular
103files, set this value to 1.
104.PP
Andreas Mohra5589d52002-06-04 23:09:34 +0000105.B [Version]
106.br
107.I format: """Windows""=""<version string>"""
108.br
109default: none; chosen by semi-intelligent detection mechanism based on DLL environment
110.br
111Used to specify which Windows version to return to programs (forced value,
112overrides standard detection mechanism !).
113Valid settings are e.g. "win31", "win95", "win98", "win2k", "winxp".
114Also valid as an AppDefaults setting (recommended/preferred use).
115.PP
116.I format: """DOS""=""<version string>"""
117.br
118default: "<Windows version specific>"
119.br
120Used to specify the DOS version that should be returned to programs.
121Only takes effect in case Wine acts as "win31" Windows version !
122Common DOS version settings include 6.22, 6.20, 6.00, 5.00, 4.00, 3.30, 3.10.
123Also valid as an AppDefaults setting (recommended/preferred use).
124.PP
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000125.B [DllOverrides]
126.br
Eric Pouechd4fcc4b2003-03-05 02:50:25 +0000127.I format: """modulename""=""native,builtin"""
Alexandre Julliardfde1b0c2001-03-21 20:33:11 +0000128.br
129.I modulename
Alexandre Julliard69622db2002-06-25 00:23:23 +0000130can be any valid DLL module name. If no extension is specified .dll is
131assumed. The specified value is a comma separated list of module-types
132to try to load in that specific order. Case is not important and only
Eric Pouechd4fcc4b2003-03-05 02:50:25 +0000133the first letter of each type is enough to identify the type n[ative]
Alexandre Julliard74121252004-01-05 21:19:22 +0000134or b[uiltin]. Also whitespace is ignored. See also the description of
135the
136.I WINEDLLOVERRIDES
137environment variable in
138.BR wine (1)
139for details about the allowed types.
Alexandre Julliardfde1b0c2001-03-21 20:33:11 +0000140.br
141The wildcard entry
142.I """*"""
143specifies the load order to use for modules not explicitly
144mentioned. If the wildcard entry is not found, then the order
Eric Pouechd4fcc4b2003-03-05 02:50:25 +0000145"native,builtin" is used.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000146.br
147Examples:
148.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000149.I """kernel32""=""builtin"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000150.br
Alexandre Julliardfde1b0c2001-03-21 20:33:11 +0000151.I """comdlg32""=""native,builtin"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000152.br
Alexandre Julliardfde1b0c2001-03-21 20:33:11 +0000153.I """*""=""builtin,native"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000154.br
Alexandre Julliard69622db2002-06-25 00:23:23 +0000155When the specified module name does not contain a path, it matches
156only dlls loaded from the Windows system directory. If the application
157explicitly loads a dll from a different directory, it has to be
158configured separately. This can be done either by specifying the full
159path in the module name, or by using a path wildcard of the form
160.I """*modulename""".
161.br
162For instance, the following will load the native shell32 when loaded
163from C:\\Program Files, and the builtin when loaded from any other
164directory:
165.br
166.I """C:\\\\\\\\Program Files\\\\\\\\shell32"" = ""native"""
167.br
168.I """*shell32"" = ""builtin"""
169.br
170Changing the load order of low-level dlls like kernel32, gdi32 or
171user32 to anything other than builtin will cause wine to fail because
172wine cannot use native versions for these libraries.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000173.br
174Always make sure that you have some kind of strategy in mind when you start
175fiddling with the current defaults and needless to say that you must know
176what you are doing.
Dimitrie O. Paunf950d972004-05-06 23:51:43 +0000177WINEDEBUG=loaddll might come in handy for experimenting with that stuff.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000178.PP
Uwe Bonnes711189c2002-12-18 02:23:29 +0000179.B [Debug]
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000180.br
Uwe Bonnes711189c2002-12-18 02:23:29 +0000181.I format: """SpyExclude""=""<message names separated by semicolons>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000182.br
183default: none
184.br
185Used to specify which messages will be excluded from the logfile.
186.PP
Uwe Bonnes711189c2002-12-18 02:23:29 +0000187.I format: """SpyInclude""=""<message names separated by semicolons>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000188.br
189default: none
190.br Used to specify which messages will be included in the logfile.
191.PP
Alexandre Julliardf130f802003-04-07 23:27:54 +0000192.I format: """RelayFromExclude""=""<module names separated by semicolons>"""
Uwe Bonnes711189c2002-12-18 02:23:29 +0000193.br
194default: none
Alexandre Julliardf130f802003-04-07 23:27:54 +0000195.br
196Used to specify a set of modules whose calls are excluded from a relay debug log.
197.PP
198.I format: """RelayFromInclude""=""<module names separated by semicolons>"""
199.br
200default: include all modules
Uwe Bonnes711189c2002-12-18 02:23:29 +0000201.br
Alexandre Julliardf130f802003-04-07 23:27:54 +0000202Used to specify the set of modules whose calls are included in a relay debug log.
Uwe Bonnes711189c2002-12-18 02:23:29 +0000203.PP
Alexandre Julliardbbc52422003-10-16 00:24:49 +0000204.I format: """RelayExclude""=""<functions or dll.functions separated by semicolons>"""
Uwe Bonnes711189c2002-12-18 02:23:29 +0000205.br
206default: none
Alexandre Julliardbbc52422003-10-16 00:24:49 +0000207.br
208Used to specify which functions will be excluded from a relay debug log.
Uwe Bonnes711189c2002-12-18 02:23:29 +0000209.PP
Alexandre Julliardbbc52422003-10-16 00:24:49 +0000210.I format: """RelayInclude""=""<functions or dll.functions separated by semicolons>"""
Uwe Bonnes711189c2002-12-18 02:23:29 +0000211.br
Alexandre Julliardf130f802003-04-07 23:27:54 +0000212default: include all functions
Uwe Bonnes711189c2002-12-18 02:23:29 +0000213.br
Alexandre Julliardbbc52422003-10-16 00:24:49 +0000214Used to specify which functions will be included in a relay debug log.
215.PP
216.I format: """SnoopExclude""=""<functions or dll.functions separated by semicolons>"""
217.br
218default: none
219.br
220Used to specify which functions will be excluded from the snoop debug log.
221.PP
222.I format: """SnoopInclude""=""<functions or dll.functions separated by semicolons>"""
223.br
224default: include all functions
225.br
226Used to specify which functions will be included in the snoop debug log.
Uwe Bonnes711189c2002-12-18 02:23:29 +0000227.PP
228For Relay and Snoop <dllname>.* includes or excludes the whole dll. Exclude
Alexandre Julliardbbc52422003-10-16 00:24:49 +0000229entries have priority over Include entries.
Uwe Bonnes711189c2002-12-18 02:23:29 +0000230.PP
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000231.B [Registry]
232.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000233.I format: """LoadGlobalRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000234.br
235Global registries (stored in /etc)
236.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000237.I format: """LoadHomeRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000238.br
239Home registries (stored in ~user/.wine/)
240.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000241.I format: """WritetoHomeRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000242.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000243TRY to write all changes to the home registry files
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000244.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000245.I format: """LoadWindowsRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000246.br
Alexandre Julliard69622db2002-06-25 00:23:23 +0000247Load Windows registry from the current Windows directory.
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000248.PP
249booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
250.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000251Defaults are read all, write to home files.
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000252.PP
Martin Wilck6d886a52002-11-15 01:01:47 +0000253.B [Network]
254.br
255.I format: """UseDnsComputerName""=""<boolean>"""
256.br
257If Y, always override the registry setting for ComputerName
258with the Unix hostname.
259.PP
Alexandre Julliardfde1b0c2001-03-21 20:33:11 +0000260.B [AppDefaults\\\\\\\\<appname>\\\\\\\\...]
261.PP
262This section allows specifying application-specific values for
263the other sections described above.
264.I <appname>
265is the name of the application exe file, without path. The "..."
266should be replaced by the name of one of the above configuration
267sections.
268.br
269Example:
270.br
271.I [AppDefaults\\\\\\\\sol.exe\\\\\\\\DllOverrides]
272.br
273.I """shell32""" = """native"""
274.br
275means that Solitaire will use "native" load order for the shell32
276dll. All other applications will continue to use what was specified in
277the general
278.I DllOverrides
279section.
280.br
Stefan Leichter64cf1f62002-01-14 19:44:30 +0000281The only sections that support application-specific information at the
282moment are
Stefan Leichterad592952003-05-01 00:00:28 +0000283.I DllOverrides, dsound, Version
Alexandre Julliard69622db2002-06-25 00:23:23 +0000284and
Stefan Leichter64cf1f62002-01-14 19:44:30 +0000285.I x11drv.
Alexandre Julliardfde1b0c2001-03-21 20:33:11 +0000286.br
287Make sure to use double backslashes in the section name.
288.PP
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000289.SH SAMPLE CONFIGURATION FILE
290A sample configuration file is distributed as
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000291.B documentation/samples/config
292in the Wine source distribution.
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000293.SH ENVIRONMENT VARIABLES
Alexandre Julliard69622db2002-06-25 00:23:23 +0000294.TP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000295.I WINEPREFIX
296Specifies the directory that contains the per-user
297.I config
Alexandre Julliard1de20ae2004-03-20 02:28:51 +0000298file, the registry files, and the DOS device mappings. The default is
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000299.I $HOME/.wine.
Alexandre Julliard1de20ae2004-03-20 02:28:51 +0000300.SH FILES
301.TP
302.I $WINEPREFIX/config
303User-specific configuration file
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000304.SH "SEE ALSO"
305.BR wine (1)