gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:23:51 26 4
gpt4 key购买 nike

这可能吗?

目前我只会运行

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

所以两个实例正在运行。如何将窗口移动到其他显示器?

最佳答案

如果我记得在 Fedora 上你可以通过设置 var DISPLAY 在启动窗口应用程序之前选择显示:

xhost +localhost
DISPLAY=:0.0
gui-app

DISPLAY=:X.0 的第一个数字是显示器的编号。

试试你的操作系统(Debian?)


适用于 Centos 7 的命令列表:

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

关于linux - 在不同的显示器上启动两次 firefox,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38628354/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com