{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreib7ubyefzvpwerpffhkv6ybbtqlo2g5qyguhhyy6qeodc4lb7gpge",
"uri": "at://did:plc:4n6wgsqsqm6q2hjncgwmreey/app.bsky.feed.post/3mks3fdmebds2"
},
"path": "/post/49667119",
"publishedAt": "2026-05-01T01:56:12.000Z",
"site": "https://programming.dev",
"tags": [
"Linux",
"cm0002",
"8 comments",
"@novafunc@discuss.tchncs.de",
"@u"
],
"textContent": "submitted by cm0002 to linux\n43 points | 8 comments\n\n> On my system, I wanted Firefox profiles to feel like their own browser instances. Meaning, their own app icons and to not be grouped together. Almost like how it is on MacOS.\n>\n> To do this, I had to make multiple .desktop files. Here are the contents of that file. This targets flatpak, but it should work for traditional Firefox installs too.\n>\n> I called this profile “Personal”. Note that this says `–profile “/home/USERNAME/.var/app/org.mozilla.firefox/config/mozilla/firefox/personal”`. In this, “personal” is a symlink to the real profile folder name located in the same directory.\n>\n>\n> [Desktop Entry]\n> Version=1.0\n> Type=Application\n> Exec=/usr/bin/flatpak run >--env=MOZ_APP_REMOTINGNAME=Personal >--branch=stable --arch=x86_64 --command=firefox >--file-forwarding org.mozilla.firefox --profile \"/home/USERNAME/.var/app/org.mozilla.firefox/config/mozilla/firefox/personal\" --name org.mozilla.firefox.Personal >--class org.mozilla.firefox.Personal @@u %u @@\n> Terminal=false\n> X-MultipleArgs=false\n> Icon=/home/USERNAME/.local/share/icons/firefox-heart.png\n> StartupWMClass=org.mozilla.firefox.Personal\n> DBusActivatable=false\n> Categories=GNOME;GTK;Network;WebBrowser;\n> 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;\n> StartupNotify=true\n> Actions=new-window;new-private-window;\n> Name=Firefox (Personal)\n> Comment=Fast and private browser\n> GenericName=Web Browser\n> Keywords=Internet;WWW;Browser;Web;Explorer;\n> X-GNOME-FullName=Mozilla Firefox\n>\n> [Desktop Action new-window]\n> Exec=/usr/bin/flatpak run >--env=MOZ_APP_REMOTINGNAME=Personal >--branch=stable --arch=x86_64 --command=firefox >--file-forwarding org.mozilla.firefox --profile \"/home/USERNAME/.var/app/org.mozilla.firefox/config/mozilla/firefox/personal\" --name org.mozilla.firefox.Personal >--class org.mozilla.firefox.Personal --new-window @@u %u @@\n> Name=New Window\n>\n> [Desktop Action new-private-window]\n> Exec=/usr/bin/flatpak run >--env=MOZ_APP_REMOTINGNAME=Personal >--branch=stable --arch=x86_64 --command=firefox >--file-forwarding org.mozilla.firefox --profile \"/home/USERNAME/.var/app/org.mozilla.firefox/config/mozilla/firefox/personal\" --name org.mozilla.firefox.Personal --class org.mozilla.firefox.Personal --private-window @@u %u @@\n> Name=New Private Window\n>\n\nOC by @novafunc@discuss.tchncs.de",
"title": "Here's an easy way to handle multiple Firefox profiles on Linux"
}