Starting a Linux application for a windows file in wine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, 

This is my first post here, so please forgive me if a get some terms wrong!

I want to be able to use Linux applications to open files from within a windows application running under wine. Here's why, 

I have installed Ubuntu 8.04 and wine 0.9.61 using Synaptic. I have installed a very old PIM called infocentral that was originally created by Corel and which I have been using for the last 25 years or so. It allows you to create objects and links between objects within a database that is totally flexible. 

One of the things you can do is to connect files to people, ie a letter that you have sent to that person. When you double click that fie, Infocentral should open the appropriate application, say word, or excel or other.

Now, this being a Linux box, I don't have Microsoft office installed, so I thought I'll create registry entries to point to the OO equivalent found in the Linux directories, ie /usr/bin/oocalc etc.

I created and entry for .xls in HKEY_CLASSES_ROOT with the Data of Spreadsheet. I then created a key called Spreadsheet, subkey shell, subkey open with the command /usr/bin/oocalc %1.

This works up to a point,    

- when I click on a file in Infocentral (running under wine), oocalc now attempts to open and tries to open the file. The problem is that the name of the file is not passed to OO correctly, the %1 parameter should pass the names of the file to OO, it does but it is corrupted. it shows as, 

Z:/home/hilary/infocentraldata/myfiles/filename.xls.

OO shows an error message and then stops.

Obviously for Linux the Z:/ at the front is causing some trouble (I think). I also note that if there are spaces in the names of the directories or files this causes a problem, but this I can fix.

- if I leave off the %1 parameter from the registry open command, oocalc  opens with no problem but into a blank file. 

Any help on this would be greatly appreciated.

Regards

Hilary






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux