When Firefox is closed in Ubuntu 24.04, the Dock doesn't have the app with the gray gear icon (the one above the phone icon). It appears when I open Firefox and contains all the windows of Firefox I have open. How can I get it to use the actual Firefox I already have in the dock instead of it being recognized as a different app?
Dock with Firefox open:
Dock with Firefox closed:
If Firefox was pre-installed, remove the Firefox app from the dock with a right mouse click and select
Remove from Favourites
.Then open it using the Super key and typing the name of the in the search box. The icon will once again appear in the Dock.
Right mouse click and this time select 'Add to favourites' to pin it to the Dock once again.
For Mozilla Firefox : You need to locate the Firefox.desktop file and edit it with a text editor and change this line to look like this: you might find it here : /snap/Firefox/current
Then save it and hopefully should work.
for Firefox Developer Edition: You need to go to : .local/share/applications and edit the Firefox .desktop file with a text editor and set the StartupWMClass to this value like this:
and save the file, then hopefully it will work normally.