我正在使用带有 mate 桌面的 linux mint,我想使用终端打开一个新选项卡(通过 xbindkeys 发送命令更正确)到现有的 firefox 会话/窗口。-new-tab不会做。我想这样做的原因与这个问题有关:https : //unix.stackexchange.com/questions/148768/shortcut-to-google-selected-text
这一切的原因是为了避免内存溢出和多个窗口生成。
小智 4
要使用现有的 Firefox 实例,您必须使用-remote选项:
firefox -remote "openURL(http://www.youtube.com, new-tab)"
Run Code Online (Sandbox Code Playgroud)