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.
os.system(firefox "destination")is simply incorrect syntax and will not do what you describe it does. Please edit. 2. Please, Please don't use
os.systemanymore. It has been deprecated for ages.