As noted in the previous post, after installing Microsoft Office 2007 on a machine running Wine under 64-bit Linux Mint, Word and Excel ran fine, but PowerPoint failed to launch. Two further tweaks are necessary to get PowerPoint 2007 to run.
|Update – PlayOnLinux provides an easier – and more robust – installation method for Office 2007. See: Office 2007 and Wine Revisited|
First, navigate to Menu – Wine – Configure Wine to launch the Wine configuration utility (winecfg). Select the “Libraries” tab and, in the box labelled “New override for library”, use the drop-down menu to select the entry for “riched20”. Press the “Add” button and “riched20 (native, builtin)” will be displayed in the box labelled “Existing overrides”. Press the “Edit” button and select the radio button labelled “Native (Windows)”. The existing override will now appear as “riched20 (native)”.
Attempting to launch PowerPoint from Menu – Other – Microsoft Office PowerPoint 2007 still fails. The second “tweak” is to launch PowerPoint through the Terminal command:
wine “$HOME/.wine/drive_c32/drive_c/Program Files/Microsoft Office/Office12/POWERPNT.EXE”
Note that the “drive_c32” portion of this command string refers to the 32-bit wineprefix that was established as described in the previous post (Installing Microsoft Office 2007 in 64-bit Linux Mint 18.1).
I find it more convenient to establish a program launcher for PowerPoint (and similar launchers for Word and Excel) simply by right-clicking on the desktop, and selecting “Create Launcher”. Enter “PowerPoint” as the “Name”, then click on “Browse” and navigate to “/home/toaster/.wine/drive_c32/drive_c/Program Files/Microsoft Office/Office12/POWERPNT.EXE”. Press “OK” and – bingo – a brand new desktop icon that launches PowerPoint.
But, wait! The icon is the default “spring” and, if we don’t change this, Word, Excel and PowerPoint will all use the same desktop icon. The trick is to locate an MS Office icon that we can substitute. I found a suitable source on Scott Savage’s Blog (thanks Scott). Packaged in a ZIP file, which can readily be downloaded, icons such as powerpoint.ico (a 48×48 pixel ico file) can be extracted for use.
However, ico files do not appear to be useful directly in Linux program launchers. One solution is to use Gimp to open the ico file and export it to a png file (e.g. powerpoint.png). Now, right-click on the PowerPoint desktop icon, left-click on the spring icon, navigate to the storage location for powerpoint.png, select this image, and press “Open”. The icon image will change to that for PowerPoint. Press “OK” and now you really do have a brand new PowerPoint icon with which to load the program.
How to Install MS Office 2007 on Linux using Wine
Download Office 2007 Icons