【问题标题】:Xorg open two windows in full screenXorg全屏打开两个窗口
【发布时间】:2017-02-16 05:25:17
【问题描述】:

我想在没有任何控件和栏的情况下全屏打开两个窗口(每个显示器一个)。我正在使用火柴盒来做到这一点,除了一件事,这没关系。 Windows 在两台显示器中全屏打开拉伸,就像一个显示器一样。

我正在使用这个 .xinitrc 文件来控制 Xorg。

xrandr --output HDMI2 --auto --pos 0x1080 --output HDMI1 --auto --pos 0x0
xset s off
xset -dpms
matchbox-window-manager &
electron ./window1
electron ./window2

如果窗口管理器只能运行有信息亭限制的应用程序,我可以更改它。

【问题讨论】:

    标签: window x11 archlinux xorg window-managers


    【解决方案1】:

    我知道该怎么做。你应该使用-use_dialog_mode=free

    # set window one below another
    xrandr --output DP1 --mode 1920x1080 --output HDMI1 --mode 1920x1080 --below DP1
    matchbox-window-manager -use_dialog_mode=free &
    # BONUS: touchscreen cover only area of HDMI1
    xinput map-to-output 11 HDMI1
    

    【讨论】:

      猜你喜欢
      • 2012-06-09
      • 2018-02-13
      • 2019-05-13
      • 2013-09-18
      • 2018-11-17
      • 2021-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多