I want to have a separate Firefox profile for my Google-Account, primary used by Gmail.
I use Linux Mint 19.3 Tricia.
I want to have an own icon in the task list, and the Gmail profile should not be opened in the Firefox "Icon Group" (don't know the correct name)
Steps to Achieve That
- Create a new Profile
- run Alt+F2
- enter
firefox -P
- Add new profile, call it "Google"
- create a new file
~/.local/share/applications/GmailFF.desktop
and with this content:[Desktop Entry] Name=Gmail Firefox Exec=firefox -P Google --no-remote --class GoogleFF Comment=Open Firefox with Google Profile Terminal=false Icon=checkgmail Type=Application StartupNotify=True StartupWMClass=GoogleFF
The magic is coming from StartupWMClass, now Firefox for profile Google opens like a different program (found at https://www.techrepublic.com/article/how-to-run-two-different-firefox-profiles-at-once-on-linux/)
- Search for "Gmail Firefox" (or whatever
Name
you defined above) and open the profile.- Pin the program to the tasklist
- Log in to Gmail-Account
- Change "Homepage and new windows" to gmail.com in Preferences
- Change "Default Search Engine" to Duckduckgo in Preferences
- Install add-ons Ublock Origin and Privacy Badger