Installing Lotus Notes 6.5.x under Wine

Initially, I wrote this for Mandriva, as I was using Mandriva 2006 at the time.  With older versions of Wine, the setup executable wouldn't run, and therefore you had to do it all manually, copying a lot of stuff over from a working Windows installation.

Now, wine has been updated, and the setup executable for installing Lotus Notes actually works now, which means, you can save a lot of time getting your system ready.  That said, I have listed both ways, since there still maybe some distros out there with problems.

Please note: the manual installation process I have only ever managed to get to work under Mandriva.  It has never worked on any other distro - most likely because of the version of wine in use.

What you need

First, you need to have your Lotus Notes client - and chances are you have this. Second, you need wine installed on your distro, or if you prefer and have paid for it - Crossover Office.

Preparation

First, install wine on your system.  This is distro specific, so I won't go into it here.  For Mandriva, it's a simple:

urpmi wine

if you're using another distro, contact me, and I'll try to help you get it installed if you're really stuck.

Installing Lotus Notes 

Now, all that needs to be done is running the installer.  I will assume it's called setup.exe.  So make sure you've got the self-extracting executable installer on your system, or, the already extracted files and:

wine setup.exe

for it to work like this, you have to make sure you are sitting in the directory where the setup.exe exists.  I've assumed it's called setup.exe, so change accordingly.  If you're using Crossover Office, then use the appropriate method in Crossover to install it.  You don't need to use the command line!  But, you probably already know this :-)

On completion, you'll need to have your user.id file to hand for configuring Lotus Notes.  You'll also need to set up an icon (if using Crossover Office, this is done for you).  The parameters for the icon would be something like this:

wine "c:\program files\lotus\notes\nlnotes.exe"

it's perfectly fine and natural to specify the windows path, because you're using wine!  So don't use Linux style paths that lead to the Lotus Notes executable.

Manual Installation

This is how you used to do the installation, for those of you still using Mandriva 2006.  As I said, this procedure only worked for me on Mandriva.  It never worked on any other distro that I used.  Although, there is every chance you might have a distro it works on.  Easy way to find out, just follow this and see if it works.  If it doesn't, it's because of the version of wine you're using.  In Mandriva, I was using wine-20050725-6mdk.i586.rpm.  Maybe that helps you find the right version of wine for you to use if you're having problems.

Preparation

First, install wine on your system.  This is distro specific, so I won't go into it here.  For Mandriva, it's a simple:

urpmi wine

if you're using another distro, contact me, and I'll try to help you get it installed if you're really stuck.  Now, run wine to create the directories:

wine

it will fail as you've not specified an application to run, but it'll have created all the relevant config, directories, etc. 

Installing Lotus Notes

What you have to do now, is all completely manual, and requires a working installation of Lotus Notes, running under Windows.  First, you have to remember and note where Lotus Notes is installed.  Sometimes, installations are like this:

c:\lotus

or:

c:\program files\lotus

Depending on which one you have, you have to make sure you follow the same setup in Linux, otherwise you'll have path problems!  For example, if using the c:\lotus directory in Windows, it should reside under wine like this:

~/.wine/drive_c/lotus

and if you installed under Program Files, then:

~/.wine/drive_c/Program\ Files/lotus

Now, copy mfc42.dll and msvcp60.dll to ~/.wine/drive_c/windows/system.  These are usually found in c:\windows\system32 or c:\winnt\system32 depending on your version of Windows (if really old version of Windows, then c:\windows\system).

The file permissions have to be reset to ensure the correct access, so:

chmod -R u+w,g+w ~/.wine/drive_c/lotus
chmod -R u+w,g+w ~/.wine/drive_c/Program\ Files/lotus

Check your lotus/notes/notes.ini file, and remove these sections:

AddinMenus=
EXTMGR_ADDINS=

you don't need them, and they cause problems.

On completion, you'll need to have your user.id file to hand for configuring Lotus Notes.  You'll also need to set up an icon (if using Crossover Office, this is done for you).  The parameters for the icon would be something like this:

wine "c:\program files\lotus\notes\nlnotes.exe"

it's perfectly fine and natural to specify the windows path, because you're using wine!  So don't use Linux style paths that lead to the Lotus Notes executable.

Icons

You can get some icons from here if you like to make it look nice:

personally, I prefer the second one :-)

Fonts

If you're having a problem with fonts, you need to copy some Windows fonts over.  Take a look in /etc/X11/fs/config file, and you should see a line similar to this:

/usr/X11R6/lib/X11/fonts/TTF

This is where X is configured to look for TTF fonts.  So, just copy your Windows fonts to this directory.  This is how I did it on my dual boot system with Windows XP and Mandriva 2006:

cp /mnt/windows/windows/fonts/* /usr/X11R6/lib/X11/fonts/TTF

You might need to restart X to ensure the fonts get activated.  And now you're all finished, and should have Lotus Notes running under wine.