A newbie helping newbies - Launch Firefox profile from shortcut.
I recently switched from Windows 10 to ZorrinOS (after a quick detour to NixOS... OOF) and in the course of setting things up how I like, I ran across some interesting stuff relating to flatpaks and shortcuts. I wanted to get this written to provide a resource for other people who might be switching.
This is a guide to making a shortcut to launch a particular Firefox profile, on a Ubuntu based distro, while running Firefox as a flatpak. This is just how I did it, put the files where you want.
Make a directory to hold the launch script and a shortcut icon. My script:
#!/bin/sh
flatpak run org.mozilla.firefox -p youtube
Obviously, make it executable.
Because Firefox is running as a flatpak we can't just launch it using firefox. They're actually stored in /var/lib/flatpak/app and can be launched like this.