tag:tenfourfox.tenderapp.com,2012-01-07:/discussions/problems/529-unable-to-use-profile-managerTenFourFox: Discussion 2015-09-27T10:00:09Ztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-17T22:40:27Z2013-12-17T22:40:27ZUnable to use Profile Manager<div><p>Although this is an annoyance and I want to fix it, there are
higher priority things I need to do to keep the port viable. Anyone
who has a fix is of course welcome to submit it; otherwise it's
when I get down to it in my priority list.</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-18T02:10:32Z2013-12-18T02:31:46ZUnable to use Profile Manager<div><p>Sure, completely understand, and thanks for the really great
work with TFF.</p>
<p>Any idea what that guy who reported the bug meant about having
been able to do this using "the command line parameter
-CreateProfile?" Do you know how I would go about using this?</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-18T03:20:57Z2013-12-18T03:20:57ZUnable to use Profile Manager<div><p>Yes, it's a valid command line parameter. You would do it from
Terminal.app. Here is a list of Firefox command line parameters
that should almost all apply to TenFourFox:</p>
<p><a href=
"http://kb.mozillazine.org/Command_line_arguments">http://kb.mozillazine.org/Command_line_arguments</a></p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-18T13:58:18Z2013-12-18T13:58:18ZUnable to use Profile Manager<div><p>Thanks. I already have a profile established for the new 24.0.2,
so, then, is there a way to use the -CreateProfile command to
establish a profile to be associated only with the 17.0.11 (as
described in my original post)?</p>
<p>Until I discovered that the PM was broken in TFF, I was trying
to achieve the goals, including the automatic linking of profiles
to versions, as outlined in this article.<br>
<a href=
"http://blog.jasoncust.com/2010/04/osx-106-running-multiple-versions-of.html">
http://blog.jasoncust.com/2010/04/osx-106-running-multiple-versions...</a></p>
<p>Can the -CreateProfile command be used to accomplish this? And
if not, can you tell me how it might be used? Since the Manager
won't work, there won't be any way to select a profile from the
Manager before opening a specific TFF version. In other words, can
the -CreateProfile command be used as a workaround for this desired
scenario?</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-18T16:40:20Z2013-12-18T16:41:03ZUnable to use Profile Manager<div><p>-CreateProfile creates a profile with a given identifier, as the
name suggests. On the page I linked is the -P option, which starts
the browser with a specific profile as identified.</p>
<p>The method on the page you linked, however, is based on old
versions of Firefox where the application bundle executable was
actually a shell script that ran the main Firefox. This has not
been the case in Firefox or TenFourFox since at least version 10.
You could delete the Contents/MacOS/firefox binary and replace it
with an executable shell script, but I really don't recommend that
approach and I don't support it -- and neither does Mozilla.</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-18T16:50:40Z2013-12-18T16:50:40ZUnable to use Profile Manager<div><p>Bottom line then, is there any way I can get this done? Since my
use of the 17.0.11 will be very occasional, I'd just like to have
it on hand with its associated profile. Apart from that, I suppose
I can just backup the 24.x profile, move it out somewhere, and
stick the 17.x profile where it belongs and then launch the 17.x.
But that's the awkwardness was trying to avoid.</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-18T16:55:10Z2013-12-18T16:55:10ZUnable to use Profile Manager<div><p>If you want to do it exactly like the page you linked has, it
may or may not work. You're on your own with that.</p>
<p>Otherwise, you use -CreateProfile to create the profile, and to
start the browser, you would have to start it from the command line
with the -P option to indicate which profile you want. This is just
like the Profile Manager, except without the GUI, which is the part
that doesn't work yet. I can't give you the exact commands, because
I don't know the names of the profiles on your system and where
they are stored, and the paths to your TenFourFox installations.
However, this should work.</p>
<p>If this is simply a matter of needing to run Flash on certain
sites, you may simply be better served by using a different browser
entirely for those specific sites. OmniWeb would be my personal
choice for that, or possibly iCab or Leopard WebKit.</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-18T21:33:54Z2013-12-18T21:35:26ZUnable to use Profile Manager<div><p>Seems I need a bit of help with the command.</p>
<p>Testing from my 10.6 with Firefox and its current profile,
doesn't look like this is understood with this mix of Unix for the
path and the Fx command line.</p>
<p>/Applications/Firefox.app -P ~/Library/Application\
Support/Firefox/Profiles/4xotrpre.default</p>
<p>I get<br>
-bash: /Applications/Firefox.app: is a directory</p>
<p>OmniWeb looks interesting, but it hasn't been updated since
7/12. I realize that the TFF 17.x will also become stale, but for
now it's still recently patched.</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-19T13:11:41Z2013-12-19T13:11:41ZUnable to use Profile Manager<div><p>You don't run Firefox.app, you run
/Applications/Firefox.app/Contents/MacOS/firefox. (The same for
TenFourFox; and yes, it's also called 'firefox' too.) Application
bundles are not directly executable, which is why bash gave you
that error.</p>
<p>Similarly, -P is the profile name. In this case, it's "default".
When you use -CreateProfile to create the profile, you give it a
name; you pass that name to -P.</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-19T13:29:46Z2013-12-19T14:08:56ZUnable to use Profile Manager<div><p>OK, got it. I wasn't giving the executable. But still confused
about the second part of the argument, where it tells which profile
to open.</p>
<p><em>you pass that name to -P.</em></p>
<p>Not sure I understand that. It's <em>-P default</em> ?</p>
<p>So, given that there's already a profile, default, established
here, what does the full command look like for this test
situation?</p>
<p>Is it?</p>
<p>/Applications/Firefox.app/Contents/MacOS/firefox...and then
what? ~/Library/Application\ Support/Firefox -P default ?</p>
<p>Or is the second half</p>
<p>-P default ~/Library/Application\ Support/Firefox ?</p>
<p>Or none of those?</p>
<p>Also, I already have a profile (from a backup of the 17.x) which
I would use instead of creating a new profile. Where does that go?
To avoid having to always open the 24.x from the command line, I
would like to continue running the 24.x as is. If I were to stick
the 17.x profile somewhere outside of its usual location in
~/Library/Application\ Support/Firefox, would the 17.x app be able
to find it from the path I give, which would not be the usual
location? Or do I have to run both versions now, specifying the
names and path (which would be the same (if both are in
/Firefox/Application\ Support) of their profiles, from the command
line?</p>
<p>EDIT: Sorry to be dragging this out and probably taking you away
from more important work, but this may help someone else who needs
to figure this out down the road.</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-19T14:57:54Z2013-12-19T14:57:54ZUnable to use Profile Manager<div><p>Just for general understanding or to add a data point: I'm able
to use<br>
/Applications/TenFourFox7450.app/Contents/MacOS/firefox-bin -p and
then use the GUI profile manager without a problem to create new
profiles (TFF 24 on 10.5). The problem seems to exist only on 10.4.
Right?</p></div>Chris (chtrusch)tag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-19T15:16:40Z2013-12-19T15:16:40ZUnable to use Profile Manager<div><p>Yes, I'm having the problem on 10.4.</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-20T18:41:16Z2013-12-20T18:41:16ZUnable to use Profile Manager<div><p>Whenever anyone who can help with this has the time to reply,
that would be appreciated. Right now, I'm stuck. Thanks.</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-20T20:19:31Z2013-12-20T20:42:51ZUnable to use Profile Manager<div><p>[I edited this post to simplify the steps] I can't help you with
the Terminal commands, but you can use a workaround to create a new
profile manually. It's a bit complicated but it works on 10.4, I
just tested it.</p>
<p>1) close TFF (and backup the complete Firefox folder in
Application Support just in case.)<br>
2) in the Terminal, type<br>
/Applications/TenFourFox7450.app/Contents/MacOS/firefox-bin -p (use
the correct processor version of TFF, of course) 3) The Profile
Manager should open. Remove the tick "Don't ask at startup". This
should work, it's only the "Create…" sheet that makes it
unresponsive, which we don't need here. Then click "Exit".<br>
4) in the Finder, go to<br>
~Users/[your username]/Library/Application Support/Firefox/Profiles
5) duplicate your existing profile folder (will be named something
like "ldshksdjh.default") and rename the duplicate "blabla.test" or
whatever you like.<br>
6) in the Firefox folder, there's a file called "profiles.ini".
Open it with TextEdit (make sure it's set to open and save in
UTF-8) and edit it to represent the second profile (see below for
example), then save the file.<br>
7) start TFF from the Dock or Finder. You can now use the browser
normally, and also use the Profile Manager normally to create or
manage profiles because it's started from TFF and not from the
Terminal.</p>
<p>Good luck.</p>
<p>-------- profile.ini example-----------</p>
<p>[General] StartWithLastProfile=1</p>
<p>[Profile0] Name=default<br>
IsRelative=1<br>
Path=Profiles/0vjw5efd.default</p>
<p>[Profile1] Name=test<br>
IsRelative=1<br>
Path=Profiles/blabla.test<br>
-------- /profile.ini example-----------</p></div>Chris (chtrusch)tag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-20T21:08:29Z2013-12-20T22:00:08ZUnable to use Profile Manager<div><p>Thanks very much Chris, really appreciate the help with this.
I'll get into this and see what it looks like the next time I boot
up the old G3. But will this mean having to start up from the
Profile Manager each time I open the TFF 24, which I'll mostly be
using?</p>
<p>I don't need the PM in order to create a new profile, since I've
already got one backed up from the 17. Just need it to manage what
version starts up with which profile. Anyway, maybe this will all
become clear as I get into it.</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-20T22:15:43Z2013-12-20T22:15:43ZUnable to use Profile Manager<div><p>If you have different profiles and different versions of TFF,
you need to use the Profile Manager at every startup. You need to
be very careful not to start a very old TFF version with your
24-profile and vice versa because the profile may become
damaged.</p>
<p>If you already have two profiles which the Profile Manager
recognizes, you can leave out steps 4-6.</p></div>Chris (chtrusch)tag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-20T22:32:38Z2013-12-20T22:34:25ZUnable to use Profile Manager<div><p>Yeah, l'm aware of that. That's why I was interested in using
the method I linked above, which would automatically set the
correct profile to the version. But apparently that's no longer
valid. I'd love to know if there's some other way. That's why I was
asking if I could open only the older 17, which won't see much use,
from the command line, placing its profile somewhere other than in
the regular location in Application Support, and continue opening
the 24 as is. That way the two profiles wouldn't get confused.
Would Firefox, or TFF be able to find it outside of the Firefox
folder, from the path in the command I would use? That is, if I
could only figure out how to write the rest of that command in a
way that Fx or TFF would understand--don't mean the path, that I
know how to write.</p></div>mozzztag:tenfourfox.tenderapp.com,2012-01-07:Comment/306129442013-12-21T07:28:03Z2013-12-21T07:28:03ZUnable to use Profile Manager<div><p>As I said, I can't help you with the command line because I
don't understand what the commands do or which arguments are
required and what they do. I was mainly trying to give you a
workaround to get a functioning GUI Profile Manager on 10.4 until
our bug is fixed. As long as the Profile Manager isn't started from
the Terminal, it's perfectly fine. For people who don't know what
they're doing in the Terminal (which includes me) it's really the
easiest to use the Profile Manager at every startup. I have several
profiles (for 17, 24 and for testing) and do this as well.</p></div>Chris (chtrusch)