Earlier quoted context omitted.
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 us…
Alternately, http://kb.mozillazine.org/Command_line_arguments -P " " 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,…
However, stymaar (https://news.ycombinator.com/item?id=11916985 )'s suggestion seemed to be specifically about avoiding the command line:
> 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.