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