Created
January 17, 2020 21:36
-
-
Save alanxoc3/f72bfd5805ea42eb9b41cc61484f0bae to your computer and use it in GitHub Desktop.
Combines two monitors into one.
This file contains 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
#!/bin/bash | |
# Make your desktop environment treat two monitors as only one. | |
xrandr --output DP-1 --rotate left | |
xrandr --output DP-2 --rotate right | |
xrandr --output DP-2 --right-of DP-1 --auto | |
xrandr --setmonitor combined auto DP-1,DP-2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment