Trying to get Windows Firefox to work with Mint 13 KDE

Questions about applications and software
Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Sun Nov 04, 2012 4:47 pm

Trying to get Windows Firefox to work with Mint 13 KDE

Postby david0858 » Sun Nov 04, 2012 5:49 pm

I'm using 64bit Mint 13 KDE and I have Firefox 16.02 on both Mint and Windows using the same profile (/media/truecrypt1/Firefox/Profiles in Mint and j:\Firefox\Profiles in Windows) and it works fine. What I would like to do is run Windows Firefox with Mint from a launcher with this profile and I can't get it to work.

I am using Forte Agent (a Windows program that has worked under Wine for years and my outbox goes back to '96 so I'm not changing programs) for email and news groups. I have set my Windows drives to the same drive letters in Wine (j:\ in Windows is J:\ in Wine and is /media/truecrypt1). If I click on a link in Agent it runs "J:\Firefox\firefox.exe -profile J:\Firefox\Profiles" which loads and runs the Windows Firefox just fine so I know it WILL work.

This is the only way I can get the Windows Firefox with the profile I want to work, though. No combination I can come up with on a launcher will work. I either get a bad profile name error or it loads a generic profle.

What do I need for the launcher command? :?:

User avatar
Level 18
Level 18
Posts: 8174
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Trying to get Windows Firefox to work with Mint 13 KDE

Postby karlchen » Tue Nov 06, 2012 6:17 pm

Hello, david0858.

The commandline which you are trying to launch

Code: Select all

J:\Firefox\firefox.exe -profile J:\Firefox\Profiles
syntactically is a Windows commandline. Only Wine can understand it. Therefore for the Linux launcher, you will have to transform it to a commandline which launches wine. Pass the Windows commandline to Wine as its commandline argument.

Code: Select all

env WINEPREFIX="/home/david0858/.wine" wine J:\\Firefox\\firefox.exe -profile J:\\Firefox\\Profiles

You will have to correct the value of the variable WINEPREFIX to match your real environment.
Note the double backslashes. They are required in order to hide the backslashes in the Windows pathnames from the Linux shell.

Though I hope you will succeed in creating a functional launcher, I really fail to see any advantage in launching Windows Firefox via Wine over using the genuine Linux Firefox. :? OK, but this is your decision.
I simply use the sync service buitl-in to Firefox in order to keep all my Firefox profiles scattered across several Windows and Linux system synchronized.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

User avatar
Level 13
Level 13
Posts: 4827
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Trying to get Windows Firefox to work with Mint 13 KDE

Postby Flemur » Tue Nov 06, 2012 7:05 pm

Here's the code I use to open files (either "$foobar filename" or with thunar, etc) on a linux FS with foobar running under wine:

Code: Select all


PARAM=`winepath -w "$*"`
exit 0

You can probably hack that to provide the profile location; try the linux location first, like the "open" from, say thunar, would do...I think.
It's just an executable text file called "foobar", in my PATH.
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Return to “Software & Applications”