pandabang

本文适用于Ubuntu 16.04,造冰箱的大熊猫@cnblogs 2018/10/9

 
1、查询计算机显示输出端口的信息:在命令行中用“xrandr -q”命令获取计算机当前显示输出端口的信息,如下所示
$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 346mm x 194mm
   1920x1080     59.93*+
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+  59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

 

2、在命令行中执行如下命令,关闭计算机显示端口eDP-1,但保留HDMI-1的视频输出
xrandr --output eDP-1 --off

 

3、重新打开eDP-1的视频输出

xrandr --output eDP-1 --auto

 

 - 2018/10/9,发现个小问题。笔记本和台式机挂在KVM上,通过KVM操控两台机器。用上述方法关闭笔记本显示器,然后切换到台式机,笔记本屏幕会自动点亮。这个怎么解决?高人请指点

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2021-07-15
  • 2021-04-18
  • 2021-09-14
猜你喜欢
  • 2021-11-18
  • 2022-01-01
  • 2021-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-10-03
相关资源
相似解决方案