码迷,mamicode.com
首页 > 系统相关 > 详细

Linux下查看显示器输出状态以及修改显示器工作模式(复制 or 扩展)

时间:2016-01-22 22:07:59      阅读:573      评论:0      收藏:0      [点我收藏+]

标签:

//关闭显示器VGA1
xrandr --output VGA1 --off

//开启显示器VGA1
xrandr --output VGA1 --auto

//关闭显示器LVDS1
xrandr --output LVDS1 --off

//开启显示器LVDS1
xrandr --output LVDS1 --auto

//打开VGA1,同时关闭LVDS1
xrandr --output VGA1 --auto --output LVDS1 --off

//关闭VGA1,同时打开LVDS1
xrandr --output VGA1 --off --output LVDS1 --auto

//扩展模式时,将LVDS1显示在VGA1的左侧
xrandr --output LVDS1 --left-of VGA1 --auto


//扩展模式时,将LVDS1显示在LVDS1右侧.
xrandr --output LVDS1 --right-of VGA1 --auto

//从扩展模式变成复制模式.

xrandr --output LVDS1 --same-as VGA1 --auto

//设定主显示器.
xrandr --output HDMI1 --auto --primary

Linux下查看显示器输出状态以及修改显示器工作模式(复制 or 扩展)

标签:

原文地址:http://www.cnblogs.com/AlwaysOnLines/p/5152178.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!