1999-07-18 17:47:22 +02:00
|
|
|
.\" -*- nroff -*-
|
2001-08-06 19:49:11 +02:00
|
|
|
.TH WINE.CONF 5 "August 5, 2001" "Version 20010731" "Wine Configuration File"
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH NAME
|
|
|
|
wine.conf \- Wine configuration file
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B wine
|
|
|
|
expects a configuration file (
|
2001-08-06 19:49:11 +02:00
|
|
|
.I $WINEPREFIX/config
|
|
|
|
(~/.wine/config)
|
|
|
|
), which should conform to the following rules.
|
|
|
|
A sample configuration file is available as
|
2000-12-06 21:25:11 +01:00
|
|
|
.I documentation/samples/config
|
|
|
|
in the Wine source distribution.
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH CONFIGURATION FILE FORMAT
|
|
|
|
All entries are grouped in sections; a section begins with the line
|
|
|
|
.br
|
|
|
|
.I [section name]
|
|
|
|
.br
|
|
|
|
and continues until the next section starts. Individual entries
|
|
|
|
consist of lines of the form
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I """entry""=""value"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
The entry and value can be any text strings, included in double
|
|
|
|
quotes; it can also contain references to environment variables
|
1999-07-18 17:47:22 +02:00
|
|
|
surrounded by
|
|
|
|
.I ${}.
|
2000-12-06 21:25:11 +01:00
|
|
|
Inside the double quotes, special characters, backslashes and quotes
|
|
|
|
must be escaped with backslashes. Supported section names and entries
|
|
|
|
are listed below.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
|
|
|
.B [Drive X]
|
|
|
|
.br
|
|
|
|
This section is used to specify the root directory and type of each
|
|
|
|
.B DOS
|
|
|
|
drive, since most Windows applications require a DOS/MS-Windows based
|
|
|
|
disk drive & directory scheme. There is one such section for every
|
|
|
|
drive you want to configure.
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """Path""=""<rootdirectory>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br
|
|
|
|
If you mounted your dos partition as
|
|
|
|
.I /dos
|
|
|
|
and installed Microsoft Windows in
|
|
|
|
C:\\WINDOWS then you should specify
|
2000-12-06 21:25:11 +01:00
|
|
|
.I """Path""=""/dos"""
|
1999-07-18 17:47:22 +02:00
|
|
|
in the
|
|
|
|
.I [Drive C]
|
|
|
|
section.
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """Type""=""<type>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "hd"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Used to specify the drive type this drive appears as in Windows
|
2000-12-06 21:25:11 +01:00
|
|
|
or DOS programs; supported types are "floppy", "hd", "cdrom"
|
|
|
|
and "network".
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """Label""=""<label>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "Drive X"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Used to specify the drive label; limited to 11 characters.
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """Serial""=""<serial>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "12345678"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Used to specify the drive serial number, as an 8-character hexadecimal
|
|
|
|
number.
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """Filesystem""=""<fstype>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "win95"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Used to specify the type of the file system Wine should emulate on a given
|
|
|
|
directory structure/underlying file system.
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
Supported types are "msdos" (or "fat"), "win95" (or "vfat"), "unix".
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Recommended:
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
"win95" for ext2fs, VFAT and FAT32
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
"msdos" for FAT16 (ugly)
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
You definitely do not want to use "unix" unless you intend to port
|
|
|
|
programs using Winelib. Always try to avoid using FAT16. Use the
|
|
|
|
VFAT/FAT32 OS file system driver instead.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """FailReadOnly""=""<boolean>"""
|
2000-04-04 22:35:45 +02:00
|
|
|
.br
|
|
|
|
Read-only files may not be opened in write mode (the default is to
|
|
|
|
allow opening read-only files for writing, because most Windows
|
|
|
|
programs always request read-write access, even on CD-ROM drives...).
|
|
|
|
.PP
|
1999-07-18 17:47:22 +02:00
|
|
|
.B [wine]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """windows""=""<directory>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "C:\\\\WINDOWS"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
Used to specify a different Windows directory; make sure to double the
|
|
|
|
backslashes.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """system""=""<directory>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "C:\\\\WINDOWS\\\\SYSTEM"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
Used to specify a different system directory; make sure to double the
|
|
|
|
backslashes.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """temp""=""<directory>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "C:\\\\TEMP"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Used to specify a directory where Windows applications can store
|
|
|
|
temporary files.
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """profile""=""<directory>"""
|
2000-01-30 04:03:23 +01:00
|
|
|
.br
|
|
|
|
default: nothing
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
Used to specify a directory where Windows stores special folders and
|
|
|
|
the user-registry files (user.dat or ntuser.dat). Mapped to
|
|
|
|
environment variable %USERPROFILE%. Set this value when running with
|
|
|
|
a native NT or a native win95 directory with per-user settings.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """path""=""<directories separated by semi-colons>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "C:\\\\WINDOWS;C:\\\\WINDOWS\\\\SYSTEM"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
Used to specify the path which will be used to find executables and
|
|
|
|
dlls. Make sure to double all the backslashes.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2001-03-21 21:33:11 +01:00
|
|
|
.B [DllOverrides]
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
.I format: """modulename""=""native,so,builtin"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
.I modulename
|
|
|
|
can be any valid module name, without extension. The specified value
|
|
|
|
is a comma separated list of module-types to try to load in that
|
|
|
|
specific order. Case is not important and only the first letter of
|
|
|
|
each type is enough to identify the type n[ative], s[o],
|
|
|
|
b[uiltin]. Also whitespace is ignored. See also commandline option
|
2000-04-04 20:57:19 +02:00
|
|
|
.I --dll
|
1999-07-18 17:47:22 +02:00
|
|
|
for details about the allowable types.
|
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
The wildcard entry
|
|
|
|
.I """*"""
|
|
|
|
specifies the load order to use for modules not explicitly
|
|
|
|
mentioned. If the wildcard entry is not found, then the order
|
|
|
|
"native,builtin,so" is used.
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Examples:
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I """kernel32""=""builtin"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I """kernel""=""builtin"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
.I """comdlg32""=""native,builtin"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-03-21 21:33:11 +01:00
|
|
|
.I """*""=""builtin,native"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Changing the load order of kernel/kernel32 and gdi/gdi32 to
|
|
|
|
anything other than builtin will cause wine to fail because wine cannot
|
2001-03-21 21:33:11 +01:00
|
|
|
use native versions for these libraries.
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Always make sure that you have some kind of strategy in mind when you start
|
|
|
|
fiddling with the current defaults and needless to say that you must know
|
|
|
|
what you are doing.
|
|
|
|
.PP
|
|
|
|
.B [serialports]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """com[12345678]""=""<devicename>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br
|
|
|
|
Used to specify the devices which are used as COM1 - COM8.
|
|
|
|
.PP
|
|
|
|
.B [parallelports]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """lpt[12345678]""=""<devicename>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br
|
|
|
|
Used to specify the devices which are used as LPT1 - LPT8.
|
|
|
|
.PP
|
|
|
|
.B [spy]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """exclude""=""<message names separated by semicolons>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br
|
|
|
|
Used to specify which messages will be excluded from the logfile.
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """include""=""<message names separated by semicolons>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
default: none
|
|
|
|
.br Used to specify which messages will be included in the logfile.
|
|
|
|
.PP
|
|
|
|
.B [Tweak.Layout]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """WineLook""=""<Win31|Win95|Win98>"""
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
default: "Win31"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
|
|
|
Use Win95-like window displays or Win3.1-like window displays.
|
1999-12-12 00:22:52 +01:00
|
|
|
.PP
|
|
|
|
.B [Registry]
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """LoadGlobalRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
|
|
|
Global registries (stored in /etc)
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """LoadHomeRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
|
|
|
Home registries (stored in ~user/.wine/)
|
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """WritetoHomeRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
TRY to write all changes to the home registry files
|
1999-12-12 00:22:52 +01:00
|
|
|
.PP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I format: """LoadWindowsRegistryFiles""=""<boolean>"""
|
1999-12-12 00:22:52 +01:00
|
|
|
.br
|
2000-01-30 04:03:23 +01:00
|
|
|
Load Windows registry from the current Windows directory.
|
1999-12-12 00:22:52 +01:00
|
|
|
.PP
|
|
|
|
booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
|
|
|
|
.br
|
2000-12-06 21:25:11 +01:00
|
|
|
Defaults are read all, write to home files.
|
1999-12-12 00:22:52 +01:00
|
|
|
.PP
|
2001-03-21 21:33:11 +01:00
|
|
|
.B [AppDefaults\\\\\\\\<appname>\\\\\\\\...]
|
|
|
|
.PP
|
|
|
|
This section allows specifying application-specific values for
|
|
|
|
the other sections described above.
|
|
|
|
.I <appname>
|
|
|
|
is the name of the application exe file, without path. The "..."
|
|
|
|
should be replaced by the name of one of the above configuration
|
|
|
|
sections.
|
|
|
|
.br
|
|
|
|
Example:
|
|
|
|
.br
|
|
|
|
.I [AppDefaults\\\\\\\\sol.exe\\\\\\\\DllOverrides]
|
|
|
|
.br
|
|
|
|
.I """shell32""" = """native"""
|
|
|
|
.br
|
|
|
|
means that Solitaire will use "native" load order for the shell32
|
|
|
|
dll. All other applications will continue to use what was specified in
|
|
|
|
the general
|
|
|
|
.I DllOverrides
|
|
|
|
section.
|
|
|
|
.br
|
|
|
|
The only section that supports application-specific information at the
|
|
|
|
moment is
|
|
|
|
.I DllOverrides.
|
|
|
|
.br
|
|
|
|
Make sure to use double backslashes in the section name.
|
|
|
|
.PP
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH SAMPLE CONFIGURATION FILE
|
|
|
|
A sample configuration file is distributed as
|
2000-12-06 21:25:11 +01:00
|
|
|
.B documentation/samples/config
|
|
|
|
in the Wine source distribution.
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH FILES
|
|
|
|
.TP
|
2000-12-06 21:25:11 +01:00
|
|
|
.I ~/.wine/config
|
1999-07-18 17:47:22 +02:00
|
|
|
User-specific configuration file
|
2000-12-06 21:25:11 +01:00
|
|
|
.SH ENVIRONMENT VARIABLES
|
|
|
|
.TP
|
|
|
|
.I WINEPREFIX
|
|
|
|
Specifies the directory that contains the per-user
|
|
|
|
.I config
|
|
|
|
file, the registry files, and the wineserver socket. The default is
|
|
|
|
.I $HOME/.wine.
|
1999-07-18 17:47:22 +02:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR wine (1)
|