Word 2007 under Wine crashes when changing a font

In my previous post I noted that “… Word, Excel and PowerPoint… ran more-or-less flawlessly…” in Office 2007 installed under Wine. The more-or-less qualifier was because I still had an issue trying to change the default Calibri font to Times New Roman. In particular, this caused Word to crash with the error message: “Microsoft Word has encountered a problem and needs to close”.

This is a result of a long-standing bug (Bug #37390) in Wine. By default, Mint provides Version 1.6.2 of Wine; however, later versions still seem to be subject to the same bug. In particular, Mosaab Alzoubi, on 2017-01-01, noted in a comment on this bug report that the bug was “Still in Wine 2.0 rc2”.

Now, my problem, is that (a) I never use the default Calibri font, and (b) I use Time New Roman extensively. So, how can I make the switch to Times New Roman in my documents?

My workaround was to replace the default document template (Normal.dotm) in Linux with the template file extracted from my Windows installation. The latter has Times New Roman set as the default font so that any new documents use my preferred font. With this template available in Linux, I have no need to change the font and hence I can avoid the crash!

The template files are buried deep in the file structure. In Windows, Normal.dotm can be found at:

C:\Users\{user name}\AppData\Roaming\Microsoft\Template

I made a copy of this file and stored it in the Linux folder:

/home/{user name}/.PlayOnLinux/wineprefix/Office2007/drive_c/users/{user name}/Application Data/Microsoft/Templates

(Clearly, in the above folder locations, {user name} should be replaced by your actual user name for either Windows or Linux as appropriate.)

Now, on my Linux system, when Word is launched, 12 pt Times New Roman is set as the default font.

The other, fairly good news is that Word doesn’t seem to mind me switching to a number of other fonts, such as Courier New or Comic Sans MS. The trick here is to only change the font away from Times New Roman if you are certain this is what you want to do. Word will crash if you change the font and then try to change the text back to Times New Roman!


Office 2007 and Wine Revisited

Word 2007: crashes when choosing a font

Change the Normal template (Normal.dotm )

Posted in Applications, Mint, Tweaks, Windows, Wine | Leave a comment

Office 2007 and Wine Revisited

As noted in the previous two posts, installing and running Microsoft Office 2007 in Linux can be fraught with difficulties. While the earlier posts attempt to resolve some of the problems, it turns out that there is a better mousetrap – PlayOnLinux.
Continue reading

Posted in Applications, Installation, Mint, Windows, Wine | Tagged | Leave a comment

PowerPoint 2007 fails to launch in 64-bit Linux Mint 18.1

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.
Continue reading

Posted in Applications, Commands, Mint, Tweaks, Windows, Wine | Tagged , | Leave a comment

Installing Microsoft Office 2007 in 64-bit Linux Mint 18.1

I found it simple to install Office 2007 in Linux Mint under Wine. However, when I ran Word, intending to open an existing file, I immediately received the error message “Word cannot open this document template (C:\users\…\1033\Building Blocks.dotx)”. Ignoring this error, and continuing to try to open my file resulted in things going from bad to worse, with multiple messages about unreadable content, file errors, and features needing repair. I found this odd because I had previously installed and used the same package under Linux on an older laptop computer. It turned out that it was the new computer that was the problem!
Continue reading

Posted in Applications, Commands, Installation, Mint, Windows, Wine | Tagged , | Leave a comment

Android Programming

Have you ever wondered how all those Android apps are produced? Would you like to be able to create one of your very own? If so, you need Android Studio, an integrated development environment (IDE) for Android programming, from Google.
Continue reading

Posted in Android | Tagged , , | Leave a comment

Big Brother and Window Control Placement

Several years ago I found out how to switch the window controls from the left side to the right side of an active window. Now, it appears that the developers of the Unity desktop Ubuntu Linux have eliminated this option.
Continue reading

Posted in Mint, Tweaks, Ubuntu | Tagged , | Leave a comment

Running a bash script in a program launcher

I have always included a “read” command at the end of a bash script if I wanted to pause the script, and keep the terminal window open, after the pre-programmed command sequence terminated. Recently, instead of running a script by double-clicking inside the file manager, I tried to run it using a program launcher. I double-clicked on the desktop icon for the launcher, but nothing seemed to happen. The terminal window that would normally display the results of the script’s commands never opened. It turns out that one needs to take additional steps to see what is happening when using a program launcher.
Continue reading

Posted in Bash script, Mint | Tagged , | Leave a comment