我们有一台PC,带有两个物理监视器和一个用于为客户提供服务的桌面应用程序。我们的用例如下:
该操作系统是运行LightDM的Ubuntu(具体为 Xubuntu 18.04 Bionic )。
需要做的是使员工无法移动鼠标指针,拖动窗口或以其他方式与屏幕进行交互, B ,使其仅用于显示信息。
换句话说,从显示角度来看,它必须是桌面的一部分,但就用户的可用性而言,它应排除在桌面之外。
我尝试查看xrandr
选项,但没有找到适合我目的的选项。有什么想法吗?
答案 0 :(得分:2)
我们最终可以使用ZaphodHeads
Intel驱动程序选项(该机器具有板载双头Intel卡)解决此问题。 Xorg.conf
的相关部分:
Section "Device"
Identifier "Intel0"
Driver "intel"
BusID "PCI:0:2:0"
Screen 0
Option "MonitorDP" "DP1"
Option "ZaphodHeads" "DP1"
EndSection
Section "Device"
Identifier "Intel1"
Driver "intel"
BusID "PCI:0:2:0"
Screen 1
Option "MonitorVGA" "VGA1"
Option "ZaphodHeads" "VGA1"
EndSection
Section "Monitor"
Identifier "MonitorDP"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "MonitorVGA"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Option "AutoServerLayout" "on"
Device "Intel0"
Monitor "MonitorDP"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Option "AutoServerLayout" "on"
Device "Intel1"
Monitor "MonitorVGA"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Multihead"
Option "AutoServerLayout" "on"
Screen 0 "Screen0"
Screen 1 "Screen1"
EndSection