how to remotely open an URL in Firefox in a specific profile?

Posted by miernik on Super User See other posts from Super User or by miernik
Published on 2010-03-12T07:10:50Z Indexed on 2012/07/07 9:19 UTC
Read the original article Hit count: 234

I have several instances of Firefox with several different profiles running. Among them profiles with the names "software" and "test".

I am trying to open an URL from a bash script to have it open in profile "test", like this:

firefox -P "test" http://www.example.org/

However that opens it in profile "software" anyway. Any ideas?

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Iceweasel/3.5.8 (like Firefox/3.5.8)

No, it is not a permissions problem, all my profile directories are perfectly under my permissions:

root@przehyba:~/.mozilla# ls -ld firefox/
drwx------ 13 miernik miernik 4096 Mar 11 09:15 firefox/
root@przehyba:~/.mozilla# ls -ld firefox/*
drwxr-xr-x  9 miernik miernik 4096 Mar 12 11:29 firefox/info
-rw-r--r--  1 miernik miernik  560 Mar 11 09:15 firefox/profiles.ini
drwxr-xr-x 10 miernik miernik 4096 Mar 16 11:51 firefox/software
drwxr-xr-x  9 miernik miernik 4096 Mar 11 09:14 firefox/tech
drwxr-xr-x 11 miernik miernik 4096 Mar 15 22:48 firefox/test
root@przehyba:~/.mozilla# 

© Super User or respective owner

Related posts about linux

Related posts about firefox