Wine PC Emulator Hints and Tips ------------------------------------------------------------------------------- Wine Programs wine load and run a application winedbg as "wine" but with debugging output wineconsole Run Console applications winepath Convert between windows and unix filepaths (--help) wineboot start "startup" applications winefile wine 'file explorer' like application winemine Extra applications... winetricks download extra runtime libraries http://www.kegel.com/wine/winetricks Without arguments runs a gui of available packages. Otherwise you can download the packages named winetricks corefonts vcrun6 ------------------------------------------------------------------------------- Running wine as if on a different computer (From FAQ) Do not share context set a WINEPREFIX environment variable. WINEPREFIX="/home/anthony/path/to/wine" wine .... ------------------------------------------------------------------------------- Run program with a virtual windows desktop wine explorer /desktop=name,1024x768 program.exe ------------------------------------------------------------------------------- Associate a Linux App with a filetype (From FAQ) Create a script called "run_linx_program" and make it executable, and in you path. #!/bin/sh $1 "`wine winepath -u "$2"`" Second to associate say .pdf files with acroread Linux program save this as "$HOME/pdf.reg" and then import it with 'regedit $HOME/pdf.reg' command [HKEY_CLASSES_ROOT\.pdf] @="PDFfile" "Content Type"="application/pdf" [HKEY_CLASSES_ROOT\PDFfile\Shell\Open\command] @="/bin/sh run_linx_program acroread \"%1\"" To associate .doc documents with OpenOffice (ooffice): [HKEY_CLASSES_ROOT\.doc] @="DOCfile" "Content Type"="application/msword" [HKEY_CLASSES_ROOT\DOCfile\Shell\Open\command] @="/bin/sh run_linx_program ooffice \"%1\"" -------------------------------------------------------------------------------