<br><font size=2 face="sans-serif">Hi!</font>
<br>
<br><font size=2 face="sans-serif">I tried those steps but I ran into a
strange problem. Whenever I started my notes client in wine, my system.reg
- file was some kind of reset. alle changes, which were made are lost.
How can I disable that?</font>
<br><font size=2 face="sans-serif">I do not find any global config-files
on my system. I use some kind of outdated version of wine, becaus Notes
6.5.1 did not run on my other testinstallations.</font>
<br><font size=2 face="sans-serif">So how can I disable this rewriting
of my configuration and where should I put global config-files?</font>
<br>
<br><font size=2 face="sans-serif">Thanks in Advance!</font>
<br><font size=2 face="sans-serif">Andy</font>
<br><font size=2 face="sans-serif">----------------------------------------------------------------------------<br>
| Andreas Sumper<br>
| Project Management / Security / Administration<br>
|<br>
| nimbus Development IT Consulting GmbH<br>
| we unleash the power of domino <br>
| <br>
| Annenstrasse 30/1<br>
| 8020 Graz<br>
| Tel.: +43 (0) 316 714 255 -&gt; DW 18<br>
| Fax: +43 (0) 316 714 255 -&gt; DW 4<br>
| http://www.nimbus.at/<br>
----------------------------------------------------------------------------<br>
| sent through Lotus Notes 6.5.1 <br>
| using wine on a linux box</font>
<br>
<br><font size=2><tt>wine-users-admin@winehq.org wrote on 08/06/2005 07:01:23
PM:<br>
<br>
&gt; <br>
&gt; Hi Shadi, <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I'm also using notes 5.0.12 and I've posted
at May,05-2005 a<br>
&gt; message just talking about how to start Linux apps from a Windows
<br>
&gt; app over/under Wine. The only problem is that I'm not using <br>
&gt; wine-20050524 ... 8-(. Instead I'm using 20040813. <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Follows the message. Feel free to ask
me more questions and <br>
&gt; if you want I can send to you another types of scripts. <br>
&gt; <br>
&gt; Regards. Ulisses Penna <br>
&gt; <br>
&gt; ==================================== <br>
&gt; Hi Rainer, <br>
&gt; <br>
&gt; &gt; i have running lotus notes under wine on my redhat 9 system.
<br>
&gt; <br>
&gt; So am I, since year 2001 &nbsp;;) <br>
&gt; <br>
&gt; &gt; what i want is, to define which application should be started
for<br>
&gt; &gt; which attachment type. so for microsoft attachments i want to
start<br>
&gt; &gt; my linux version of open office and for pdf files i want also
to start<br>
&gt; &gt; my linux version of acrobat reader or xpdf!<br>
&gt; &gt; <br>
&gt; &gt; so, where do i have to configure this stuff?<br>
&gt; &gt; <br>
&gt; <br>
&gt; OK, It's possible and works very fine when you right-click at the
<br>
&gt; document. See below. <br>
&gt; &nbsp;<br>
&gt; I did the following 2 steps: <br>
&gt; <br>
&gt; 1) put an entry at the ~/.wine/system.reg like this (example): <br>
&gt; ------------------------ 8&lt; -------------------------------- <br>
&gt; [Software\\Classes\\.pdf] 1051470000 <br>
&gt; @=&quot;acroread.pdf&quot; <br>
&gt; <br>
&gt; [Software\\Classes\\acroread.pdf] 1051470000 <br>
&gt; @=&quot;Documento Adobe PDF&quot; <br>
&gt; <br>
&gt; [Software\\Classes\\acroread.pdf\\DefaultIcon] 1051470000 <br>
&gt; @=&quot;C:\\Program Files\\Acroread\\acroread.exe,1&quot; <br>
&gt; <br>
&gt; [Software\\Classes\\acroread.pdf\\shell] 1051470000 <br>
&gt; @=&quot;open&quot; <br>
&gt; <br>
&gt; [Software\\Classes\\acroread.pdf\\shell\\open\\command] 1051470000
<br>
&gt; @=&quot;\&quot;C:\\Program Files\\Acroread\\acroread.exe\&quot; \&quot;%1\&quot;&quot;
<br>
&gt; ---------------------- 8&lt; --------------------------------- <br>
&gt; <br>
&gt; 2) the linux &quot;executable&quot; acroread.exe *must* be placed
at the above<br>
&gt; dir: &quot;C:\Program Files\Acroread&quot;. The linux &quot;executable&quot;
is a shell <br>
&gt; script so you can do anything you like from now on ;). Follows an
example: <br>
&gt; ---------------------- 8&lt; --------------------------------- <br>
&gt; #!/bin/sh <br>
&gt; <br>
&gt; #set -x <br>
&gt; mkdir -p &quot;$HOME/tmp&quot; <br>
&gt; LOG=&quot;$HOME/tmp/acroread.exe-log.`id -u -n`&quot; <br>
&gt; echo &quot;Arguments received: $@&quot; &gt; $LOG <br>
&gt; # <br>
&gt; RESULT=`winepath &quot;$@&quot; 2&gt; /dev/null` <br>
&gt; echo &quot;/usr/local/bin/acroread $RESULT&quot; &gt;&gt; $LOG <br>
&gt; TMP=$TMPDIR ; TEMP=$TMPDIR ; /usr/local/bin/acroread &quot;$RESULT&quot;
<br>
&gt; # removing the temporary file <br>
&gt; rm -f &quot;$RESULT&quot; <br>
&gt; ---------------------- 8&lt; --------------------------------- <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I already have system.reg entries for
various extensions <br>
&gt; (DOC, SXW, XLS, SXC, ZIP, HTM, JPG, etc) and their respectives &quot;executables&quot;.
<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; You have to be careful with some tricks
like the $TMP and <br>
&gt; $TMPDIR that are modified by wine. <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; You can have lots of informations if you
put at the end of <br>
&gt; the &quot;executable&quot; script an entry like: &quot;env &gt;&gt;
$LOG&quot; to see the <br>
&gt; environment variables and anything you like. <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; If this helps I'd like to know because
we can exchange new <br>
&gt; &quot;executables&quot; for other extensios (mimes)/entries. <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; One more tip for lotus notes. You can
also modify your <br>
&gt; browser settings in order to start a linux browser when you get a
<br>
&gt; HTTP link at the email. My notes is in portuguese (brazilian) so I'm<br>
&gt; figuring out the path/location of the parameters in english .... you<br>
&gt; have to choose (at the right side at the end of the notes window)
<br>
&gt; something like: Office-&gt;Edit current-&gt;Internet browser. At the
<br>
&gt; &quot;internet browser&quot; choose &quot;Other&quot; and then navigate
through the file<br>
&gt; system in order to find the &quot;mozilla.exe&quot; shell script below
(put it<br>
&gt; somewhere else). There is no need for a system.reg entry. <br>
&gt; <br>
&gt; mozilla.exe <br>
&gt; ---------------------- 8&lt; --------------------------------- <br>
&gt; #!/bin/sh <br>
&gt; <br>
&gt; #set -x <br>
&gt; mkdir -p &quot;$HOME/tmp&quot; <br>
&gt; LOG=&quot;$HOME/tmp/mozilla.exe-log.`id -u -n`&quot; <br>
&gt; echo &quot;Arguments received: $@&quot; &gt; $LOG <br>
&gt; MOZILLA_BIN=&quot;/usr/bin/mozilla&quot; <br>
&gt; LANG=en $MOZILLA_BIN -remote &quot;ping()&quot; 2&gt;&amp;1 | grep
&quot;No running&quot; &gt;&gt; $LOG 2&gt;&amp;1 <br>
&gt; if [ $? != 0 ] ; then <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;Calling: $MOZILLA_BIN -remote
<br>
&gt; \&quot;openurl(\&quot;$RESULTADO\&quot;, new-window)\&quot;&quot;
&gt;&gt; $LOG <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $MOZILLA_BIN -remote &quot;openurl($RESULTADO,
new-window)&quot; <br>
&gt; else <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;Calling: $MOZILLA_BIN \&quot;$RESULTADO\&quot;&quot;
&gt;&gt; $LOG <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $MOZILLA_BIN &quot;$RESULTADO&quot; <br>
&gt; fi <br>
&gt; ---------------------- 8&lt; --------------------------------- <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I have a more sofisticated mozilla.exe
script. If you want, <br>
&gt; please let me know. <br>
&gt; <br>
&gt; Hope this helps. Regards. <br>
&gt; ---------------------------------------------------------<br>
&gt; Ulisses de Sousa Penna<br>
&gt; Analista Consultor - Banco do Brasil<br>
&gt; Fone: +55-61-310-6320 &nbsp; Fax: +55-61-310-6435<br>
&gt; ---------------------------------------------------------</tt></font>