Created
February 5, 2014 23:30
-
-
Save mansam/8835572 to your computer and use it in GitHub Desktop.
Example of configuring dual-head with xrandr.
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
# first, get the names of your displays: | |
$ xrandr | |
LVDS-1 connected 1366x768.... | |
# modes... | |
HDMI-0 connected ... | |
# modes... | |
VGA0 connected... | |
# modes... | |
# LVDS is your laptop display. | |
# The auto flag will automatically choose the preferred resolution for your display | |
# Here's how to set just the flat panel to its prefered resolution: | |
$ xrandr --output LVDS-1 --auto | |
# Here's how to turn on the flat panel and the HDMI output. | |
# The --left-of <display> and --right-of <display> commands | |
# tell it where the displays are relative to each other for | |
# mousing purposes. | |
$ xrandr --output LVDS-1 --auto --output HDMI-0 --auto --left-of LVDS-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment