New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
If there are arguments in the firefox process that show the profile, try pkill
e.g.
pkill -f "firefox other-identifiable-unique-to-profile-arguments"
How can I see the arguments in the firefox process?
ps wwwaux | grep firefox
It give me the number of two process profiles but that change with every restart.
Also the location of the profile that i tried with pkill -f didn't work
I think your definition of profile is different from mine then. If you load up a specific firefox profile with the -P flag, it should be there in the command line.
I have a setup using lots of profiles and the command I enter is :
DISPLAY=:10 firefox -no-remote -profile /path/to/profile/123 -height 600 -width 100 "about:blank" &> /dev/null & echo $!
If I want to kill a specific profile, the "profile" argument is there to be matched on, or with this command, the PID is returned.
Failing that, you can use xdotool to manage your windows and close them, but you'd probably get a warning from firefox if you have multiple tabs/windows open for that profile.
It's probably easiest to use something like pkill.
Can you give an example of kill you profile "123" ?
Sure
pkill -f "/path/to/profile/123 "
He want complete and working command. Didnt care about everything else.
Welcome to leb fiver but for free