My first post.<br><br>Fun Wine Project -- Configure Some Default Registry Entries<br><br>I&#39;ve begun working on this to import some native calls into wine.&nbsp; More specifically, OpenOffice.org.&nbsp; I&#39;m trying to get Lotus Notes attachments to display proper icons, and open natively with OOo.<br>
<br>I&#39;ve come across a dilemma. I can&#39;t seem to &quot;easily&quot; open a Windows path, i.e. &quot;C:\Windows\temp\test.doc&quot; with openoffice due to path issues.<br><br>I&#39;ve implemented a very small fix called &quot;winelaunch&quot;, but I&#39;m afraid the name is too close to &quot;winelauncher&quot;, and would probably confuse people.&nbsp; Here&#39;s it&#39;s code:<br>
<br>&nbsp;&nbsp; #!/bin/sh<br>&nbsp;&nbsp; #/usr/bin/winelaunch<br>&nbsp;&nbsp; $1 `winepath $2 $3`;<br>&nbsp;&nbsp; exit 1;<br><br>And here&#39;s a sample registry entry:<br><br>&nbsp;&nbsp; REGEDIT4
<br>&nbsp;<br>&nbsp;&nbsp; [HKEY_CLASSES_ROOT\.doc]
<br>&nbsp;&nbsp; @=&quot;docfile&quot;
<br>&nbsp;&nbsp; &quot;Content Type&quot;=&quot;application/ooowriter&quot;<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; [HKEY_CLASSES_ROOT\docfile]
<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp; [HKEY_CLASSES_ROOT\docfile\shell]
<br><div id="1ey7" class="ArwC7c ckChnd">&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp; [HKEY_CLASSES_ROOT\docfile\shell\open]
<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp; [HKEY_CLASSES_ROOT\docfile\shell\open\command]<br>&nbsp;&nbsp; @=&quot;/usr/bin/winelaunch /usr/bin/openoffice %1&quot;<br><br>Although icons don&#39;t display properly, it does open the attachment in Lotus Notes.<br>
<br>Cheers.<br><br>-Tres<br></div>-- <br>- <a href="mailto:Tres.Finocchiaro@gmail.com">Tres.Finocchiaro@gmail.com</a>