当我启动ipython notebook
,我希望它启动Firefox,但使用特定的Firefox配置文件,这是我的默认firefox配置文件而不是。开始ipython笔记本与特定的(不默认)Firefox的配置文件
在我ipython
的个人资料,我有
c.NotebookApp.browser = u'/usr/bin/firefox'
,并且可以确保ipython notebook
选择Firefox浏览器。但是,它会选择默认的Firefox配置文件,或者最近使用的Firefox配置文件。
我的Linux终端,我可以这样
firefox -P --no-remote ipython
但是推出我的首选ipython
具体的Firefox配置文件(命名为ipython
),做
c.NotebookApp.browser = u'/usr/bin/firefox -P --no-remote ipython'
根本不起作用(IPython中没有按” t完全开放firefox
,跳到另一个browswer'),也不是这样开始ipython notebook
ipython notebook --browser 'firefox -P --no-remote ipython'
这导致和OSError
异常。
有谁知道用首选配置文件启动firefox的方法吗?