Wine - Path from MS based application to Linux application.
Wine - Path from MS based application to Linux application.
Hello:
As a relatively new (ie: full time) Linux user I have noticed that installing Wine in Linux is very straightforward.
It actually enabled me to install an MS based application that was a deal breaker keeping me from moving to Linux on a permanent basis: Pegasus Mail. =-)
Everything has worked quite well up to now, after I started using an older version of Mozilla Firefox but not installed through the official Devuan package.
In Pegasus Mail, I could point and click on a html link and the Firefox would load or, if already open, fetch that page.
But there's a provision for this in Pegasus Mail so that if it cannot 'find' the browser, you can put in a path to it in the configuration options for the application.
The problem is that I have been unable to figure out the correct path.
I'd appreciate it if someone could give me a hand with this.
Thanks in advance.
V.
As a relatively new (ie: full time) Linux user I have noticed that installing Wine in Linux is very straightforward.
It actually enabled me to install an MS based application that was a deal breaker keeping me from moving to Linux on a permanent basis: Pegasus Mail. =-)
Everything has worked quite well up to now, after I started using an older version of Mozilla Firefox but not installed through the official Devuan package.
In Pegasus Mail, I could point and click on a html link and the Firefox would load or, if already open, fetch that page.
But there's a provision for this in Pegasus Mail so that if it cannot 'find' the browser, you can put in a path to it in the configuration options for the application.
The problem is that I have been unable to figure out the correct path.
I'd appreciate it if someone could give me a hand with this.
Thanks in advance.
V.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
You should be able to use "Z:\bin\firefox" as path, assuming firefox is installed as /bin/firefox.
is that what you mean?
is that what you mean?
Re: Wine - Path from MS based application to Linux applicat
Hello:
It starts perfectly well from the panel icon in Devuan/Xfce with the /usr/local/firefox/firefox path so it is the correct destination but using the line command Z:\usr\local\firefox\firefox does not work.
Thanks for your input.
Cheers,
V.
The Firefox executable is in located in /usr/local/firefox/firefox so /bin/firefox is a broken link to an inexistent executable from a previous installation.DarkShadow44 wrote:You should be able to use "Z:\bin\firefox" as path, assuming firefox is installed as /bin/firefox ...
It starts perfectly well from the panel icon in Devuan/Xfce with the /usr/local/firefox/firefox path so it is the correct destination but using the line command Z:\usr\local\firefox\firefox does not work.
Yes.DarkShadow44 wrote:... is that what you mean?
Thanks for your input.
Cheers,
V.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
[quote="vine"]It starts perfectly well from the panel icon in Devuan/Xfce with the /usr/local/firefox/firefox path so it is the correct destination but using the line command Z:\usr\local\firefox\firefox does not work./quote]
Just to make clear, this only works inside wine. You can also try "start Z:\usr\local\firefox\firefox".
Just to make clear, this only works inside wine. You can also try "start Z:\usr\local\firefox\firefox".
Re: Wine - Path from MS based application to Linux applicat
Hello:
It's an MS based application (Pegasus Mail 4.7) running under Wine.
The path is the correct one.
ie: from Pegasus Mail I can go to Z:\usr\local\firefox\firefox.
Thanks for your input.
Cheers,
V.
Of course.DarkShadow44 wrote: Just to make clear ...
It's an MS based application (Pegasus Mail 4.7) running under Wine.
No. Won't do either.DarkShadow44 wrote:You can also try "start Z:\usr\local\firefox\firefox".
The path is the correct one.
ie: from Pegasus Mail I can go to Z:\usr\local\firefox\firefox.
Thanks for your input.
Cheers,
V.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
Going to "Tools->Options->Incoming Mail ->Hyperlinks", unchecking "Find browser automatically" and entering "Z:\usr\bin\firefox" works for me.
Re: Wine - Path from MS based application to Linux applicat
Hello:
That's how it used to work till I installed Firefox manually.
But not now.
In my case, when I click on a hyperlink in an email, the terminal opens and I can actually browse the web in a comamnd line environment (had never done that before).
Using the Use URLPROXY.EXE option does not work either.
And I don't think it is a permissions issue as I cann start it from the desktop.
Thank you for your input.
Best.,
V.
Indeed ...DarkShadow44 wrote:Going to "Tools->Options->Incoming Mail ->Hyperlinks", unchecking "Find browser automatically" and entering "Z:\usr\bin\firefox" works for me.
That's how it used to work till I installed Firefox manually.
But not now.
In my case, when I click on a hyperlink in an email, the terminal opens and I can actually browse the web in a comamnd line environment (had never done that before).
Using the Use URLPROXY.EXE option does not work either.
And I don't think it is a permissions issue as I cann start it from the desktop.
Thank you for your input.
Best.,
V.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
Seems more like a packaging issue than a wine issue to me then.
Does it still work with the official firefox? Maybe the manually installed firefox has a different start script. What's the contents of "/usr/local/firefox/firefox"?
Does it still work with the official firefox? Maybe the manually installed firefox has a different start script. What's the contents of "/usr/local/firefox/firefox"?
Re: Wine - Path from MS based application to Linux applicat
Hello:
But I never really thought it was a Wine issue.
I just want to know how (and may be useful for future reference, other applications running under Wine) to tell an MS based application to start a Linux based application.
In this specific case, how to tell Pegasus Mail, with the proper path, to find and execute Firefox.
It's either a syntax issue or a premissions issue, I have the idea that it is the first and not the latter.
But that's why I asked. =-)
But the latest Firefox is a POS, with all the dumb changes they have made wrt how the tabs and drop down menus behave.
So I looked for the last version that did not have those issues, downloaded from Mozilla and installed it manually.
Thanks for your input.
Cheers.,
V.
Indeed ...DarkShadow44 wrote: ... packaging issue than a wine issue ...
But I never really thought it was a Wine issue.
I just want to know how (and may be useful for future reference, other applications running under Wine) to tell an MS based application to start a Linux based application.
In this specific case, how to tell Pegasus Mail, with the proper path, to find and execute Firefox.
It's either a syntax issue or a premissions issue, I have the idea that it is the first and not the latter.
But that's why I asked. =-)
It did.DarkShadow44 wrote: Does it still work with the official firefox?
But the latest Firefox is a POS, with all the dumb changes they have made wrt how the tabs and drop down menus behave.
So I looked for the last version that did not have those issues, downloaded from Mozilla and installed it manually.
No idea.DarkShadow44 wrote: ... manually installed firefox has a different start script.
All this:DarkShadow44 wrote:What's the contents of "/usr/local/firefox/firefox"?
Code: Select all
groucho@devuan:~$ dir /usr/local/firefox/
Throbber-small.gif
dependentlibs.list
icons
libmozgtk.so
libnssdbm3.so
libssl3.so
precomplete
application.ini
firefox
icudt58l.dat
libmozsandbox.so
libnssutil3.so
libxul.so
removed-files
browser
libfreeblpriv3.chk
libmozsqlite3.so
libplc4.so
minidump-analyzer
run-mozilla.sh
chrome.manifest
firefox-bin
libfreeblpriv3.so
libnspr4.so
libplds4.so
omni.ja
update-settings.ini
crashreporter
fonts
liblgpllibs.so
libnss3.so
libsmime3.so
pingsender
updater
crashreporter.ini
gmp-clearkey
libmozavcodec.so
libnssckbi.so
libsoftokn3.chk
platform.ini
updater.ini
defaults
gtk2
libmozavutil.so
libnssdbm3.chk
libsoftokn3.so
plugin-container
groucho@devuan:~$
Cheers.,
V.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
Not the folder, I meant into the firefox script itself.
Re: Wine - Path from MS based application to Linux applicat
Hello:
/usr/local/firefox//firefox is an executable, not a script.
Am I missing something?
Thanks for your input.
Cheers,
V,
I was wondering about that.DarkShadow44 wrote:Not the folder, I meant into the firefox script itself.
/usr/local/firefox//firefox is an executable, not a script.
Am I missing something?
Thanks for your input.
Cheers,
V,
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
Well, on my system firefox is a helper script that starts up firefox - maybe your manually installed version is different. Don't quite know how to debug that over a distance, would need to be able to reproduce it to help. How'd you install the firefox manually?
Re: Wine - Path from MS based application to Linux applicat
Hello:
And that script would be called firefox.sh and be located elsewhere?
ie: not in /usr/bin.
This unpacked a into a folder called Firefox which I placed in /usr/local.
I then made a link to the executable. This was according to instructions I found on a Mozilla web page. (cannot find the link)
Now, this folder does have a script but it is called run-mozilla.sh.
Would that be the helper script you are referring to?
Thank you very much for taking the time to write about this.
Cheers,
V.
OK.DarkShadow44 wrote: ... on my system firefox is a helper script that starts up firefox ...
And that script would be called firefox.sh and be located elsewhere?
ie: not in /usr/bin.
It's different in that it is not the latest verion, for the motives stated previously. (it's 55.0.3 64bit)DarkShadow44 wrote: ... maybe your manually installed version is different.
IIRC, after running a few versions of Firefox , the type that can be run independently from the desktop with no installation and finding the last version that was not screwed up by Mozilla, I downloaded the file from the ftp site at https://ftp.mozilla.org/pub/firefox/rel ... _64/en-US/.DarkShadow44 wrote:... would need to be able to reproduce it to help. How'd you install the firefox manually?
This unpacked a into a folder called Firefox which I placed in /usr/local.
I then made a link to the executable. This was according to instructions I found on a Mozilla web page. (cannot find the link)
Now, this folder does have a script but it is called run-mozilla.sh.
Would that be the helper script you are referring to?
Thank you very much for taking the time to write about this.
Cheers,
V.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
The problem is indeed, that that version of firefox can only be started when the working directory is right.
Make a linux script somewhere, with the following content:
Make sure to mark the script as executable! Then place the script somewhere, and in the mail program enter (for example) Z:\home\fabian\myFirefoxStartScript.sh" (your path, ofc).
This makes it work.
Make a linux script somewhere, with the following content:
Code: Select all
#!/bin/bash
cd /usr/local/firefox && ./firefox $1
This makes it work.
Re: Wine - Path from MS based application to Linux applicat
Hello:
I searched all over but that did not come up anywhere.
Thank you so much for the time you've devoted to helping me with this, really appreciate it.
More so if you take into account that it was not a Wine issue but a Firefox thing which should be documented somewhere.
Hopefully this thread will be of help to others.
Cheers,
V.
I see ...DarkShadow44 wrote:The problem is indeed, that that version of firefox can only be started when the working directory is right.
I searched all over but that did not come up anywhere.
Done.DarkShadow44 wrote: Make a linux script somewhere ...
... mark the script as executable!
... place the script somewhere, and in the mail program enter (for example) Z:\home ...
Yes !!! It works perfectly well. =-)DarkShadow44 wrote:... makes it work.
Thank you so much for the time you've devoted to helping me with this, really appreciate it.
More so if you take into account that it was not a Wine issue but a Firefox thing which should be documented somewhere.
Hopefully this thread will be of help to others.
Cheers,
V.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Wine - Path from MS based application to Linux applicat
I always start wine programs from the terminal, the error message from firefox was printed into the console. But yes, it's very easy to miss, I did so too for quite a while. Glad to help!