Ubuntu 管理心得

搜尋此網誌

2019年8月20日 星期二

Switch monitor with xrandr command line

Set viewsonic as main, then hp:
xrandr --auto --output eDP-1 --mode 1920x1080 --right-of HDMI-1-2

Set hp as main, then viewsonic:
xrandr --auto --output HDMI-1-2 --mode 1920x1080 --right-of eDP-1

Turn off hp:
xrandr --auto --output eDP-1 --off  --right-of HDMI-1-2

Turn off viewsonic:
xrandr --auto --output HDMI-1-2 --off  --right-of eDP-1



沒有留言:

張貼留言

網誌存檔