lunedì 4 gennaio 2010

How associating .doc documents to Microsoft Word on Ubuntu Karmic 9.10

Create a script wherever you want:

#!/bin/bash
env WINEPREFIX="~/.wine" wine "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" "`winepath -w "$@"`"


call it "Microsoft Word 20xx" and make it executable. Go back to a .doc file, right
click --> Open with --> select the script. Voilà!

Regards.