blob: 9113a9fb8d2bf6f0dc53e2efee5510d43d1ed19a [file] [log] [blame]
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +00001.\" -*- nroff -*-
Alexandre Julliard73be8d12000-12-06 20:25:11 +00002.TH WINE.CONF 5 "December 5, 2000" "Version 20001202" "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 (
8.I @sysconfdir@/wine.conf
Alexandre Julliard73be8d12000-12-06 20:25:11 +00009), which should conform to the following rules. Common locations are
10/usr/local/etc/wine.conf or (in some distributions)
11/etc/wine.conf. The actual directory where that file resides may be
12specified during the execution of the
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000013.B configure
Alexandre Julliard73be8d12000-12-06 20:25:11 +000014script with the --sysconfdir option. Alternatively, you may have a
15file named
16.I config
17in this format in your ~/.wine directory or in the directory named in
18the
19.B WINEPREFIX
20environment variable. A sample configuration file is available as
21.I documentation/samples/config
22in the Wine source distribution.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000023.SH CONFIGURATION FILE FORMAT
24All entries are grouped in sections; a section begins with the line
25.br
26.I [section name]
27.br
28and continues until the next section starts. Individual entries
29consist of lines of the form
30.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000031.I """entry""=""value"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000032.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000033The entry and value can be any text strings, included in double
34quotes; it can also contain references to environment variables
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000035surrounded by
36.I ${}.
Alexandre Julliard73be8d12000-12-06 20:25:11 +000037Inside the double quotes, special characters, backslashes and quotes
38must be escaped with backslashes. Supported section names and entries
39are listed below.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000040.PP
41.B [Drive X]
42.br
43This section is used to specify the root directory and type of each
44.B DOS
45drive, since most Windows applications require a DOS/MS-Windows based
46disk drive & directory scheme. There is one such section for every
47drive you want to configure.
48.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000049.I format: """Path""=""<rootdirectory>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000050.br
51default: none
52.br
53If you mounted your dos partition as
54.I /dos
55and installed Microsoft Windows in
56C:\\WINDOWS then you should specify
Alexandre Julliard73be8d12000-12-06 20:25:11 +000057.I """Path""=""/dos"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000058in the
59.I [Drive C]
60section.
61.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000062.I format: """Type""=""<type>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000063.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000064default: "hd"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000065.br
66Used to specify the drive type this drive appears as in Windows
Alexandre Julliard73be8d12000-12-06 20:25:11 +000067or DOS programs; supported types are "floppy", "hd", "cdrom"
68and "network".
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000069.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000070.I format: """Label""=""<label>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000071.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000072default: "Drive X"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000073.br
74Used to specify the drive label; limited to 11 characters.
75.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000076.I format: """Serial""=""<serial>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000077.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000078default: "12345678"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000079.br
80Used to specify the drive serial number, as an 8-character hexadecimal
81number.
82.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +000083.I format: """Filesystem""=""<fstype>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000084.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000085default: "win95"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000086.br
87Used to specify the type of the file system Wine should emulate on a given
88directory structure/underlying file system.
89.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000090Supported types are "msdos" (or "fat"), "win95" (or "vfat"), "unix".
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000091.br
92Recommended:
93.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000094 "win95" for ext2fs, VFAT and FAT32
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000095.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000096 "msdos" for FAT16 (ugly)
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000097.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +000098You definitely do not want to use "unix" unless you intend to port
99programs using Winelib. Always try to avoid using FAT16. Use the
100VFAT/FAT32 OS file system driver instead.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000101.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000102.I format: """FailReadOnly""=""<boolean>"""
Alexandre Julliardfbace6e2000-04-04 20:35:45 +0000103.br
104Read-only files may not be opened in write mode (the default is to
105allow opening read-only files for writing, because most Windows
106programs always request read-write access, even on CD-ROM drives...).
107.PP
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000108.B [wine]
109.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000110.I format: """windows""=""<directory>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000111.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000112default: "C:\\\\WINDOWS"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000113.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000114Used to specify a different Windows directory; make sure to double the
115backslashes.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000116.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000117.I format: """system""=""<directory>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000118.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000119default: "C:\\\\WINDOWS\\\\SYSTEM"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000120.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000121Used to specify a different system directory; make sure to double the
122backslashes.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000123.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000124.I format: """temp""=""<directory>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000125.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000126default: "C:\\\\TEMP"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000127.br
128Used to specify a directory where Windows applications can store
129temporary files.
130.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000131.I format: """profile""=""<directory>"""
Juergen Schmied8573cc72000-01-30 03:03:23 +0000132.br
133default: nothing
134.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000135Used to specify a directory where Windows stores special folders and
136the user-registry files (user.dat or ntuser.dat). Mapped to
137environment variable %USERPROFILE%. Set this value when running with
138a native NT or a native win95 directory with per-user settings.
Juergen Schmied8573cc72000-01-30 03:03:23 +0000139.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000140.I format: """path""=""<directories separated by semi-colons>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000141.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000142default: "C:\\\\WINDOWS;C:\\\\WINDOWS\\\\SYSTEM"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000143.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000144Used to specify the path which will be used to find executables and
145dlls. Make sure to double all the backslashes.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000146.PP
147.B [DllDefaults]
148.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000149.I format: """EXTRA_LD_LIBRARY_PATH""=""@prefix@/lib/wine[:/more/path/to/search[:...]]"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000150.br
151The path will be appended to any existing LD_LIBRARY_PATH from the
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000152environment for the search of .so libraries.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000153.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000154.I format: """DefaultLoadOrder""=""native,so,builtin"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000155.br
156A comma separated list of module-types to try to load in that specific
157order. The DefaultLoadOrder key is used as a fallback when a module is
158not specified explicitely. If the DefaultLoadOrder key is not found,
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000159then the order "native,builtin,so" is used.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000160.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000161Case is not important and only the first letter of each type is enough
162to identify the type n[ative], s[o], b[uiltin]. Also whitespace is
163ignored. See also commandline option
Peter Gantenf35cdc82000-04-04 18:57:19 +0000164.I --dll
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000165for details about the allowable types.
166.PP
167.B [DllOverrides]
168.br
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000169There are no explicit keys defined other than module/library names. A
170module namd is followed by an assignment of the load order for this
171specific module. See above for possible types. You should not specify
172an extension.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000173.br
174Examples:
175.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000176.I """kernel32""=""builtin"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000177.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000178.I """kernel""=""builtin"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000179.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000180.I """comdlg32""=""native, builtin"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000181.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000182.I """commdlg""=""native, builtin"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000183.br
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000184Changing the load order of kernel/kernel32 and gdi/gdi32 to
185anything other than builtin will cause wine to fail because wine cannot
186use native versions for these libraries (gdi[32] might work native someday,
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000187but kernel[32] will never work native).
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000188Note that using the native versions of user[32] isn't recommended right now,
189as these modules face nearly the same problems as kernel/gdi and we only
190just managed to make them work partially. But trying to use it might get
191your program running.
192.br
193Always make sure that you have some kind of strategy in mind when you start
194fiddling with the current defaults and needless to say that you must know
195what you are doing.
196.PP
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000197.B [serialports]
198.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000199.I format: """com[12345678]""=""<devicename>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000200.br
201default: none
202.br
203Used to specify the devices which are used as COM1 - COM8.
204.PP
205.B [parallelports]
206.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000207.I format: """lpt[12345678]""=""<devicename>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000208.br
209default: none
210.br
211Used to specify the devices which are used as LPT1 - LPT8.
212.PP
213.B [spy]
214.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000215.I format: """exclude""=""<message names separated by semicolons>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000216.br
217default: none
218.br
219Used to specify which messages will be excluded from the logfile.
220.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000221.I format: """include""=""<message names separated by semicolons>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000222.br
223default: none
224.br Used to specify which messages will be included in the logfile.
225.PP
226.B [Tweak.Layout]
227.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000228.I format: """WineLook""=""<Win31|Win95|Win98>"""
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000229.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000230default: "Win31"
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000231.br
232Use Win95-like window displays or Win3.1-like window displays.
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000233.PP
234.B [Registry]
235.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000236.I format: """LoadGlobalRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000237.br
238Global registries (stored in /etc)
239.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000240.I format: """LoadHomeRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000241.br
242Home registries (stored in ~user/.wine/)
243.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000244.I format: """WritetoHomeRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000245.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000246TRY to write all changes to the home registry files
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000247.PP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000248.I format: """LoadWindowsRegistryFiles""=""<boolean>"""
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000249.br
Juergen Schmied8573cc72000-01-30 03:03:23 +0000250Load Windows registry from the current Windows directory.
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000251.PP
252booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
253.br
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000254Defaults are read all, write to home files.
Juergen Schmied9e6b1d11999-12-11 23:22:52 +0000255.PP
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000256.SH SAMPLE CONFIGURATION FILE
257A sample configuration file is distributed as
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000258.B documentation/samples/config
259in the Wine source distribution.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000260.SH FILES
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000261.TP
262.I @sysconfdir@/wine.conf
263Global configuration file for wine.
264.TP
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000265.I ~/.wine/config
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000266User-specific configuration file
Alexandre Julliard73be8d12000-12-06 20:25:11 +0000267.SH ENVIRONMENT VARIABLES
268.TP
269.I WINEPREFIX
270Specifies the directory that contains the per-user
271.I config
272file, the registry files, and the wineserver socket. The default is
273.I $HOME/.wine.
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000274.SH "SEE ALSO"
275.BR wine (1)