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. Acer B286HK: A 28-inch UHD LED 4K Monitor For As Low As $350
  2. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  3. Intel 120GB 530 Series SSD Linux Performance
  4. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
Latest Linux Articles
  1. Mesa Git Yields Performance Improvements For Newer AMD GPUs
  2. Apple OS X 10.10 vs. Ubuntu 14.10 Performance
  3. Mesa 10.5-devel Brings Some Intel Haswell HD Graphics Changes Over Mesa 10.3
  4. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
Latest Linux News
  1. Devuan: Debian Without Systemd
  2. Wine 1.7.32 Updates Its Mono Engine
  3. Mesa 10.4 Release Candidate 3 Is Here For Weekend Testing
  4. GenodeOS 14.11 Now Supports Intel's Wireless Hardware
  5. Jolla Tablet Could Have Upgrades For MicroSDHC, Split Screen, 3.5G
  6. Intel Has Last Round Of DRM Changes For Linux 3.19, Starts Dropping DRI1/UMS
  7. Fedora 21 Release Candidate 1 Awaits Your Testing
  8. GCC 5 Adds Support For ARM's Cortex-A17
  9. KWayland Server Component Coming For KDE Plasma 5.2
  10. NVIDIA Posts Tegra Gallium3D Patch For K1+ Support
Latest Forum Discussions
  1. Aliens vs predator for Linux
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Hurrican SDL Port
  4. Roadmap to Catalyst 14.10 ?
  5. how to configure module phoromatic ?
  6. PulseAudio 6.0 Is Coming & Other Linux Audio Plans For The Future
  7. Debian Developer Resigns From The Systemd Maintainership Team
  8. Cant get working Kaveri APU - A10-7850k