通过终端在同一窗口中打开firefox新选项卡

时间:2014-08-06 17:10:14

标签: linux firefox

我正在使用linux mint和mate桌面,我想使用终端打开一个新标签(通过xbindkeys发送命令更正确)到现有的firefox会话/窗口。 -new-tab不会做到这一点。我想这样做的原因与这个问题有关:https://unix.stackexchange.com/questions/148768/shortcut-to-google-selected-text

所有这一切的原因是为了避免内存泄漏和多个窗口生成。

1 个答案:

答案 0 :(得分:4)

要使用现有的firefox实例,您必须使用-remote选项:

firefox -remote "openURL(http://www.youtube.com, new-tab)"
相关问题