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