我有两个屏幕连接通过DP,ubuntu‘合并’他们在一个大屏幕(见下文)。我想在第二个屏幕上自动启动我的火狐(例如,在偏移量+1920+0),但我不知道如何启动(火狐似乎没有像-window- start =x,y这样的开始参数)。是否有办法以特定的偏移量启动任何程序?
来自xrandr --query的输出
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 48.00
1680x1050 60.00
1280x1024 60.00
1440x900 60.00
1280x800 60.00
1280x720 60.00
1024x768 60.00
800x600 60.00
640x480 60.00
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
DisplayPort-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 50.00 59.94
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.89
1280x960 60.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DisplayPort-4 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 50.00 59.94
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.89
1280x960 60.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08 发布于 2022-03-01 17:44:02
这不是一个全面的答案,但它可能会帮助你找到正确的答案。我一直试图对vmware工作站的多个实例执行类似的操作。我发现下面的命令有时有效..。
vmware -n --geometry=1920x1080+1920+0 {path to .vmx file}
vmware -n --geometry=1920x1080+3840+0 {path to .vmx file}如果我在启动后运行我的脚本,它就能正常工作。然而,后续运行具有不同的行为。
我在这方面找不到多少文档,但--geometry标志似乎是您可以在其他程序上使用的标志。
https://askubuntu.com/questions/1390061
复制相似问题