Questions tagged [xrandr]

Official configuration utility for x.org.

878 questions
156
votes
6 answers

How do I set a custom resolution?

I tried to use xrandr to set 1680x1050 as a new mode to VGA output, but it says: sudo xrandr --addmode VGA-0 1680 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed…
user216356
  • 1,561
71
votes
9 answers

How can I make xrandr customization permanent?

I used to edit the startup script for the GDM (/etc/gdm/Init/Default) to permanently change my display resolution. How can I do this with LigthDM in Ubuntu Oneiric?
59
votes
6 answers

How to disable global -p shortcut?

In ubuntu 11.04 there was a workaround using gconf-editor and setting key /apps/gnome_settings_daemon/plugins/xrandr/active to false. However there is no such key in gconf-manager using ubuntu 11.10 (gnome 3).
57
votes
8 answers

How to detect and configure an output with xrandr?

I have a DELL U2410 monitor connected to a Compaq 100B desktop equipped with an integrated AMD/ATI graphics card (AMD E-350). The installed O/S is Ubuntu 10.04 LTS. The computer is connected to the monitor via the DVI connection. The problem is that…
ysap
  • 7,191
49
votes
3 answers

How to set the monitor to its native resolution which is not listed in the resolutions list?

After installing Ubuntu 10.04 with my Samsung SyncMaster B2030, native resolution (1600X900) is not found in the list of resolutions.
48
votes
6 answers

How do I save my new resolution setting with xrandr?

I found somewhere in a forum the solution to a problem where the only resolutions available were 800x600 and 1024x768. I managed to get 1440x900, which works very well. Every time I reboot, this mode disappears. I am forced to retype the commands,…
Jacob J.
  • 483
39
votes
2 answers

Rotate only one screen

If I have only the internal monitor (LVDS1) with an xrandr -o left command. Now I want to attach a second monitor, say to HDMI1. Then I'd like to rotate only the internal monitor, but not the external one. I tried the following (with no external…
36
votes
6 answers

Failed to get size of gamma for output default when trying to add new screen resolution

I'm trying to adjust resolution on my new MSI GT70 2OC. In settings, only one resolution is available: 1920x1080. This is fine, except that I need to decrease the resolution and make it more rectangular for the laptop to work well with my old PL-550…
33
votes
3 answers

How to use "xrandr --gamma" for Gnome "Night Light"-like usage?

Background: More red / Less blue at night To save the eyes at night, adding more red and/or subtracting blue, is becoming popular in Windows 10 (blue-light filter) and Linux; Gnome Desktop (Night Light) and Ubuntu Unity Desktop with add-ons such as…
29
votes
5 answers

External monitor turns off for several seconds every 5-10 minutes

I'm using Ubuntu 16.04 installed on Lenovo ThinkPad T500 laptop with two external monitors connected via display and VGA ports. I think the issue started after I upgraded to Ubuntu 16.04. But I'm not sure about this. Occasionally at some random…
27
votes
4 answers

Xconfig xrandr BadMatch

Recently I minimal installed my OS, but got an unexpected error while setting my monitor resolution. It seems like a very old problem, but this time there is something else (I think). To install the desktop environment: apt-get update, apt-get…
Teifi
  • 1,332
27
votes
3 answers

"xrandr: Configure crtc 0 failed" when trying to change resolution on external monitor

I've been trying to set up an external monitor for a bit, finally got it mostly working except the resolution is off. My monitor's native res is 1600x900, which I finally got to show up in xrandr: user:~$ xrandr xrandr: Failed to get size of gamma…
27
votes
7 answers

Does Wayland have an equivalent of xrandr for changing brightness and color temperature?

xrandr can be used to change the display brightness using the command line. For example, xrandr --output VGA-1 --brightness 0.4 Wayland does not support xrandr. Is there any similar tool in Wayland that can be used to control brightness and color…
25
votes
1 answer

How to change display's position from command line?

How can I use the command prompt to do get the setup shown below? Edit: I need the secondary display to be located to the left and half-way to the top of the primary display, as shown above. The output of xrandr is: Screen 0: minimum 320 x…
23
votes
4 answers

How to run xrandr commands at startup in Ubuntu

How can I run the following xrandrcommand on startup? xrandr cvt 1368 768 xrandr --newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync xrandr --addmode VGA1 1368x768_60.00 xrandr --output VGA1 --mode 1368x768_60.00…
1
2 3
58 59