Questions tagged [xrandr]

xrandr is part of the X-windows system. Use this tag for root window re-sizing problems and solutions. xrandr is both a stand-alone program and an X-windows extension. The extension must be present for the program to work.

xrandr is part of the X-windows system. It provides for Rotation AND Re-sizing of the root window. Use this tag for root window re-sizing problems and solutions. xrandr is both a stand-alone program and an X-windows extension. The extension must be present for the program to work.

Used with no arguments, xrandr will report the absence of the extension, or, if present, will provide a list of known resolutions. The index number can be used to resize the window. If all is working well, you should never have to use the program, because the root will change sizes and rotations as needed.

USE THIS TAG to cover questions or answers about situations where the root window does not automagically do what you want. The tag is often used in conjunction with the vnc program tag that is in use when bewilderment is present.

150 questions
44
votes
4 answers

How do I align the bottom edges of two monitors with xrandr?

I have two outputs that I'd like to use on my laptop: LVDS1 – 1366×768 HDMI1 – 1920×1080 I set my monitors up like so: xrandr --output LVDS1 --auto --output HDMI1 --auto --right-of LVDS1 This is all well and good, but my laptop sits considerably…
elynnaie
  • 1,065
27
votes
3 answers

What is crtc and how many outputs can I enable using xrandr?

I'm using a Lenovo x220i thinkpad, running crunchbang linux (which uses the openbox window manager). The laptop has a DP and VGA plug on the side. Hooking up the DP and VGA cables and running xrandr, I notice that the following outputs are…
23
votes
1 answer

Cannot reliably automate xrandr settings in Debian 7 on VirtualBox

Although there are several existing questions on the matter (from which the most helpful answer is this) and various threads on other forums, I cannot reliably set my xrandr settings in Debian 7 on VirtualBox. I am trying to use xrandr to control my…
Kyle Strand
  • 1,916
22
votes
3 answers

Disable Unplugged Displays (xrandr)

I have a laptop with two video outputs that I use when I am home (HDMI1,VGA1). To enable them, I do this: xrandr --output HDMI1 --right-of LVDS1 --auto xrandr --output LVDS1 --off xrandr --output VGA1 --right-of HDMI1 --auto When I want to go to…
user18806
19
votes
7 answers

Xfce - Can't set primary monitor in xrandr

I'm using Xfce 4 Desktop Environment version 4.6.1 (Xfce 4.6) I'm trying to get a dual monitor setup working. I have a vga monitor plugged in and sitting to the left of my laptop. I want to have it so that my regular desktop sits in the laptop…
Max Williams
  • 3,129
18
votes
4 answers

XRandR DPI on multihead linux

I have multiple screens with different correct DPI settings. I can use xrandr --dpi X to change DPI for all screens, is it possible to set different DPI for each screen? How do I make apps recalculate font sizes when they are moved to a different…
14
votes
5 answers

How to use xrandr to crop part of my monitor

The top of my monitor is physically obstructed by a bezel. I want to use xrandr to redefine the display resolution (height only) to restrict it to the viewable portion of the monitor. The monitor resolution is 2880x1920 but the top ~20 rows of…
Greg S
  • 149
12
votes
3 answers

How to change virtual screen resolution on Ubuntu (connecting via VNC without real display connected)?

I have an Ubuntu server with no physical access to it, only via ssh/vnc. It is stuck on a 1680x1050 resolution and in the system display settings the menus are disabled since there is no detected real display connected. I need to lower the…
GJ.
  • 10,151
11
votes
1 answer

dual screens, xrandr: get names of video devices

I have been trying to configure dual-screen with my laptop docking station using xrandr. After some Google and SU searches, I have managed to: xrandr --output LVDS --pos 1680x0 Which sets my laptop screen (LVDS) to be just at the right size of my…
Adam Matan
  • 8,740
8
votes
3 answers

Dual monitor setup: xrandr versus xorg.conf

Dual monitor setups on GNU/Linux are known to be great fun! After fiddling with my xorg.conf for a couple of days, I've managed to come to a point where I can get pretty much what I want (two screens next to each other, windows draggable from one…
Thomas
  • 101
8
votes
2 answers

Limit video output to a section of a display and leave the rest blank

The video projector I have to use this week projects an image too large for its screen and spills over on every side. Fixing the physical setup is not possible or at least unlikely for the moment: the only solution is to carefully resize and…
TomSW
  • 331
  • 3
  • 7
8
votes
1 answer

Xrandr not recognizing '-HSync' as an option

This is the command I'm trying to run sudo xrandr --newmode Modeline "5120x2880_60.00" 1276.50 5120 5560 6128 7136 2880 2883 2888 2982 -hsync +vsync However, whatever I do, I always get this output xrandr: unrecognized option '-hsync' …
JomanJi
  • 181
8
votes
0 answers

Simulate two root windows on single monitor with use of RANDR extension

This question might seen similar to Emulating extra displays but it's different in the important detail. Suppose I'd like to test a feature for certain window manager with multi monitor support using RANDR extension. Seems like it is impossible to…
gryf
  • 81
8
votes
1 answer

How to install and use xrandr in Debian?

Everywhere I look they say to use xrandr to change the resolution but when I try to use the command it is not found. I tried apt-get install xrandr (and randr) but the package could still not be found. What is xrandr? Why can't I find it? How do I…
CSCoder
  • 93
  • 1
  • 1
  • 6
7
votes
1 answer

When I invert my screen colors, why does it un-invert after a couple seconds?

I’m trying to invert my screen for better reading at night. These two commands both work for a couple seconds, and then it goes back to normal. xrandr-invert-colors xcalib -invert -alter What keeps the dark colors from "sticking"? I’ve had this…
Jeff
  • 343
1
2 3
9 10