Last active
April 7, 2021 23:35
-
-
Save yowcow/a555a9e0741ad3a260e44827fbaeda2f to your computer and use it in GitHub Desktop.
Xrandr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list available outputs | |
xrandr | |
xrandr --query | |
# set HDMI-2 output as 3840x2160, to the left of eDP-1 | |
xrandr --output HDMI-2 --mode 3840x2160 --left-of eDP-1 | |
# set HDMI-2 output as 3840x2160, to mirror eDP-1 | |
xrandr --output HDMI-2 --mode 3840x2160 --same-as eDP-1 | |
# stop HDMI-2 output | |
xrandr --output HDMI-2 --off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment