在不同的显示器上启动两次 firefox

Starting two times firefox on different monitors

我正在使用 openthinclient 并尝试创建一个脚本,在一台机器上全屏启动 iceweasel 两次,在不同的显示器上(每个实例在不同的显示器上)。

这可能吗?

目前我只有运行

iceweasel -new-window http://whosebug.com -new-window http://www.google.com

所以两个实例 运行ning。如何将 windows 移动到其他显示器?

如果我记得在 Fedora 上,你可以通过设置 var DISPLAY:

在启动窗口应用程序之前选择显示
xhost +localhost
DISPLAY=:0.0
gui-app

第一个数字DISPLAY=:X.0是显示的数字

试试你的OS(Debian?)


适用于 Centos 7 的命令列表:

xhost +localhost
DISPLAY=:0
firefox     => openned on the first monitor
DISPLAY=:1
firefox     => openned on the second monitor