How to get firefox (and windows in general) to open in the correct Activity

Whenever I have firefox open in another activity (say “work”) and try to launch a webpage from another activity (say “browsing”), the activities will change to the one with the already open firefox instance. Is it possible to make it so that apps will open only on that particular activity on that particular desktop, it really limits the use of krunner if i have to open firefox manually in the location i want only then to use krunner with it.


Open a new Firefox instance in said Activity.

firefox -ProfileManager -no-remote

Will enable you to create a new instance of Firefox.

firefox -P <profilename> -no-remote

Will Open that Instance

1 Like

Is there any way to avoid using terminal? Its a pain to have to open the terminal every time you want to open firefox

By making a separate launcher ( desktop application) you could.

This is how I open separate instances of Firefox.

[Desktop Entry]
Name=Firefox Web Browser
Comment=Browse the World Wide Web
GenericName=Web Browser
Exec=firefox -P default

[Desktop Action Default-Instance]
Name=Open Default Instance
Exec=firefox -P default

[Desktop Action Newspapers]
Name=Open Newspapers
Exec=firefox -P WorldNews

[Desktop Action Proton-Email]
Name=Open Proton Email
Exec=firefox -P "Proton Mail"

[Desktop Action Banking]
Name=Open Banking and Services
Exec=firefox -P Banking

[Desktop Action WebDev]
Name=Open Web Development
Exec=firefox -P WebDev

[Desktop Action Documentation]
Name=Open Documentation
Exec=firefox -P Documentation

[Desktop Action New-Private-Window]
Name=Open New Private Window
Exec=firefox -private-window

[Desktop Action Profile-Manager]
Name=Open Profile Manager
Exec=firefox -ProfileManager -no-remote