Blog EntryRunning openoffice linux from wineMar 22, '07 6:12 AM
for everyone
I think I ever wrote the scripts about how to run or link the files from wine to execute using application from the linux box, I put somewhere in this site, but I'm not sure where is the files. Here I re-create the script to run openoffice in native linux from wine application:

#!/bin/bash
m=$1
n=${m//'\'/'/'}
n='/home/iip/.wine/drive_c/'${n:3}
openoffice.org-2.1 "$n"

That's it.

Put the file in ~/.wine/drive_c/windows, and save as office.exe. When you try click document files from wine, choose c:/windows/office.exe to run and tag "always run with this program".

I think there are some better ways than this one.





1 Comment
iipx wrote on May 2, '07
script above only work in C: drive, this one is better:

#!/bin/bash
m=$1
n=$(winepath "$m")
openoffice.org-2.1 "$n"

:)
Add a Comment
   
© 2008 Multiply, Inc.    About · Blog · Terms · Privacy · Corp Info · Contact Us · Help