I have two different Brave profiles (personal, work), and I want to create different .desktop files to be able to launch them separately (I already do this with Firefox), in order to properly route links through Junction. Brave has a lot of command line parameters, and I’ve searched the internet looking for some clues, to no avail (even here on the community it seems to be a dead-end).
The best clue I found so far was that I should try --profile-directory="<profile>", but to my surprise, it creates a new “Profile 1” profile, and doesn’t switch to <profile>
I am on Fedora 36, and Brave is installed as a flatpak. I am running it through
Hey, it’s because weirdly enough the profile names aren’t the same as the name you gave the profile in Brave.
If you go to ~/.config/BraveSoftware/Brave-Browser/ (or wherever you BraveSoftware folder is located) you’ll notice that all your profiles are actually numbered and aren’t named after your profile name.
So you would define your “Work” profile like this:
Where “x” is the number of the profile allocated to that profile. I’m guessing the order in which the profile was created, so I would just try a few numbers depending on how many profiles you have. For example: