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.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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.
Few options off the top of my head:
OR
OR
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
You don't need disown if you're closing the terminal. Just
firefox -p &
I swear I have done these kindsof things without having an option that was a word. maybe just & im not sure. I just recall doing it and never recall using disown.
~$ firefox -p &; disown bash: syntax error near unexpected token `;'
just omit the ;
firefox -p & disown
Looks like I’ve gotten too spoiled with zsh, I guess that doesn’t work with bash. Doing it in two separate commands should work tho, ie firefox -p & and then disown
~~it should be enough to put a space between & and ; like this:
firefox -p & ; disown but I'm not 100% sure.~~
I'm also very spoiled by zsh, and I also remember encountering this issue.
I actually started up bash to test this when op first responded, and the space had the same problem
Thanks for the correction.
I read the bash documentation and I think you simply don't need the ;. The & is already a command separator, just like ;
Tested with bash: sleep 100 & echo test prints right away.
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.
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.
I'm pretty sure you can just right click the firefox icon and it will have a profile manager menu entry.
Maybe it is just an arch linux thing, but it is defined in the .desktop file in the installed package.
if you want to launch a thing from X/wayland, maybe consider getting a run box. there are plenty of options. your desktop environment may already have one.
Instead of disowning use exec or xdg-open
Why did the other commenters parse the title as a question? I expected directions from OP.
Because it clearly is, despite the missing question mark.