surround it by nohup and put & at the end of the command.
it would be better to run the command using the key combo of alt + f2 and then putting the command there instead of using a terminal window so that you don't have to bother with nohup.
surround it by nohup and put & at the end of the command.
it would be better to run the command using the key combo of alt + f2 and then putting the command there instead of using a terminal window so that you don't have to bother with nohup.
I’m not familiar with the -p flag on Firefox but in general, adding & to the end of your command backgrounds it and disown detaches it from your shell so it doesn’t close.
firefox -p &; disown should do what you’re looking for, if I’m understanding you right
Few options off the top of my head:
OR
OR
If you use kde, you can search for "profile manager", and it will show up, and can be launched from the app menu.
At least works for me. Before this was added, the KDE search/app menu also lets you run commands directly, so I would just run firefox -p in there. No need for a terminal.
If you don't want to fiddle with a terminal at all you can just make a keybind/shortcut. Depends on your DE or WM as to how to do that.
In the terminal session you launched firefox from:
Ctrl-Z # Temporarily suspend process
bg # Put that process into the background
exit # Cleanly close the terminal session
Or launch Firefox (or whatever application) with a ’&' at the end to put it in the background from the start.
Why did the other commenters parse the title as a question? I expected directions from OP.
Use your desktops "run" option? Usually alt+f2.
I've made my own profile picker using yad years ago, since mozilla's doesn't suit my usecase.
all 19 comments