Prevent crash when no URL is specified.
[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 ; Enable DirectX mouse grab
70 "DXGrab" = "N"
71 ; Create the desktop window with a double-buffered visual
72 ; (useful to play OpenGL games)
73 "DesktopDoubleBuffered" = "N"
74 ; Run in synchronous mode (useful for debugging X11 problems)
75 ;;"Synchronous" = "Y"
76 ;
77 ; Use the Render extension to render client side fonts (default "Y")
78 ;;"ClientSideWithRender" = "Y"
79 ; Fallback on X core requests to render client side fonts (default "Y")
80 ;;"ClientSideWithCore" = "Y"
81 ; Set both of the previous two to "N" in order to force X11 server side fonts
82 ;
83 ; Anti-alias fonts if using the Render extension (default "Y")
84 ;;"ClientSideAntiAliasWithRender" = "Y"
85 ; Anti-alias fonts if using core requests fallback (default "Y")
86 ;;"ClientSideAntiAliasWithCore" = "Y"
87 ;
88
89 [fonts]
90 ;Read the Fonts topic in the Wine User Guide before adding aliases
91 ;See a couple of examples for russian users below
92 "Default" = "-adobe-helvetica-"
93 "DefaultFixed" = "fixed"
94 "DefaultSerif" = "-adobe-times-"
95 "DefaultSansSerif" = "-adobe-helvetica-"
96
97 ;; default TrueType fonts with russian koi8-r encoding
98 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
99 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
100 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
101 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
102 ;; default cyrillic bitmap X fonts
103 ;"Default" = "-cronyx-helvetica-"
104 ;"DefaultFixed" = "fixed"
105 ;"DefaultSerif" = "-cronyx-times-"
106 ;"DefaultSansSerif" = "-cronyx-helvetica-"
107
108 ; the TrueType font dirs you want to make accessible to wine
109 [FontDirs]
110 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
111 ;"dir2" = "/usr/share/fonts/truetype"
112 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
113 ;"dir4" = "/usr/share/fonts/TT"
114
115 [ppdev]
116 ;; key:  io-base of the emulated port
117 ;; value : parport-device{,timeout}
118 ;; timeout for auto closing an open device ( not yet implemented)
119 ;"378" = "/dev/parport0"
120 ;"278" = "/dev/parport1"
121 ;"3bc" = "/dev/parport2"
122
123 [spooler]
124 "FILE:" = "tmp.ps"
125 "LPT1:" = "|lpr"
126 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
127 "LPT3:" = "/dev/lp3"
128
129 [ports]
130 ;"read"  = "0x779,0x379,0x280-0x2a0"
131 ;"write" = "0x779,0x379,0x280-0x2a0"
132
133 [Debug]
134 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
135 ;"RelayInclude" = "user32.CreateWindowA"
136 ;"RelayFromExclude" = "user32;x11drv"
137 ;"RelayFromInclude" = "sol.exe"
138 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
139 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
140
141 [Clipboard]
142 "UsePrimary" = "0"
143
144 ; List of all directories directly contain .AFM files
145 [afmdirs]
146 "1" = "/usr/share/ghostscript/fonts"
147 "2" = "/usr/share/a2ps/afm"
148 "3" = "/usr/share/enscript"
149 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
150
151 [WinMM]
152 ; Uncomment the "Drivers" line matching your sound setting.
153
154 "Drivers" = "wineoss.drv"      ; default for most common configurations
155 ;"Drivers" = "winearts.drv"    ; for KDE
156 ;"Drivers" = "winealsa.drv"    ; for ALSA users
157 ;"Drivers" = "winejack.drv"    ; for Jack sound server
158 ;"Drivers" = "winenas.drv"     ; for NAS sound system
159 ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
160 ;"Drivers" = ""                ; to disable sound
161 "WaveMapper" = "msacm.drv"
162 "MidiMapper" = "midimap.drv"
163
164 [dsound]
165 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
166 ;"HELmargin" = "5"
167 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
168 ;"HELqueue" = "5"
169 ;; Max number of fragments to prebuffer
170 ;"SndQueueMax" = "28"
171 ;; Min number of fragments to prebuffer
172 ;"SndQueueMin" = "12"
173 ;; Forces emulation mode (using wave api)
174 ;"HardwareAcceleration" = "Emulation"
175 ;; Sets default playback device (0 - number of devices - 1)
176 ;"DefaultPlayback" = "0"        ; use first device (/dev/dsp)
177 ;"DefaultPlayback" = "1"        ; use second device (/dev/dsp1)
178 ;"DefaultPlayback" = "2"        ; use third device (/dev/dsp2)
179 ;; Sets default capture device (0 - number of devices - 1)
180 ;"DefaultCapture" = "0"         ; use first device (/dev/dsp)
181 ;"DefaultCapture" = "1"         ; use second device (/dev/dsp1)
182 ;"DefaultCapture" = "2"         ; use third device (/dev/dsp2)
183
184 [Network]
185 ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
186 ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs 
187 ;; from the Unix host name. You'll need to set ComputerName in 
188 ;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
189 ;"UseDnsComputerName" = "N"
190
191 ;; sample AppDefaults entries
192
193 ; 3 InstallShield versions who like to put their full screen window in front,
194 ; without any chance to switch to another X11 application.
195 ; So just catch them in a desktop window.
196
197 [AppDefaults\\_INS0432._MP\\x11drv]
198 "Desktop" = "640x480"
199
200 [AppDefaults\\_INS0466._MP\\x11drv]
201 "Desktop" = "640x480"
202
203 [AppDefaults\\_INS0576._MP\\x11drv]
204 "Desktop" = "640x480"
205
206 [AppDefaults\\_INS5176._MP\\x11drv]
207 "Desktop" = "640x480"
208
209 [AppDefaults\\_INS5576._MP\\x11drv]
210 "Desktop" = "800x600"
211
212 ;[AppDefaults\\iexplore.exe\\DllOverrides]
213 ;"shlwapi" = "native"
214 ;"rpcrt4" = "native"
215 ;"ole32" = "native"
216 ;"shdocvw" = "native"
217 ;"wininet" = "native"
218 ;"shfolder" = "native"
219 ;"shell32" = "native"
220 ;"shell" = "native"
221 ;"comctl32" = "native"
222 ;
223 ;[AppDefaults\\setup.exe\\x11drv]
224 ;"Desktop" = "800x600"
225 ;
226 ;[AppDefaults\\sol.exe\\Version]
227 ;"Windows" = "nt40"
228 ;
229 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
230 ;; You can add an AppDefault entry like this for such cases.
231 ;[AppDefaults\\pickygame.exe\\dsound]
232 ;"EmulDriver" = "N"
233
234 # [/wineconf]