How to set up multiple monitors in linux (using xrandr)

If you would need to set up your displays once every week or less using the GUI is just fine. I had to do it every morning and after a while it became really annoying.

Turn off the HDMI display:
[codesyntax lang="bash"]

xrandr --output HDMI1 --off

[/codesyntax]

Turn on the HDMI display and set it as primary display:
[codesyntax lang="bash"]

xrandr --output HDMI1 --mode 1920x1080 --primary --left-of eDP1

[/codesyntax]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.