os4_software_wine
wine
BACK ..
die ersten Schritte mit dem Windows-Emulator "WINE"
===================================================
Eine Datenbank in der man Erfahrungsberichte von anderen Wine-Usern nachlesen
kann ist hier zu finden:
http://appdb.codeweavers.com/appbrowse.php
Installation
------------
bash-2.05b$ cd /usr/ports/emulators/wine
bash-2.05b$ make install && make clean
Konfiguration
-------------
bash-2.05b$ man wine.conf
bash-2.05b$ vi /usr/local/etc/wine.conf
bash-2.05b$ mkdir -p ~/home/fritz/.wine/c/windows/profiles/administrator
bash-2.05b$ mkdir -p ~/home/fritz/.wine/c/windows/system
bash-2.05b$ mkdir -p ~/home/fritz/.wine/c/windows/temp
bash-2.05b$ cd ~/home/fritz/.wine/c/windows
bash-2.05b$ touch win.ini
bash-2.05b$ cd system
bash-2.05b$ touch shell.dll shell32.dll winsock.dll wsock32.dll
http://www.la-sorciere.de/Wine-HOWTO.de.txt
--------------------------------------------------------------------------------
WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
;; If you think it is nescessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'
;;
;; 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'/'dos'/'fat', 'win95'/'vfat', 'unix')
;; This is the FS Wine is supposed to emulate on a certain
;; directory structure.
;; Recommended:
;; - "win95" for ext2fs, VFAT and FAT32
;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;; DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;
[Drive A]
"Path" = "/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Serial" = "87654321"
"Device" = "/dev/fd0"
[Drive C]
"Path" = "/home/fritz/.wine/c"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"
[Drive D]
"Path" = "/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
"Device"="/dev/hdc"
[Drive E]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"
[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"
[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "e:\\"
"Path" = "c:\\windows;c:windows\\system;e:\\;e:\\test;f:\\;"
"Profile"="c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
; Note: The WINESHELLLINK Environment variable will override this setting.
; (which is set in the winex startup script)
"ShellLinker" = "/usr/lib/transgaming/winex/bin/wineshelllink"
; Note: The WINEBROWSER Environment variable will override this setting.
; you may format the string by placing a %s where you want
; the URL to go, if its left off then the URL will be appended to the end.
; This option is used by the winelib app 'winebrowserlink'
"Browser" = "/usr/bin/mozilla %s"
#
[Version]
; This doesn't work in WineX, but its here for WineHQ compatability.
; can be (win95, win98, winme, nt351, nt40, win2k, winxp, win20, win30, win31)
"Windows" = "win98"
; dos version
;"DOS" = "6.22"
[DllDefaults]
"DefaultLoadOrder" = "native, builtin, so"
[DllOverrides]
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"shdocvw" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "builtin, native"
"commctrl" = "builtin, native"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"d3d8" = "builtin, native"
"d3drm" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dinput8" = "builtin, native"
"dmusic" = "builtin, native"
"dsound" = "builtin, native"
"opengl32" = "builtin, native"
"msvcrt" = "native, builtin"
"rpcrt4" = "native, builtin"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Number of colors to copy from the default palette
"CopyDefaultColors" = "0"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "800x600"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "N"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Use this to make your X server execute all commands
; sequentially rather than buffering commands. Will make
; everything really SLOW but can be nice for debugging.
;; "Synchronous" = "Y"
[fonts]
;Read documentation/fonts before adding aliases
"Resolution" = "96"
"Default" = "-adobe-times-"
[FontPatterns]
"Pattern0" = "-adobe-times*"
"Pattern1" = "-adobe-helvetica*"
"Pattern2" = "-adobe-courier*"
"Pattern3" = "-misc-fixed*"
[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"
[parallelports]
"Lpt1" = "/dev/lp0"
[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;"
[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "n"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "n"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"
[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win98"
[Console]
"Drivers" = "xterm"
;"Drivers" = "tty"
"XtermProg" = "konsole"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"
[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
; List of all directories directly contain .AFM files
[afmdirs]
;"1" = "/usr/share/ghostscript/fonts"
;"2" = "/usr/share/a2ps/afm"
;"3" = "/usr/share/enscript"
;"4" = "/usr/X11R6/lib/X11/fonts/Type1"
[WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"
[wineoss]
"UseMMap" = "Y"
"FullDuplex" = "N"
;; sample AppDefaults entries
;[AppDefaults\\iexplore.exe\\DllOverrides]
;"shlwapi" = "native"
;"rpcrt4" = "native"
;"ole32" = "native"
;"shdocvw" = "native"
;"wininet" = "native"
;"shfolder" = "native"
;"shell32" = "native"
;"shell" = "native"
;"comctl32" = "native"
;
;[AppDefaults\\setup.exe\\x11drv]
;"Desktop" = "800x600"
#
--------------------------------------------------------------------------------
TEST
----
bash-2.05b$ wine --version
Wine 20040505
Installation von Software
-------------------------
bash-2.05b$ sudo mount /cdrom
bash-2.05b$ wine -- /cdrom/Setup.exe
oder
bash-2.05b$ wine -- "d:\\Setup.exe"
Start des Cycloid's der Firma "Felix Würth AG" (http://www.wuerth-ag.de)
------------------------------------------------------------------------
(Das Programm wird auf der Seite nicht mehr zum download angeboten,
es ist aber Freeware und darf daher weiter verbreitet werden!
Wem es interessiert, der kann es von hier downloaden: cycloid-wuerth-ag.exe
Es stellt drei mechanische lösungen zur gewinnung von "Freier Energie" vor
und verdeutlicht den technischen Hintergrund durch Animationen.)
bash-2.05b$ wine -- "c:\\Eigene Dateien\cycloid-wuerth-ag.exe"
Wine für das Drucken konfigurieren
----------------------------------
http://www.witch.westfalen.de/Wine-HOWTO.de/wineprintconfig.html
Drucken in eine Datei:
[spooler]
LPT1:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
Drucken auf Systemdruckern:
[spooler]
LPT1:=|lpr
LPT2:=|lpr -Pdj500
Einstellungen für unterschiedliche Drucker:
[spooler]
LPT1:=|lpr
LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
LPT3:=/dev/lp3
Drcuken aus Systemdruckern unter Solaris
[spooler]
LPT1:=|lp
LPT2:=|lp -d duplex_1
Drucken mit dem internen Postscript-Treiber von Wine:
Wine PostScript Driver = WINEPS
[psdrv]
ppdfile=/home/wine/windows/printername.ppd
AFM Files Eintrag in der Wine Konfigurationsdatei:
AFM = Adobe-Font-Metric-Dateien
[afmfiles]
file1=/home/wine/afm/filename.afm
file2=/home/wine/afm/filename2.afm
file3=/home/wine/afm/filename3.afm
; ...
Drucker-Eintrag in Win.ini
[windows]
device=Wine PostScript Driver,WINEPS,LPT1:
[devices]
Wine PostScript Driver=WINEPS,LPT1:
Registry-Eintrag für Wine Postscript Driver:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\WinePostScript Driver]
"Attributes"="dword:00000000"
"Default Devmode"=
"Name"="Wine PostScript Driver"
"Port"="LPT1:"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"="dword:00000000"
"Start Time"="dword:00000000"
"Status"="dword:00000000"
"Until Time"="dword:00000000"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows4.0\Drivers\PS Driver]
"Configuration File"="WINEPS.DRV"
"Data File"=""
"Driver"="WINEPS.DRV"
"Version"="dword:0a000000"
"Datatype"=""
"Dependent Files"=""
"Help Files"=""
"Monitor"=""
Enable native Printer in Wine Configuration File:
[wine]
printer=on
Native Printer in Win.ini for HP 2100
[windows]
device=HP LaserJet 2100 Series PCL 6,hpbxlb,LPT2:
[devices]
Wine PostScript Driver=WINEPS,LPT1:
HP LaserJet 2100 Series PCL 6=hpbxlb,LPT2:
[FontSubstitutes]
Helv=MS Sans Serif
Tms Rmn=MS Serif
Times=Times New Roman
Helvetica=Arial
Albertus (W1)=Albertus Medium
Albertus Xb (W1)=Albertus Extra Bold
Antique Olv (W1)=Antique Olive
CG Times (W1)=CG Times
Courier (W1)=Courier New
Coronet (W1)=Coronet
Letter Gothic (W1)=Letter Gothic
Univers (W1)=Univers
Univers Cd (W1)=Univers Condensed
Albertus (WN)=Albertus Medium
Albertus Xb (WN)=Albertus Extra Bold
Antique Olv (WN)=Antique Olive
CG Times (WN)=CG Times
Courier (WN)=Courier New
Coronet (WN)=Coronet
Letter Gothic (WN)=Letter Gothic
Univers (WN)=Univers
[TrueType]
TTEnable=0
TTOnly=0
[HPLJ2100]
Language=German
Uninstall=H:\WINDOWS\hplj21un.txt
[HP LaserJet 2100 Series PCL 6,LPT2]
paper=9
prtcaps=-14065
prtcaps2=-26125
prtcaps3=0
qset=(Unbenannt)
pqsetting=754
access=512
[HPBXLB,LPT2]
FontSummary=H:\WINDOWS\FSBBLPT2.PXL
[PostScript,LPT2]
ATM=placeholder
[HP LaserJet 2100 Series PCL 6,]
paper=9
prtcaps=-14065
prtcaps2=-26125
prtcaps3=0
[HPBXLB,]
FontSummary=H:\WINDOWS\FSBBNONE.PXL
[PrinterPorts]
HP LaserJet 2100 Series PCL 6=hpbxlb,LPT2:,15,45
[IMG]
/home/http/wiki/data/pages/os4_software_wine.txt · Zuletzt geändert: von 127.0.0.1
