Setting Default Profile

Windows 7 Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.5

I have four SeaMonkey profiles: a preferred profile and three special-purpose profiles. I generally launch SeaMonkey in my preferred profile by selecting a shortcut that uses the command-line option -p followed by the name of the profile.

If I use the profile manager to switch profiles, the selected profile is flagged as the default. If I terminate SeaMonkey while in one of my special-purpose profiles, that profile is thus flagged as my default. When I later use my shortcut to launch SeaMonkey, I do get my preferred profile. However, the profile I was using when I last terminated SeaMonkey remains the default.

I have a script that terminates SeaMonkey and immediately relaunches it in the same profile. This is in place of the Restart Application Button extension, which fails to reset everything back to my default state. My script causes SeaMonkey to relaunch in the default profile. That is okay except when I earlier terminated SeaMonkey while in a special-purpose profile and then use my script while in my preferred profile; in that case, SeaMonkey launches in the wrong profile.

Is there a command-line option that I can add to my shortcut that I use to launch SeaMonkey that forces my preferred profile to be the default?

--
David E. Ross
http://www.rossde.com/
0
David
9/10/2020 5:20:27 AM
📁 mozilla.support.seamonkey
📃 13594 articles.
⭐ 0 followers.

💬 3 Replies
👁️‍🗨️ 5 Views

Hi,

did you try http://kb.mozillazine.org/Shortcut_to_a_specific_profile ?

CU

Rainer
0
Rainer
9/10/2020 4:36:17 PM
I am already doing that. My shortcut always launches SeaMonkey with my preferred profile. However, that does not reset the flag for the DEFAULT profile in profiles.ini if I previously terminated SeaMonkey while in a special-purpose profile.

The script I created looks like this:

    C:\Windows\System32\taskkill.exe /IM seamonkey.exe /T
    start /B B:\SeaMonkey\seamonkey.exe
    exit

This causes a termination and restart of SeaMonkey. Since the "start" command does not include SeaMonkey's -p option, this should restart with the default profile, which is not necessarily my preferred profile.

However, if I run this script while SeaMonkey is indeed using my preferred profile, I want that profile to also be my default. Per my first paragraph in this reply, that is not always the case.

--
David E. Ross
http://www.rossde.com/
0
David
9/10/2020 7:09:50 PM
Make the shortcut target the for of :

H:\SMxxxx\seamonkey.exe -Profilemanager

And select the profile you want for that session.

Ray
0
Ray
9/11/2020 1:19:29 AM
Reply:
(Thread closed)