| Post Reply | RetroFed Forum Forum Index » Linux |
| Author | Message | ||
|---|---|---|---|
|
tdTrX
lemmy.ml
tdTrX@lemmy.ml Joined: 2022-10-27 |
|
||
| 9 Original | |||
|
eldavi
lemmy.ml
eldavi@lemmy.ml Joined: 2023-07-18 |
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. |
||
| 15 | |||
|
felsiq
piefed.zip
felsiq@piefed.zip Joined: 2025-07-02 |
I’m not familiar with the -p flag on Firefox but in general, adding
|
||
| 9 | |||
|
moonpiedumplings
programming.dev
moonpiedumplings@programming.dev Joined: 2023-08-10 |
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. |
||
| 4 | |||
TrackinDaKraken
lemmy.world
DarrinBrunner@lemmy.worldJoined: 2025-02-26 |
Why did the other commenters parse the title as a question? I expected directions from OP. |
||
| 1 | |||
|
HelloRoot
lemy.lol
HelloRoot@lemy.lol Joined: 2025-02-15 |
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. |
||
| 4 | |||
|
fitgse
sh.itjust.works
fitgse@sh.itjust.works Joined: 2023-06-11 |
Instead of disowning use exec or xdg-open |
||
| 2 | |||
|
tofu
lemmy.nocturnal.garden
tofu@lemmy.nocturnal.garden Joined: 2025-03-04 |
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. |
||
| 4 | |||
|
HubertManne
piefed.social
HubertManne@piefed.social Joined: 2025-03-13 |
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
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. |
||
| 2 | |||
|
tdTrX
lemmy.ml
tdTrX@lemmy.ml Joined: 2022-10-27 |
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
~$ firefox -p &; disown |
||
| 1 | |||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
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
|
||
| 5 | |||
|
felsiq
piefed.zip
felsiq@piefed.zip Joined: 2025-07-02 |
~$ firefox -p &; disown bash: syntax error near unexpected token `;'
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 |
||
| 2 | |||
aliceitc
lemmy.blahaj.zone
CorrenteAlternata@lemmy.blahaj.zoneJoined: 2023-07-07 |
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
I'm also very spoiled by zsh, and I also remember encountering this issue. |
||
| 3 | |||
Eager Eagle
lemmy.world
eager_eagle@lemmy.worldJoined: 2023-07-07 |
~$ firefox -p &; disown bash: syntax error near unexpected token `;'
just omit the
|
||
| 6 | |||
|
yeh74fjic8e5we
lemmy.world
yeh74fjic8e5we@lemmy.world Joined: 2024-06-18 |
In the terminal session you launched firefox from:
Or launch Firefox (or whatever application) with a ’&' at the end to put it in the background from the start. |
||
| 2 | |||
|
sadparty
sh.itjust.works
sadparty@sh.itjust.works Joined: 2025-03-21 |
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. |
||
| 2 | |||
|
BananaTrifleViolin
piefed.world
BananaTrifleViolin@piefed.world Joined: 2025-07-14 |
Few options off the top of my head:
OR
OR
|
||
| 7 | |||
|
felsiq
piefed.zip
felsiq@piefed.zip Joined: 2025-07-02 |
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 |
||
| 1 | |||
aliceitc
lemmy.blahaj.zone
CorrenteAlternata@lemmy.blahaj.zoneJoined: 2023-07-07 |
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 Tested with bash: |
||
| 2 | |||
|
MonkderVierte
lemmy.zip
MonkderVierte@lemmy.zip Joined: 2025-05-30 |
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. |
||
| 1 | |||
| Post Reply |
Back to top |