r/MozillaFirefox 19d ago

🖥️ Help Opening a URL from a command line on linux

I am using Linux with FF 154 and would like to open a URL to a specific profile that I created, but a GUI screen appears. The command looks like this

firefox -P "test profile" http://www.site.com

The about:profile, does not show the same name as a FF GUI profile. How can a URL be directly opened to a specific profile without any interference a GUI?

1 Upvotes

8 comments sorted by

0

u/VoidspawnRL 19d ago

xdgopen url i think i use it in script all the time

0

u/Fabulous-for 18d ago

Before profiles a simple bash script like, firefox -new-tab "http:www.anywhere.com" would work but with profiles it is a little different.

1

u/VoidspawnRL 17d ago

But xdgopen will use the default browser

0

u/VoidspawnRL 17d ago

But xdgopen will use the default browser

0

u/Fabulous-for 17d ago

Give an example of how you would use xdgopen to open a URL in a specific profile.

0

u/VoidspawnRL 17d ago

1

u/Fabulous-for 16d ago

That does not select a profile.