1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

A Newbie's Guide To RandR 1.2

Michael Larabel

Published on 26 November 2007
Written by Michael Larabel
Page 2 of 3 - 11 Comments

To start with the xrandr usage, simply enter xrandr (or xrandr -q) to see all available outputs and their current status.

Displayed are the different connectors (i.e. VGA-0, DVI-0, S-Video, LVDS) along with the automatically detected resolutions using the EDID information obtained from the display. The asterisk denotes the current resolution. Other bits of information are also displayed for connected displays. In the above example you can see the display was running via DVI at 1280 x 1024 with a refresh rate of 60Hz. For basic information regarding xrandr see man xrandr or xrandr --help.

When connecting a new display device to the graphics card with X already running, in many cases it's as easy as just entering: xrandr --auto. The auto command will attempt to enable all attached outputs. Connected displays are then treated as one large virtual screen. If there is an output you are looking to disable, such as the monitor connected to DVI-0, the syntax is: xrandr --output DVI-0 --off. If the display order does not align with your monitor configuration, you can change it in the using the --left-of or --right-of syntax: xrandr --output VGA --auto --right-of LVDS.

If xrandr defaults to an undesired resolution, it can be dynamically changed by entering xrandr --output DVI-0 --mode 0 for the first mode listed when running xrandr or xrandr -q. Alternatively, the desired resolution can instead be entered as the argument for mode. The refresh rate can be changed using the --rate argument.

Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. Counter-Strike: Global Offensive NVIDIA/AMD Benchmarks On Linux
  2. Running Fedora 20 On Intel's Core i7 Haswell-E Platform
  3. A Tour Of The New Phoronix Office
  4. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
Latest Linux News
  1. The Features Coming For Fedora 21
  2. Counter-Strike: Global Offensive Starts Rolling Out To Linux Users
  3. The Gestures Support Of GNOME 3.14
  4. Linux 3.17 Has Basic Support For The Xbox One Controller
  5. openSUSE 13.2 Beta Still Using Btrfs By Default, & KDE Plasma 5 For Testing
  6. GTK+ 3.14 Brings Much Better Wayland Support, Multi-Touch, New Theme
  7. DisplayPort Comes To USB's Type-C Connector
  8. NSS Updated On Ubuntu 12.04/14.04 To Allow Netflix Support
  9. Linux 3.17-rc6 Released; Linux 3.17 Final Might Come In One Week
  10. X.Org Server 1.16.1 Released
Latest Forum Discussions
  1. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  2. Uselessd: A Stripped Down Version Of Systemd
  3. State of Nouveau now and in the near future?
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Wasteland 2 Officially Launched Today, Including For Linux Gamers
  6. NVIDIA GTX 770/780 -works ?
  7. New stress testing utility for GPU's
  8. How to get Catalyst 14.4 working on Ubuntu 14.04