【问题标题】:Open firefox new tab in same window through terminal通过终端在同一窗口中打开 Firefox 新选项卡
【发布时间】:2014-08-06 17:10:13
【问题描述】:

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

这一切的原因是为了避免内存溢出和多窗口生成。

【问题讨论】:

    标签: linux firefox


    【解决方案1】:

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

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

    【讨论】:

    • 这不适用于较新版本的 Firefox。请参阅 askubuntu.com/a/1123804/48105 以获取更新的答案 (firefox --new-tab --url about:newtab)。
    猜你喜欢
    • 2021-10-05
    • 1970-01-01
    • 2013-08-12
    • 2010-12-08
    • 1970-01-01
    • 2023-03-21
    • 2011-02-18
    • 2010-09-12
    • 1970-01-01
    相关资源
    最近更新 更多