Setup wine
Site Navigation:
 
 

Setup wine

Author:  Sven Knispel
Updated:  [udate]

The following article explains the steps of installing Wine on Fedora Core 3, and setting up Lotus Notes.
The same should work on other versions of Fedora (fc1, fc2) as well as on other Linux distributions

  • Download and install wine
  • Configure Wine's drive-mappings
  • Install font using WineTools
  • Install and setup Lotus Notes

1. Download and install Wine

Download the binary RPM, e.g. from http://newrpms.sunsite.dk/apt/redhat/en/i386/fc3/RPMS.newrpms/
Install: rpm -ihv wine-0.20041201-1.rhfc3.nr.i386.rpm (as root) (same worked also with version 20041019)
Start wine: the ~/.wine configuration directory gets created.
Test if wine works by starting the registry editor: wine regedit

2. Create drive-mappings

Wine stores drive-mappings in ~/.wine/dosdevices in form of symbolic links. The symblic links represent the Windows-drives.
ln -s /mnt/ ~/.wine/dosdevices/e: By default the c: drive is linked to ~/.wine/drive_c
Note: it is not a good idea to set the symlink c: to the "real" windows drive (if you even have one)

3. Configure wine

I like winetools for that, the configuration can also be done by editing ~/.wine/config
Winetools can be found at http://www.frankscorner.org/winetools
Among other winetools can be used to install predefined apps like IE6 and install microsoft fonts (see also here for that topic).
Install winetools: tar xvf winetools-2.1.0.tar
Run ./install.sh (as root)
Run winetools: wt and select the option to launch.

4. Configure Lotus Notes

(without setup, requires an installed version of Lotus Notes that will just be copied)

  • Copy the notes directory (e.g. /mnt/hd_c/Notes) to ~/.wine/drive_c
  • Change the access rights: chmod -R 770 ~/.wine/drive_c/Notes
  • Create a directory for the Notes data (e.g. ~/.wine/drive_c/NotesData)
  • Copy the content of your Notes data directory (the one containing notes.ini) to the above created directory: cp -R /mnt/hd_c/NotesData ~/.wine/drive_c/NotesData
  • Change the access rights: chmod -R 770 ~/.wine/drive_c/NotesData
  • Edit notes.ini and change the path for "Directory=", "WinNTIconPath=", "SPELL_DIR="
  • Start Notes, passing the path to the INI-File: wine c:/Notes/notes.exe =c:/NotesData/notes.ini


That's it....
Note: I have had problems opening mails and attachement from Notes; this was due to a missing temp directory for Notes to write to.