Firefox profiles or Web apps?
I'm trying to create two different profiles in firefox, one for productivity and another for chill / gaming etc. It doesn't seem possible to create an independent .desktop application file for my second profile as they are located in /var/lib and those are immutable.
https://askubuntu.com/questions/660147/how-can-i-use-two-firefox-profiles
Has anyone had luck with launching independent profiles , creating firefox webapps or otherwise producing the ability to independently launch firefox profiles?
https://packagecloud.io/filips/FirefoxPWA
Ask Ubuntu
How can I use two Firefox profiles?
I run Ubuntu 14.04 and want to use one installation of Firefox with two different profiles for the same logged in Ubuntu user.
How can I set this up, so that I may easily launch both profiles from...
Packagecloud
filips/FirefoxPWA - Packages · packagecloud
The official package repository for pre-built DEB and RPM packages for the FirefoxPWA project
8 Replies
I've just found that I can launch seperate profiles from the command line as below, so perhaps the easiest workaround is to create a script and place that script on my taskbar.
Ideally I'd like to have seperate icons for the seperate profiles but that might be a stretch in bazzite?
rogue@debian:~$ flatpak run org.mozilla.firefox
rogue@debian:~$ flatpak run org.mozilla.firefox -p chill
Okay, some more progress, I've been able to create a .desktop file in /home/rogue/.local/share/applications/ and add it onto my taskbar however it doesn't retain it's independance as a live application. Once it's launched the icon goes empty and the firefox application is merged into my default profile (& without the custom icon) - ideally I'd like these to remain separate applications from the operating systems perspective.
[Desktop Entry]
Name=Launch Firefox chill
Comment=Open Firefox browser
Exec=flatpak run org.mozilla.firefox -p chill
Icon=/home/rogue/.local/share/applications/icons/firefox-chill.png
Terminal=false
Type=Application
Categories=Network;WebBrowser;
Found a similar issue here:
https://www.reddit.com/r/firefox/comments/1f3aaia/firefox_flatpak_multiple_profiles_with_icons/
I do this too for work, what I ended up doing was installing firefox developer edition so I had two technically different Firefox installs
Not exactly what you are asking but might help
Thanks Rumble, I may end up going down that route
I've managed to create custom launch options on the main .desktop file but for some reason the latest updates of this arne't showing up on the version on my taskbar, peculiar
Also; as these updates are in the lib folder, my hunch is they will be overwritten by any bazzite update?
update-desktop-database ~/.local/share/applications seemed to do the trick!
Okay I think that's as best as it will get, I'm going to leave my /var/lib/flatpak/app/org.mozilla.firefox/current/active/export/share/applications/org.mozilla.firefox.desktop code below should anyone else wish to replicate what I've been able to do:
[Desktop Entry]
Version=1.0
Type=Application
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox @@u %u @@
Terminal=false
X-MultipleArgs=false
Icon=org.mozilla.firefox
StartupWMClass=firefox
DBusActivatable=false
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=application/json;application/pdf;application/rdf+xml;application/rss+xml;application/x-xpinstall;application/xhtml+xml;application/xml;audio/flac;audio/ogg;audio/webm;image/avif;image/gif;image/jpeg;image/png;image/svg+xml;image/webp;text/html;text/xml;video/ogg;video/webm;x-scheme-handler/chrome;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/mailto;
StartupNotify=true
Actions=prod;chill;open-profile-manager
Name=Firefox
Comment=Browse the World Wide Web
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer;
X-GNOME-FullName=Firefox Web Browser
X-Flatpak=org.mozilla.firefox
#[Desktop Action new-window]
#Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox --new-window @@u %u @@
#Name=New Window
#[Desktop Action new-private-window]
#Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox --private-window @@u %u @@
#Name=New Private Window
[Desktop Action prod]
Exec=/usr/bin/flatpak run org.mozilla.firefox -p prod
Name=Launch Productivity Browsing
[Desktop Action chill]
Exec=/usr/bin/flatpak run org.mozilla.firefox -p chill
Name=Launch Chill Browsing
[Desktop Action open-profile-manager]
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --ProfileManager
Name=Open Profile Manager
Also, on the web-app front - I've found out you can install web-apps directly with the latest version of google chrome - super simple!
Hope my waffling here helps another lost user 😉
https://support.google.com/chrome/answer/9658361?hl=en&co=GENIE.Platform%3DDesktop
Use web apps - Computer - Google Chrome Help
A web app is an app built for the web that you can access on any device. You can use web apps to have a website work as an app and access it on your computer or mobile devices through the launcher or
/var
is literally writable
also we have web apps installed which create a dedicated icon and you can enable the navigation bar making it just work as a 2nd firefox