I am attempting to write a simple python script which opens multiple firefox tabs via the command line. I call os.system(firefox "destination") multiple times, where "destination" is either a website or file (jpg,png) that I'm trying to open. However, instead of opening each link in the same window, with a tab for each link, it opens each link in its own separate window, one at a time, and spits out the following:
(/usr/lib/firefox/firefox/22821): dconf-WARNING **: 14:44:26.260: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied
I've searched up and down for info on this, and haven't come up with anything.
If I already have an instance of Firefox running, this warning doesn't come up, and everything works as intended. It's just when I try to run it without firefox already running that this warning appears. Any help would be appreciated.