Firefox: dconf-Warning When opening Firefox from the Command Line

by theh0lylight   Last Updated March 14, 2019 21:02 PM

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.

Related Questions

xampp is not running

Updated September 01, 2018 20:02 PM

Terminal crashes when I run firefox

Updated June 15, 2016 08:00 AM

How to get the URL from a firefox tab in the terminal?

Updated February 25, 2017 18:02 PM

Files opened on Firefox startup?

Updated March 17, 2017 15:02 PM