Display a drive icon for the unix root directory.
[wine] / documentation / samples / config
1 WINE REGISTRY Version 2
2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
3
4 ;; If you think it is necessary to show others your complete config for a
5 ;; bug report, filter out empty lines and comments with
6 ;; grep -v "^;" ~/.wine/config | grep '.'
7
8 [wine]
9 "GraphicsDriver" = "x11drv"
10 ;"ShowDirSymlinks" = "1"
11 ;"ShowDotFiles" = "1"
12
13 # [wineconf]
14
15 [Version]
16 ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
17 ;"Windows" = "win98"
18 ; DOS version to imitate
19 ;"DOS" = "6.22"
20
21 ; Be careful here, wrong DllOverrides settings have the potential
22 ; to pretty much kill your setup.
23 [DllOverrides]
24 ; some dlls you may want to change
25 "oleaut32"     = "builtin, native"
26 "ole32"        = "builtin, native"
27 "comdlg32"     = "builtin, native"
28 "shell32"      = "builtin, native"
29 "shfolder"     = "builtin, native"
30 "shlwapi"      = "builtin, native"
31 "shdocvw"      = "builtin, native"
32 "advapi32"     = "builtin, native"
33 "msvcrt"       = "native, builtin"
34 "mciavi.drv"   = "native, builtin"
35 "mcianim.drv"  = "native, builtin"
36 "d3drm"        = "native, builtin"
37 "d3dxof"       = "native, builtin"
38 "dpnhpast"     = "native, builtin"
39 ; you can specify applications too
40 ; this one will apply for all notepad.exe
41 ;"*notepad.exe" = "native, builtin"
42 ; this one will apply only for a particular file
43 ;"C:\\windows\\regedit.exe" = "native, builtin"
44 ; default for all other dlls
45 "*" = "builtin, native"
46
47 [x11drv]
48 ; Number of colors to allocate from the system palette
49 "AllocSystemColors" = "100"
50 ; Use a private color map
51 "PrivateColorMap" = "N"
52 ; Favor correctness over speed in some graphics operations
53 "PerfectGraphics" = "N"
54 ; Color depth to use on multi-depth screens
55 ;;"ScreenDepth" = "16"
56 ; Allow the window manager to manage created windows
57 "Managed" = "Y"
58 ; Use a desktop window of 640x480 for Wine
59 ;"Desktop" = "640x480"
60 ; Use XFree86 DGA extension if present
61 ; (make sure /dev/mem is accessible by you !)
62 "UseDGA" = "Y"
63 ; Use XVidMode extension if present
64 "UseXVidMode" = "Y"
65 ; Use XRandR extension if present
66 "UseXRandR" = "Y"
67 ; Use the take focus protocol
68 "UseTakeFocus" = "Y"
69 ; Use primary selection in addition to clipboard
70 "UsePrimarySelection" = "N"
71 ; Enable DirectX mouse grab
72 "DXGrab" = "N"
73 ; Create the desktop window with a double-buffered visual
74 ; (useful to play OpenGL games)
75 "DesktopDoubleBuffered" = "N"
76 ; Run in synchronous mode (useful for debugging X11 problems)
77 ;;"Synchronous" = "Y"
78 ;
79 ; Use the Render extension to render client side fonts (default "Y")
80 ;;"ClientSideWithRender" = "Y"
81 ; Fallback on X core requests to render client side fonts (default "Y")
82 ;;"ClientSideWithCore" = "Y"
83 ; Set both of the previous two to "N" in order to force X11 server side fonts
84 ;
85 ; Anti-alias fonts if using the Render extension (default "Y")
86 ;;"ClientSideAntiAliasWithRender" = "Y"
87 ; Anti-alias fonts if using core requests fallback (default "Y")
88 ;;"ClientSideAntiAliasWithCore" = "Y"
89 ;
90
91 [fonts]
92 ;Read the Fonts topic in the Wine User Guide before adding aliases
93 ;See a couple of examples for russian users below
94 "Default" = "-adobe-helvetica-"
95 "DefaultFixed" = "fixed"
96 "DefaultSerif" = "-adobe-times-"
97 "DefaultSansSerif" = "-adobe-helvetica-"
98
99 ;; default TrueType fonts with russian koi8-r encoding
100 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
101 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
102 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
103 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
104 ;; default cyrillic bitmap X fonts
105 ;"Default" = "-cronyx-helvetica-"
106 ;"DefaultFixed" = "fixed"
107 ;"DefaultSerif" = "-cronyx-times-"
108 ;"DefaultSansSerif" = "-cronyx-helvetica-"
109
110 ; the TrueType font dirs you want to make accessible to wine
111 [FontDirs]
112 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
113 ;"dir2" = "/usr/share/fonts/truetype"
114 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
115 ;"dir4" = "/usr/share/fonts/TT"
116
117 [ppdev]
118 ;; key:  io-base of the emulated port
119 ;; value : parport-device{,timeout}
120 ;; timeout for auto closing an open device ( not yet implemented)
121 ;"378" = "/dev/parport0"
122 ;"278" = "/dev/parport1"
123 ;"3bc" = "/dev/parport2"
124
125 [spooler]
126 "FILE:" = "tmp.ps"
127 "LPT1:" = "|lpr"
128 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
129 "LPT3:" = "/dev/lp3"
130
131 [ports]
132 ;"read"  = "0x779,0x379,0x280-0x2a0"
133 ;"write" = "0x779,0x379,0x280-0x2a0"
134
135 [Debug]
136 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
137 ;"RelayInclude" = "user32.CreateWindowA"
138 ;"RelayFromExclude" = "user32;x11drv"
139 ;"RelayFromInclude" = "sol.exe"
140 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
141 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
142
143 ; List of all directories directly contain .AFM files
144 [afmdirs]
145 "1" = "/usr/share/ghostscript/fonts"
146 "2" = "/usr/share/a2ps/afm"
147 "3" = "/usr/share/enscript"
148 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
149
150 [WinMM]
151 ; Uncomment the "Drivers" line matching your sound setting.
152
153 "Drivers" = "wineoss.drv"      ; default for most common configurations
154 ;"Drivers" = "winearts.drv"    ; for KDE
155 ;"Drivers" = "winealsa.drv"    ; for ALSA users
156 ;"Drivers" = "winejack.drv"    ; for Jack sound server
157 ;"Drivers" = "winenas.drv"     ; for NAS sound system
158 ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
159 ;"Drivers" = ""                ; to disable sound
160 "WaveMapper" = "msacm.drv"
161 "MidiMapper" = "midimap.drv"
162
163 [dsound]
164 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
165 ;"HELmargin" = "5"
166 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
167 ;"HELqueue" = "5"
168 ;; Max number of fragments to prebuffer
169 ;"SndQueueMax" = "28"
170 ;; Min number of fragments to prebuffer
171 ;"SndQueueMin" = "12"
172 ;; Forces emulation mode (using wave api)
173 ;"HardwareAcceleration" = "Emulation"
174 ;; Sets default playback device (0 - number of devices - 1)
175 ;"DefaultPlayback" = "0"        ; use first device (/dev/dsp)
176 ;"DefaultPlayback" = "1"        ; use second device (/dev/dsp1)
177 ;"DefaultPlayback" = "2"        ; use third device (/dev/dsp2)
178 ;; Sets default capture device (0 - number of devices - 1)
179 ;"DefaultCapture" = "0"         ; use first device (/dev/dsp)
180 ;"DefaultCapture" = "1"         ; use second device (/dev/dsp1)
181 ;"DefaultCapture" = "2"         ; use third device (/dev/dsp2)
182
183 [Network]
184 ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
185 ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs 
186 ;; from the Unix host name. You'll need to set ComputerName in 
187 ;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
188 ;"UseDnsComputerName" = "N"
189
190 ;; sample AppDefaults entries
191
192 ; 3 InstallShield versions who like to put their full screen window in front,
193 ; without any chance to switch to another X11 application.
194 ; So just catch them in a desktop window.
195
196 [AppDefaults\\_INS0432._MP\\x11drv]
197 "Desktop" = "640x480"
198
199 [AppDefaults\\_INS0466._MP\\x11drv]
200 "Desktop" = "640x480"
201
202 [AppDefaults\\_INS0576._MP\\x11drv]
203 "Desktop" = "640x480"
204
205 [AppDefaults\\_INS5176._MP\\x11drv]
206 "Desktop" = "640x480"
207
208 [AppDefaults\\_INS5576._MP\\x11drv]
209 "Desktop" = "800x600"
210
211 ;[AppDefaults\\iexplore.exe\\DllOverrides]
212 ;"shlwapi" = "native"
213 ;"rpcrt4" = "native"
214 ;"ole32" = "native"
215 ;"shdocvw" = "native"
216 ;"wininet" = "native"
217 ;"shfolder" = "native"
218 ;"shell32" = "native"
219 ;"shell" = "native"
220 ;"comctl32" = "native"
221 ;
222 ;[AppDefaults\\setup.exe\\x11drv]
223 ;"Desktop" = "800x600"
224 ;
225 ;[AppDefaults\\sol.exe\\Version]
226 ;"Windows" = "nt40"
227 ;
228 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
229 ;; You can add an AppDefault entry like this for such cases.
230 ;[AppDefaults\\pickygame.exe\\dsound]
231 ;"EmulDriver" = "N"
232
233 # [/wineconf]