[Wine] Word 2007: file association
s710
wineforum-user at winehq.org
Tue Mar 10 06:16:19 CDT 2009
hello,
i successfully installed office 2007 with wine, following this guide/script:
http://linuxsagas.wordpress.com/2009/03/05/installing-office-2007-on-ubuntu/
now, what i would like to have is my file manager (pcmanfm) open .doc files with wine/word 2007. therefore i made a script that looks like this:
Code:
export WINEPREFIX=/PATH/TO/wine
wine /PATH/TO/WINWORD.EXE "$*"
and made the filemanager open doc files with this script. but somehow word wont open the selected file upon starting. running the script from command line, passing the (relative) filepath like this:
Code:
runword share/File\ name\,\with\,\ spaces\ and stuff.doc
works without problems; word 2007 comes up and opens the file.
I think the problem has to do something with spaces and commas in the filename. Someone knows how to solve this problem?
my wine version is 1.1.16 on ubuntu intrepid (32bit).
More information about the wine-users
mailing list