linux屏幕扩展、扩展屏幕的校准、屏幕翻转等

#xrandr命令为屏幕扩展
#xinput命令为输入设备

#设置DSI-1为HDMI-1的右扩展
xrandr --output DSI-1 --right-of HDMI-1 --auto


#DSI-1为触摸屏且为右扩展,对其进行校准
xinput map-to-output $deviceID $deviceName

#设置屏幕分辨率
xrandr --output HDMI-1 --mode "1920x1080"

#指定某个屏幕翻转
xrandr --output HDMI-1 --rotate inverted
posted @ 2019-01-29 11:04  徐沛东  阅读(3513)  评论(0编辑  收藏  举报