Skip to content

Instantly share code, notes, and snippets.

@TacoSteemers
Created June 5, 2013 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TacoSteemers/5716821 to your computer and use it in GitHub Desktop.
Save TacoSteemers/5716821 to your computer and use it in GitHub Desktop.
Set main / primary display when using X Window system and compatible driver
user@pc:~$ xrandr
Screen 0: minimum 320 x 200, current 3600 x 1080, maximum 8192 x 8192
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 640mm x 360mm
1920x1080 60.0*+ 50.0 30.0 25.0 24.0
1920x1080i 30.0 25.0
1280x1024 60.0
1360x768 59.8
1280x720 60.0 50.0
1440x576i 25.0
1024x768 60.0
1440x480i 30.0
800x600 60.3
720x576 50.0
720x480 59.9
640x480 60.0 59.9
VGA-0 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 459mm x 296mm
1680x1050 59.9*+
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1280x800 59.8
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
HDMI-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
user@pc:~$ xrandr --output VGA-0 --primary
@TacoSteemers
Copy link
Author

For some reason this doesn't seem to want to stick, not even when used with admin rights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment