Here is a sample wine.conf

Please note that you MUST have a partition for dos files.  THis is likely to
have been done in a custom installation, but you may have to do it yourself for
other types of installations, even if they are dual-boot.

The method is to use fstool if you have it or to use kedit as superuser (risky)
to add 1 line to /etc/fstab  The format of the line is sketched in the config
file below:

;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; Path=xxx       (Unix path for drive root)
;; Type=xxx       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; Label=xxx      (drive label, at most 11 characters)
;; Serial=xxx     (serial number, 8 characters hexadecimal number)
;; Filesystem=xxx (supported types are 'msdos','win95','unix')
;; Device=/dev/xx (only if you want to allow raw device access)
;;
[Drive A]
Path=/mnt/floppy
Type=floppy
Label=Floppy
Serial=87654321
Device=/dev/fd0
;;
;;  Here I have a Windows FAT32 partition as the first one on the first drive
;;  So my response is /dos.  Why dos?  Well, in my /etc/fstab I have the line
;;  /dev/hda1   /dos    msdos   defaults
;;  so /dos is mounted to Linux and is in fact the Windows C:\ drive
;;
;;  Your mileage may vary dependiing on configurastion
;;
[Drive C]
Path=/dos
Type=hd
Label=MS-DOS
Filesystem=msdos

[Drive D]
Path=/mnt/cdrom
Type=cdrom
Label=CD-Rom

[Drive E]
Path=/tmp
Type=hd
Label=Tmp Drive

;;[Drive F]
;;Path=${HOME}
;;Type=network
;;Label=Home
;;Filesystem=unix

[Drive G]
Path=/
Type=hd
Label=Unix fs
Filesystem=unix
;;
;;  Now these are trickier and not quite comprehensive.  I have commented out ;;
;;  Originals and left them to show how I make it a bit more functional
;;
[wine]
;;Windows=MANDRAKE_WINDIR\
Windows=C:\Windows
;;System=MANDRAKE_WINDIR\system
;;
;;  These variables refer to your windows configuration.  My windows d
;;  Directory is C:\windows, as most would be, but other installations are 
;;  possible...  (What was MIcro$loth thinking of to leave in that stupid
;;  option of installing Windows to a different directory?
;;
Temp=e:\
;;Path=MANDRAKE_WINDIR;MANDRAKE_WINDIR\system;e:\;e:\test;f:\
Path=C:\;C:\windows;c:\windows\system;e:\;\e:\test
;;Uncomment the drive F stuff above for your home directory or leave f:\
;;off the path

SymbolTableFile=/var/lib/wine/wine.sym

[options]
AllocSystemColors=100

[fonts]
;Read documentation/fonts before adding aliases
Resolution = 96
Default = -adobe-times-

[serialports]
;;
;;  If you want to connect to the internet from Winblows (why?)
;;  under WIME, make sure your modem is assigned to the right device
;;
Com1=/dev/ttyS0
;;Com2=/dev/ttyS1
;;Com3=/dev/modem,38400
;;Com4=/dev/modem
Com2=/dev/modem, 115200


;; Carreful this Lpt1 device work only for the 2.0.x series kernel
;; adjust to /dev/lp0 if you have a 2.2.* Kernel
[parallelports]
Lpt1=/dev/lp1


[spooler]
LPT1:=|lpr
LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
LPT3:=/dev/lp3

[ports]
;read=0x779,0x379,0x280-0x2a0
;write=0x779,0x379,0x280-0x2a0

[spy]
Exclude=WM_SIZE;WM_TIMER;

[Tweak.Layout]
;; WineLook=xxx  (supported styles are 'Win31'(default), 'Win95', 'Win98')
WineLook=Win95
;; This may be overridden in the command line, so set it to what you will
;;  likely use most often.
[programs]
Default=
Startup=

Reply via email to