How to pin Firefox Private to the gnome dock

Hello Everyone,

I am not sure whether this question is already discussed. But I wanted to know whether there is a way to pin Firefox private to the gnome dock.

Please note that I am not using any extensions. Gnome version is 45.2.

Any help will be greatly appreciated.

Thank you.

I think the easiest way is to locate Firefox .desktop entry (see ArchWiki) and copy the Firefox entry.

Edit the copied entry in any text editor - change the label and update command line args.

Then, update the desktop database and a newly created entry should appear in applications list in Overview which you can pin to dock.