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. Btrfs On 4 x Intel SSDs In RAID 0/1/5/6/10
  2. AMD Radeon R9 290 On Ubuntu 14.10: RadeonSI Gallium3D vs. Catalyst
  3. MSI X99S SLI PLUS On Linux
  4. NVIDIA GeForce GTX 970 Offers Great Linux Performance
Latest Linux Articles
  1. 6-Way Ubuntu 14.10 Radeon Gallium3D vs. Catalyst Driver Comparison
  2. NVIDIA vs. Nouveau Drivers On Ubuntu 14.10
  3. Ubuntu 14.10 Offers AMD Radeon Driver Performance Improvements
  4. Btrfs RAID: Linux 3.10 To Linux 3.18 Benchmarks
Latest Linux News
  1. GLAMOR Acceleration Continues To Be Cleaned Up
  2. Russia's Yandex Web Browser Finally Released For Linux
  3. Linux Kernel Finally Being Optimized For SSHDs
  4. GPU Profiling Support Lands In Mozilla Firefox
  5. Kubuntu 15.04 Will Use KDE's Plasma 5 By Default
  6. KDBUS Submitted For Review To The Mainline Linux Kernel
  7. An Intel-Based Ubuntu Touch Tablet Is Planning To Launch Soon
  8. MIAOW: An Open-Source GPU Design Based On AMD's Southern Islands
  9. X.Org Server 1.17 RC1 Released, Exciting For GLAMOR & Modesetting
  10. OpenGL 4.x Support For Mesa Still Inching Along
Latest Forum Discussions
  1. Is foolish currently develop in machine code, hexadecimal and assembly?
  2. Reducing The CPU Usage In Mesa To Improve Performance
  3. Help diagnosing problems with a Readon HD 4670 on Mesa 10.3.2-1
  4. Advertisements On Phoronix
  5. nv and xorg.conf under Debian PPC
  6. Looking for a Open-Source AMD experienced Linux mentor
  7. Bad perfomance in gaming
  8. Dead Island for Linux (?)