1999-07-18 17:47:22 +02:00
|
|
|
.\" -*- nroff -*-
|
2001-09-20 00:34:38 +02:00
|
|
|
.TH WINE.CONF 5 "September 1, 2001" "Version 20010824" "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
|
2001-09-20 00:34:38 +02:00
|
|
|
This section is used to specify the root directory and type of each emulated
|
1999-07-18 17:47:22 +02:00
|
|
|
.B DOS
|
|
|
|
drive, since most Windows applications require a DOS/MS-Windows based
|
2001-09-20 00:34:38 +02:00
|
|
|
disk drive & directory scheme, which is either provided by a real
|
|
|
|
DOS partition mounted somewhere or by some carefully crafted directory layout
|
|
|
|
on a Unix file system ("no-windows fake installation").
|
|
|
|
There is one such section for every drive you want to configure.
|
1999-07-18 17:47:22 +02:00
|
|
|
.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
|
2001-09-20 00:34:38 +02:00
|
|
|
C:\\WINDOWS (thus it shows up as /dos/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]
|
2001-09-20 00:34:38 +02:00
|
|
|
section in order to configure /dos as the drive root of drive C:.
|
1999-07-18 17:47:22 +02:00
|
|
|
.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
|
2001-09-20 00:34:38 +02:00
|
|
|
"win95" for ext2fs, ReiserFS, ..., VFAT and FAT32
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2001-09-20 00:34:38 +02:00
|
|
|
"msdos" for FAT16 file systems (ugly, 8.3 naming)
|
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
|
2001-09-20 00:34:38 +02:00
|
|
|
programs using Winelib. Always try to avoid using a FAT16 FS. Use the
|
2000-12-06 21:25:11 +01:00
|
|
|
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
|
2002-02-02 19:03:55 +01:00
|
|
|
Used to specify where Wine is supposed to have its Windows directory
|
|
|
|
(which is an essential part of a Windows environment); make sure to double
|
|
|
|
the backslashes.
|
|
|
|
In case of e.g. C:\\WINDOWS, with drive C: being configured as
|
|
|
|
/home/user/wine_c, the /home/user/wine_c/WINDOWS directory would be used for
|
|
|
|
this.
|
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
|
2001-09-20 00:34:38 +02:00
|
|
|
default: "C:\\\\WINDOWS\\\\System"
|
1999-07-18 17:47:22 +02:00
|
|
|
.br
|
2002-02-02 19:03:55 +01:00
|
|
|
Used to specify where Wine is supposed to have its Windows system directory
|
|
|
|
(again, essential part of Windows environment); make sure to double the backslashes.
|
|
|
|
Given a setting of C:\\WINDOWS\\System (the standard setting on Windows)
|
|
|
|
and a C: drive again at /home/user/wine_c, the /home/user/wine_c/WINDOWS/System
|
|
|
|
directory would be used for this.
|
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
|
2002-02-02 19:03:55 +01:00
|
|
|
temporary files. E.g. with a C: drive at /home/user/wine_c, this would be
|
|
|
|
the /home/user/wine_c/TEMP directory.
|
1999-07-18 17:47:22 +02:00
|
|
|
.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
|
2001-09-20 00:34:38 +02:00
|
|
|
dlls. Make sure to double the backslashes.
|
1999-07-18 17:47:22 +02:00
|
|
|
.PP
|
2002-02-27 02:30:32 +01:00
|
|
|
.I format: """GraphicsDriver""=""<x11drv|ttydrv>"""
|
|
|
|
.br
|
|
|
|
default: "x11drv"
|
|
|
|
.br
|
|
|
|
Tells Wine which graphics driver to use. Normally you'd want to use
|
|
|
|
x11drv (for X11). In case you want to run programs as text console/TTY only
|
|
|
|
without having Wine rely on X11 support, then use ttydrv.
|
|
|
|
.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
|
2001-09-20 00:34:38 +02:00
|
|
|
can be any valid DLL module name, without extension. The specified value
|
2001-03-21 21:33:11 +01:00
|
|
|
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.
|
2001-09-20 00:34:38 +02:00
|
|
|
--debugmsg +loaddll might come in handy for experimenting with that stuff.
|
1999-07-18 17:47:22 +02:00
|
|
|
.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
|
2002-01-14 20:44:30 +01:00
|
|
|
The only sections that support application-specific information at the
|
|
|
|
moment are
|
|
|
|
.I DllOverrides
|
|
|
|
and
|
|
|
|
.I x11drv.
|
2001-03-21 21:33:11 +01:00
|
|
|
.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)
|