Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
PHP Web Host - Quality Web Hosting For All PHP Applications

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 175 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

wine.conf



DESCRIPTION

       wine  expects  a  configuration  file ( $WINEPREFIX/config
       (~/.wine/config) ), which should conform to the  following
       rules.   A sample configuration file is available as docu­
       mentation/samples/config in the Wine source  distribution.


CONFIGURATION FILE FORMAT

       All entries are grouped in sections; a section begins with
       the line
       [section name]
       and continues until the next  section  starts.  Individual
       entries consist of lines of the form
       "entry"="value"
       The  entry  and value can be any text strings, included in
       double quotes; it can also contain references to  environ­
       ment  variables  surrounded  by  ${}.   Inside  the double
       quotes, special characters, backslashes and quotes must be
       escaped  with  backslashes.  Supported  section  names and
       entries are listed below.

       [Drive X]
       This section is used to specify  the  root  directory  and
       type of each emulated DOS drive, since most Windows appli­
       cations require a DOS/MS-Windows based disk drive & direc­
       tory scheme, which is either provided by a real DOS parti­
       tion mounted somewhere or by some carefully crafted direc­
       tory  layout  on  a  Unix  file  system  ("no-windows fake
       installation").  There is one such section for every drive
       you want to configure.

       format: "Path"="<rootdirectory>"
       default: none
       If  you  mounted  your dos partition as /dos and installed
       Microsoft Windows in  C:\WINDOWS  (thus  it  shows  up  as
       /dos/WINDOWS),  then  you  should specify "Path"="/dos" in
       the [Drive C] section in order to configure  /dos  as  the
       drive root of drive C:.

       format: "Type"="<type>"
       default: "hd"
       Used  to  specify  the drive type this drive appears as in
       Windows or DOS programs;  supported  types  are  "floppy",
       "hd", "cdrom" and "network".

       format: "Label"="<label>"
       default: "Drive X"
       Used to specify the drive label; limited to 11 characters.

       format: "Serial"="<serial>"
       default: "12345678"
       Used to specify the drive serial number, as an 8-character
       hexadecimal number.
       instead.

       format: "FailReadOnly"="<boolean>"
       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...).

       [wine]
       format: "windows"="<directory>"
       default: "C:\\WINDOWS"
       Used to specify where Wine is supposed to have its Windows
       directory  (which  is an essential part of a Windows envi­
       ronment); 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.

       format: "system"="<directory>"
       default: "C:\\WINDOWS\\System"
       Used to specify where Wine is supposed to have its Windows
       system directory (again, essential part of  Windows  envi­
       ronment);  make  sure  to double the backslashes.  Given a
       setting of C:\WINDOWS\System (the standard setting on Win­
       dows)  and  a  C:  drive  again  at /home/user/wine_c, the
       /home/user/wine_c/WINDOWS/System directory would  be  used
       for this.

       format: "temp"="<directory>"
       default: "C:\\TEMP"
       Used to specify a directory where Windows applications can
       store  temporary  files.  E.g.  with   a   C:   drive   at
       /home/user/wine_c,       this       would      be      the
       /home/user/wine_c/TEMP directory.

       format: "profile"="<directory>"
       default: nothing
       Used to specify a directory where Windows  stores  special
       folders   and   the   user-registry   files  (user.dat  or
       ntuser.dat).  Mapped  to  environment  variable  %USERPRO­
       FILE%.   Set this value when running with a native NT or a
       native win95 directory with per-user settings.

       format: "path"="<directories separated by semi-colons>"
       default: "C:\\WINDOWS;C:\\WINDOWS\\SYSTEM"
       Used to specify the path which will be used to  find  exe­
       cutables and dlls. Make sure to double the backslashes.

       format: "GraphicsDriver"="<x11drv|ttydrv>"
       default: "x11drv"
       Tells  Wine  which  graphics driver to use. Normally you'd
       want to use x11drv (for X11). In case you want to run pro­
       explicitly  asked  for), just like DOS-style hidden files.
       If you want them treated as regular files, set this  value
       to 1.

       [Version]
       format: "Windows"="<version string>"
       default: none; chosen by semi-intelligent detection mecha­
       nism based on DLL environment
       Used to specify which Windows version to  return  to  pro­
       grams  (forced  value, overrides standard detection mecha­
       nism  !).   Valid  settings  are  e.g.  "win31",  "win95",
       "win98",  "win2k",  "winxp".  Also valid as an AppDefaults
       setting (recommended/preferred use).

       format: "DOS"="<version string>"
       default: "<Windows version specific>"
       Used to specify the DOS version that should be returned to
       programs.   Only takes effect in case Wine acts as "win31"
       Windows version !  Common  DOS  version  settings  include
       6.22,  6.20,  6.00, 5.00, 4.00, 3.30, 3.10.  Also valid as
       an AppDefaults setting (recommended/preferred use).

       [DllOverrides]
       format: "modulename"="native,builtin"
       modulename can be any valid DLL module name. If no  exten­
       sion  is specified .dll is assumed. 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]  or  b[uiltin].  Also  whitespace is ignored. See
       also commandline option --dll for details about the allow­
       able types.
       The wildcard entry "*" specifies the load order to use for
       modules not explicitly mentioned. If the wildcard entry is
       not found, then the order "native,builtin" is used.
       Examples:
       "kernel32"="builtin"
       "kernel"="builtin"
       "comdlg32"="native,builtin"
       "*"="builtin,native"
       When the specified module name does not contain a path, it
       matches only dlls loaded from the  Windows  system  direc­
       tory.  If  the  application  explicitly loads a dll from a
       different directory, it has to be  configured  separately.
       This can be done either by specifying the full path in the
       module name, or by using  a  path  wildcard  of  the  form
       "*modulename" .
       For  instance,  the following will load the native shell32
       when loaded from C:\Program Files, and  the  builtin  when
       loaded from any other directory:
       "C:\\Program Files\\shell32" = "native"
       "*shell32" = "builtin"

       [parallelports]
       format: "lpt[12345678]"="<devicename>"
       default: none
       Used to specify the devices which are used as LPT1 - LPT8.

       [Debug]
       format: "SpyExclude"="<message names  separated  by  semi­
       colons>"
       default: none
       Used  to  specify which messages will be excluded from the
       logfile.

       format: "SpyInclude"="<message names  separated  by  semi­
       colons>"
       default: none

       format:  "RelayExclude"="<function  or dll.functions sepa­
       rated by semicolons>"
       default: none
       Used to specify which functions will be  excluded  from  a
       relay debug log.

       format:  "RelayInclude"="<function  or dll.functions sepa­
       rated by semicolons>"
       default: include all functions
       Used to specify which functions  will  be  included  in  a
       relay debug log.

       format:  "RelayFromExclude"="<module  names  separated  by
       semicolons>"
       default: none
       Used to specify a set of modules whose calls are  excluded
       from a relay debug log.

       format:  "RelayFromInclude"="<module  names  separated  by
       semicolons>"
       default: include all modules
       Used to  specify  the  set  of  modules  whose  calls  are
       included in a relay debug log.

       format:  "SnoopExclude"="<message names separated by semi­
       colons>"
       default: none
       Used to specify which functions will be included in  snoop
       debug log.

       format:  "SnoopInclude"="<message names separated by semi­
       colons>"
       default: include all functions
       Used to specify which functions will be included in  snoop
       debug log.
       format: "LoadHomeRegistryFiles"="<boolean>"
       Home registries (stored in ~user/.wine/)

       format: "WritetoHomeRegistryFiles"="<boolean>"
       TRY to write all changes to the home registry files

       format: "LoadWindowsRegistryFiles"="<boolean>"
       Load  Windows registry from the current Windows directory.

       booleans: Y/y/T/t/1 are true, N/n/F/f/0 are false.
       Defaults are read all, write to home files.

       [Network]
       format: "UseDnsComputerName"="<boolean>"
       If Y, always override the registry setting  for  Computer­
       Name with the Unix hostname.

       [AppDefaults\\<appname>\\...]

       This section allows specifying application-specific values
       for the other sections described above.  <appname> is  the
       name  of the application exe file, without path. The "..."
       should be replaced by the name of one of the above config­
       uration sections.
       Example:
       [AppDefaults\\sol.exe\\DllOverrides]
       "shell32" = "native"
       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 DllOverrides section.
       The only sections that support application-specific infor­
       mation at the moment are DllOverrides, dsound, Version and
       x11drv.
       Make sure to use double backslashes in the section name.


SAMPLE CONFIGURATION FILE

       A  sample  configuration file is distributed as documenta­
       tion/samples/config in the Wine source distribution.


FILES

       ~/.wine/config
              User-specific configuration file


ENVIRONMENT VARIABLES

       WINEPREFIX
              Specifies the directory that contains the  per-user
              config file, the registry files, and the wineserver
              socket. The default is $HOME/.wine.


SEE ALSO

       wine(1)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can help in many different ways.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds