Add option to use the primary selection in addition to the clipboard
[wine/wine-gecko.git] / documentation / samples / config
blob7ce34808abbf96889a97c34a5ef6eb83da70387b
1 WINE REGISTRY Version 2
2 ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
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 ;; MS-DOS drives configuration
9 ;;
10 ;; Each section has the following format:
11 ;; [Drive X]
12 ;; "Path"="xxx"       (Unix path for drive root)
13 ;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
14 ;; "Label"="xxx"      (drive label, at most 11 characters)
15 ;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
16 ;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
17 ;;   This is the FS Wine is supposed to emulate on a certain
18 ;;   directory structure.
19 ;;   Recommended:
20 ;;   - "win95" for ext2fs, VFAT and FAT32
21 ;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
22 ;;   DON'T use "unix" unless you intend to port programs using Winelib !
23 ;; "Device"="/dev/xx" (only if you want to allow raw device access)
25 [Drive A]
26 "Path" = "/mnt/fd0"
27 "Type" = "floppy"
28 "Label" = "Floppy"
29 "Filesystem" = "win95"
30 "Serial" = "87654321"
31 "Device" = "/dev/fd0"
33 [Drive C]
34 "Path" = "/c"
35 "Type" = "hd"
36 "Label" = "MS-DOS"
37 "Filesystem" = "win95"
39 [Drive D]
40 "Path" = "/cdrom"
41 "Type" = "cdrom"
42 "Label" = "CD-Rom"
43 "Filesystem" = "win95"
44 ; make sure that device is correct and has proper permissions !
45 "Device" = "/dev/cdrom"
47 [Drive E]
48 "Path" = "/tmp"
49 "Type" = "hd"
50 "Label" = "Tmp Drive"
51 "Filesystem" = "win95"
53 [Drive F]
54 "Path" = "%HOME%"
55 "Type" = "network"
56 "Label" = "Home"
57 "Filesystem" = "win95"
59 [Drive Z]
60 "Path" = "/"
61 "Type" = "hd"
62 "Label" = "Root"
63 "Filesystem" = "win95"
65 [wine]
66 "Windows" = "c:\\windows"
67 "System" = "c:\\windows\\system"
68 "Temp" = "e:\\"
69 "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
70 "Profile" = "c:\\windows\\Profiles\\Administrator"
71 "GraphicsDriver" = "x11drv"
72 ;"ShowDirSymlinks" = "1"
73 ;"ShowDotFiles" = "1"
74 "ShellLinker" = "wineshelllink"
76 # [wineconf]
78 [Version]
79 ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
80 ;"Windows" = "win98"
81 ; DOS version to imitate
82 ;"DOS" = "6.22"
84 ; Be careful here, wrong DllOverrides settings have the potential
85 ; to pretty much kill your setup.
86 [DllOverrides]
87 ; some dlls you may want to change
88 "oleaut32"     = "builtin, native"
89 "ole32"        = "builtin, native"
90 "comdlg32"     = "builtin, native"
91 "shell32"      = "builtin, native"
92 "shfolder"     = "builtin, native"
93 "shlwapi"      = "builtin, native"
94 "shdocvw"      = "builtin, native"
95 "advapi32"     = "builtin, native"
96 "msvcrt"       = "native, builtin"
97 "mciavi.drv"   = "native, builtin"
98 "mcianim.drv"  = "native, builtin"
99 "msi"          = "native, builtin"
100 ; you can specify applications too
101 ; this one will apply for all notepad.exe
102 ;"*notepad.exe" = "native, builtin"
103 ; this one will apply only for a particular file
104 ;"C:\\windows\\regedit.exe" = "native, builtin"
105 ; default for all other dlls
106 "*" = "builtin, native"
108 [x11drv]
109 ; Number of colors to allocate from the system palette
110 "AllocSystemColors" = "100"
111 ; Use a private color map
112 "PrivateColorMap" = "N"
113 ; Favor correctness over speed in some graphics operations
114 "PerfectGraphics" = "N"
115 ; Color depth to use on multi-depth screens
116 ;;"ScreenDepth" = "16"
117 ; Allow the window manager to manage created windows
118 "Managed" = "Y"
119 ; Use a desktop window of 640x480 for Wine
120 ;"Desktop" = "640x480"
121 ; Use XFree86 DGA extension if present
122 ; (make sure /dev/mem is accessible by you !)
123 "UseDGA" = "Y"
124 ; Use XVidMode extension if present
125 "UseXVidMode" = "Y"
126 ; Use XRandR extension if present
127 "UseXRandR" = "Y"
128 ; Use the take focus protocol
129 "UseTakeFocus" = "Y"
130 ; Enable DirectX mouse grab
131 "DXGrab" = "N"
132 ; Create the desktop window with a double-buffered visual
133 ; (useful to play OpenGL games)
134 "DesktopDoubleBuffered" = "N"
135 ; Run in synchronous mode (useful for debugging X11 problems)
136 ;;"Synchronous" = "Y"
138 ; Use the Render extension to render client side fonts (default "Y")
139 ;;"ClientSideWithRender" = "Y"
140 ; Fallback on X core requests to render client side fonts (default "Y")
141 ;;"ClientSideWithCore" = "Y"
142 ; Set both of the previous two to "N" in order to force X11 server side fonts
144 ; Anti-alias fonts if using the Render extension (default "Y")
145 ;;"ClientSideAntiAliasWithRender" = "Y"
146 ; Anti-alias fonts if using core requests fallback (default "Y")
147 ;;"ClientSideAntiAliasWithCore" = "Y"
150 [fonts]
151 ;Read the Fonts topic in the Wine User Guide before adding aliases
152 ;See a couple of examples for russian users below
153 "Resolution" = "96"
154 "Default" = "-adobe-helvetica-"
155 "DefaultFixed" = "fixed"
156 "DefaultSerif" = "-adobe-times-"
157 "DefaultSansSerif" = "-adobe-helvetica-"
159 ;; default TrueType fonts with russian koi8-r encoding
160 ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
161 ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
162 ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
163 ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
164 ;; default cyrillic bitmap X fonts
165 ;"Default" = "-cronyx-helvetica-"
166 ;"DefaultFixed" = "fixed"
167 ;"DefaultSerif" = "-cronyx-times-"
168 ;"DefaultSansSerif" = "-cronyx-helvetica-"
170 ; the TrueType font dirs you want to make accessible to wine
171 [FontDirs]
172 ;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
173 ;"dir2" = "/usr/share/fonts/truetype"
174 ;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
175 ;"dir4" = "/usr/share/fonts/TT"
177 [serialports]
178 "Com1" = "/dev/ttyS0"
179 "Com2" = "/dev/ttyS1"
180 "Com3" = "/dev/ttyS2"
181 "Com4" = "/dev/modem"
183 [parallelports]
184 "Lpt1" = "/dev/lp0"
186 [ppdev]
187 ;; key:  io-base of the emulated port
188 ;; value : parport-device{,timeout}
189 ;; timeout for auto closing an open device ( not yet implemented)
190 ;"378" = "/dev/parport0"
191 ;"278" = "/dev/parport1"
192 ;"3bc" = "/dev/parport2"
194 [spooler]
195 "FILE:" = "tmp.ps"
196 "LPT1:" = "|lpr"
197 "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
198 "LPT3:" = "/dev/lp3"
200 [ports]
201 ;"read"  = "0x779,0x379,0x280-0x2a0"
202 ;"write" = "0x779,0x379,0x280-0x2a0"
204 [Debug]
205 ;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
206 ;"RelayInclude" = "user32.CreateWindowA"
207 ;"RelayFromExclude" = "user32;x11drv"
208 ;"RelayFromInclude" = "sol.exe"
209 ;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
210 ;"SpyExclude" = "WM_SIZE;WM_TIMER;"
212 [registry]
213 ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
214 ;Defaults are read all, write to Home
215 ; Where to find the global registries
216 ;"GlobalRegistryDir" = "/etc";
217 ; Global registries (stored in /etc)
218 "LoadGlobalRegistryFiles" = "Y"
219 ; Home registries (stored in ~user/.wine/)
220 "LoadHomeRegistryFiles" = "Y"
221 ; Load Windows registries from the Windows directory
222 "LoadWindowsRegistryFiles" = "Y"
223 ; TRY to write all changes to home registries
224 "WritetoHomeRegistryFiles" = "Y"
225 ; Registry periodic save timeout in seconds
226 ; "PeriodicSave" = "600"
227 ; Save only modified keys
228 "SaveOnlyUpdatedKeys" = "Y"
230 [Tweak.Layout]
231 ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
232 ;; this has *nothing* to do with the windows version Wine returns:
233 ;; set the "Windows" value in the [Version] section if you want that.
234 "WineLook" = "Win95"
236 [Clipboard]
237 "ClearAllSelections" = "0"
238 "PersistentSelection" = "1"
239 "UsePrimary" = "0"
241 ; List of all directories directly contain .AFM files
242 [afmdirs]
243 "1" = "/usr/share/ghostscript/fonts"
244 "2" = "/usr/share/a2ps/afm"
245 "3" = "/usr/share/enscript"
246 "4" = "/usr/X11R6/lib/X11/fonts/Type1"
248 [WinMM]
249 ; Uncomment the "Drivers" line matching your sound setting.
251 "Drivers" = "wineoss.drv"      ; default for most common configurations
252 ;"Drivers" = "winearts.drv"    ; for KDE
253 ;"Drivers" = "winealsa.drv"    ; for ALSA users
254 ;"Drivers" = "winejack.drv"    ; for Jack sound server
255 ;"Drivers" = "winenas.drv"     ; for NAS sound system
256 ;"Drivers" = "wineaudioio.drv" ; for Solaris machines
257 ;"Drivers" = ""                ; to disable sound
258 "WaveMapper" = "msacm.drv"
259 "MidiMapper" = "midimap.drv"
261 [dsound]
262 ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
263 ;"HELmargin" = "5"
264 ;; HEL only: Number of waveOut fragments ahead to queue to driver.
265 ;"HELqueue" = "5"
266 ;; Max number of fragments to prebuffer
267 ;"SndQueueMax" = "28"
268 ;; Min number of fragments to prebuffer
269 ;"SndQueueMin" = "12"
270 ;; Forces emulation mode (using wave api)
271 ;"HardwareAcceleration" = "Emulation"
272 ;; Sets default playback device (0 - number of devices - 1)
273 ;"DefaultPlayback" = "0"        ; use first device (/dev/dsp)
274 ;"DefaultPlayback" = "1"        ; use second device (/dev/dsp1)
275 ;"DefaultPlayback" = "2"        ; use third device (/dev/dsp2)
276 ;; Sets default capture device (0 - number of devices - 1)
277 ;"DefaultCapture" = "0"         ; use first device (/dev/dsp)
278 ;"DefaultCapture" = "1"         ; use second device (/dev/dsp1)
279 ;"DefaultCapture" = "2"         ; use third device (/dev/dsp2)
281 [Network]
282 ;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
283 ;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs 
284 ;; from the Unix host name. You'll need to set ComputerName in 
285 ;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
286 ;"UseDnsComputerName" = "N"
288 ;; sample AppDefaults entries
290 ; 3 InstallShield versions who like to put their full screen window in front,
291 ; without any chance to switch to another X11 application.
292 ; So just catch them in a desktop window.
294 [AppDefaults\\_INS0432._MP\\x11drv]
295 "Desktop" = "640x480"
297 [AppDefaults\\_INS0466._MP\\x11drv]
298 "Desktop" = "640x480"
300 [AppDefaults\\_INS0576._MP\\x11drv]
301 "Desktop" = "640x480"
303 [AppDefaults\\_INS5176._MP\\x11drv]
304 "Desktop" = "640x480"
306 [AppDefaults\\_INS5576._MP\\x11drv]
307 "Desktop" = "640x480"
309 ;[AppDefaults\\iexplore.exe\\DllOverrides]
310 ;"shlwapi" = "native"
311 ;"rpcrt4" = "native"
312 ;"ole32" = "native"
313 ;"shdocvw" = "native"
314 ;"wininet" = "native"
315 ;"shfolder" = "native"
316 ;"shell32" = "native"
317 ;"shell" = "native"
318 ;"comctl32" = "native"
320 ;[AppDefaults\\setup.exe\\x11drv]
321 ;"Desktop" = "800x600"
323 ;[AppDefaults\\sol.exe\\Version]
324 ;"Windows" = "nt40"
326 ;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
327 ;; You can add an AppDefault entry like this for such cases.
328 ;[AppDefaults\\pickygame.exe\\dsound]
329 ;"EmulDriver" = "N"
331 # [/wineconf]