I agree that Firefox profile management is not user-friendly at all. I have an advice for you though, you don't need to open Firefox from a terminal if you want to be able to choose your profile at start-up.
«all» you have to do is go to ~/.mozilla/firefox/profile.ini and change it with:
```
[General]
StartWithLastProfile=0
```
Now Firefox will open a dialogue box at start-up asking you for the profile you want to use.
-P "<profile name>" Starts with a given profile name (profile name is case sensitive).
-no-remote Enables running multiple instances of the application with different profiles; [1] used with -P
#!/bin/bash
case "$1" in
personal | work | banking | shopping)
firefox -no-remote -P "$1" ;;
*) echo "unknown arg: $1"; return 1; ;;
esac
and either rename profile directories, or the case statement labels,
and optionally associate calls to the script with icons/widgets.
[code not tested, use at own risk, ymmv, etc.]
> I have an advice for you though, you don't need to open Firefox from a terminal if you want to be able to choose your profile at start-up.
I don't know, on Mac or Windows, how (although it would be nice) to wrap your script, or any other command-line executable, as an app that takes its arguments as parameters specified on double-click.
«all» you have to do is go to ~/.mozilla/firefox/profile.ini and change it with:
```
[General]
StartWithLastProfile=0
```
Now Firefox will open a dialogue box at start-up asking you for the profile you want to use.