Questions tagged [xrandr]
Official configuration utility for x.org.
144
questions
145
votes
6
answers
478k
views
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 ...
69
votes
9
answers
212k
views
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?
21
votes
4
answers
84k
views
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 ...
48
votes
3
answers
58k
views
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.
42
votes
6
answers
114k
views
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 ...
52
votes
8
answers
467k
views
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 ...
36
votes
6
answers
340k
views
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 ...
18
votes
5
answers
61k
views
How to force Multiple Monitors correct resolutions for LightDM?
I am affected by the BUG: https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/874241
Otherwise, if like me you have a laptop connected to a second monitor of higher resolution, LIGHTDM at the ...
16
votes
1
answer
31k
views
Why do xrandr errors "BadMatch", "BadName", "Gamma Failed" happen?
I have not found a single solution to such errors, despite the rather large number of users out there who have them.
So I want to try to find a solution myself. However, I have no idea why they occur....
3
votes
1
answer
13k
views
Adding newmode with Xrandr - "800x480_60.00"
I have 5-inch a 800x480 tft connected to the LVDS connector on a Portwell WADE-8020 mini-ITX embedded system board. I would like to build a XMBC/Kodi box for streming my music from my freenas PC with ...
2
votes
1
answer
2k
views
Best place to automatically add mode in xrandr
What is the best place to add a mode with xrandr?
As of now, I added
xrandr --newmode "1344x744_60.00" 80.75 1344 1408 1544 1744 744 747 757 773 -hsync +vsync
xrandr --newmode "...
15
votes
2
answers
15k
views
Run script when monitor is connected
I am trying to run a script located in usr/local/bin/ when I connect an external monitor to my laptop. I have tried to add a new udev rule but that did not work. I created a new file in /etc/udev/...
13
votes
5
answers
49k
views
Can I force VGA signal output even when xrandr shows 'disconnected'?
My notebook is connected to a HDTV through a KVM Switch (one other notebook also connected to the same HDTV). The problem seems to be that Ubuntu doesn't recognize the HDTV to be turned on and ...
5
votes
1
answer
7k
views
VGA not listed in xrandr output: Projector not working, Intel Kabylake Graphics
I have been trying to get output on a projector through the VGA port on my Laptop (Dell Latitude 5480, Ubuntu 16.04). I have only Intel HD Graphics and no dedicated GPU.
I am not able to get any ...
5
votes
1
answer
6k
views
Output of xrandr shows 1024x768+1366+0; what does it mean and can I change it?
$ xrandr
VGA1 connected 1024x768+1366+0 (normal left inverted right x axis y axis) 0mm x 0mm
I don't understand what the number 1366 in 1024x768+1366+0 represents. Can I change its value?
14
votes
2
answers
59k
views
Can I zoom out windows or scale the whole desktop?
I have a 17" laptop with 1600x900 resolution, but it's not enough to open windows side by side. I'm wondering if i could zoom out (or any other solution) windows (or the whole desktop). Is there a ...
7
votes
4
answers
31k
views
How to set Display Resolution while having to use "NOMODESET" on boot
I have a Samsung laptop with a Radeon graphics chip.
Live-Images and graphical installation have always worked on this laptop with the proper resolution of 1366x768. However, after Ubuntu had been ...
6
votes
5
answers
3k
views
Adjust brightness with xrandr and cron job
EDIT Thanks to pa4080 I added one line to the script below and now it works great. I don't exactly understand how, oh well.
I would like to make a cron job to adjust my brightness at different hours ...
54
votes
6
answers
20k
views
How to disable global <Super>-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 (...
39
votes
2
answers
88k
views
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 ...
12
votes
1
answer
32k
views
HDMI not detected on Ubuntu 18.04
After upgrading to Ubuntu 18.04 from version 16.04, the external monitor is not detected anymore. I have tried using both VGA and HDMI monitor ports to connect using the USB-C adapter to my laptop. ...
2
votes
1
answer
1k
views
Desktop monitor brightness adjusting [duplicate]
Is it possible to adjust desktop monitor brightness like on laptops?
Yes all desktop monitors have separate menu for it.
But is it possible to change this to something like Winkey+(F1..F12)?
...
31
votes
3
answers
24k
views
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 ...
13
votes
1
answer
23k
views
Why don't my lightdm.conf edits affect my desktop screen resolution?
I wanted to change my desktop screen resolution to 1366x768. But my VESA drivers(AMD REDWOOD) did not detect that resolution. So I created a shell script as follows:-
xrandr --newmode "1368x768_60.00"...
5
votes
2
answers
6k
views
Maximize windows to physical screen when using a virtual resolution w/xrandr
I have a netbook with a small screen in widescreen format (1024x600), which means that a lot of programs whose designers didn't imagine such a thing open windows that can't be resized and whose ...
4
votes
2
answers
4k
views
How can I quickly toggle monitor orientation with a shortcut key?
While looking if someone asked this question before, I landed on this for Windows.
I'd like to do something similar (shortcut or terminal alias/command) on Linux/Ubuntu to be able to quickly switch ...
3
votes
1
answer
4k
views
VNC with virtual display - black screen when I connect
I have a Ubuntu machine that I use as a Plex and data server. There is no monitor connected to it. This wasn't a problem with Ubuntu 16.04, but now, with 18.04, it is and it shows a black screen ...
2
votes
1
answer
8k
views
Running a script at startup that uses xrandr to set display options
I've tried numerous methods of getting the following commands to run at startup
xrandr --output DFP10 --rotate left
xrandr --output DFP11 --right-of DFP10
This is necessary because my left monitor ...
1
vote
1
answer
2k
views
Xrandr command in startup script has no effect, but script does run and command work from terminal
I cannot seem to get an xrandr command to rotate my monitor at startup.
The script:
cat /etc/X11/Xsession.d/999_test ...
27
votes
3
answers
119k
views
"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:
...
27
votes
4
answers
117k
views
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 ...
23
votes
7
answers
23k
views
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 ...
19
votes
2
answers
5k
views
Setting different subpixel rendering on different monitors
I am using dual monitors, one of them rotated by 90 degrees. Font antialising does not look right in the rotated monitor (i.e., there are rainbow borders around characters).
I believe this is ...
13
votes
1
answer
11k
views
Increment Brightness by value using xrandr [duplicate]
So I have an Alienware 13 R3 with the OLED display, and for the first time I was able to change the brightness using the xrandr command. The problem was the absence of backlight in OLED displays, so I ...
12
votes
5
answers
28k
views
NVIDIA - Ubuntu 20.04 - HDMI second monitor with blank screen, but xrandr detects it [Bug reported on Launchpad and freedesktop's gitlab]
Edit on 15/10/2020: This's a bug found on the kernel and intel/drm drivers.
More info:
https://gitlab.freedesktop.org/drm/intel/-/issues/2181
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/...
9
votes
4
answers
29k
views
Any really decent way to get three monitors?
What satisfactory solutions are there to achieve three monitors on Ubuntu? I know some ATI cards (Eyefinity) can support 3 monitors from a single card, but I don't know how well this is supported ...
7
votes
1
answer
4k
views
Possible to have xrandr not react to unplug of secondary monitor, removal of HDMI/ DisplayPort cable?
I'm on a Nvidia GTX 950 GPU desktop system with three monitors attached. One monitor on HDMI out port, other two on DisplayPort ports.
The default behavior is that turning off one of the 'secondary' ...
4
votes
1
answer
5k
views
How do you change the preferred resolution with xrandr?
I am cloning my 1920x1080 monitor display to a TV (1366x768) using a splitter device. It works fine except rebooting moves all my icons up on the desktop, forcing them into a space of the lower ...
3
votes
1
answer
2k
views
How to persist display settings?
I my display configuration to remain like this:
Yet after each reboot, it resets to:
How to have it persistent?
My xrandr output:
Screen 0: minimum 8 x 8, current 4920 x 1920, maximum 32767 x ...
2
votes
1
answer
2k
views
Can't boot Ubuntu 18.04 LTE to desktop after upgrade to 4.15.0-51
I have a VM running Ubuntu 18.04. After an upgrade (looks like it was to Kernel 4.15.0-51) I can't boot to the desktop. Instead, I see a blank, reddish screen.
If I use Grub to get a recovery mode, I ...
29
votes
5
answers
21k
views
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 ...
14
votes
4
answers
31k
views
How can I list connected monitor(s) with xrandr?
I'm working on developing a python application for Ubuntu that enables a user to have their desired resolution without requiring graphics drivers.
In order to do this I've been using xrandr, which so ...
11
votes
3
answers
9k
views
"--scale 2x2" in xrandr causes the monitor to not display anything
I've got a 4k external main monitor and I'm trying to connect a 1680x1050 external monitor to the left of it.
I've tried using:
xrandr --output HDMI-0 --scale 2x2 --pos 0x0 --fb 7200x2160 --...
9
votes
2
answers
7k
views
How to adjust contrast with xcalib
I'm trying to adjust contrast on my laptop, a ThinkPad E430, running ubuntu 12.04:
xcalib -co 70 -a
xrandr --output LVDS1 --brightness 0.7
Either of them works only for 1-2 seconds and after that ...
8
votes
2
answers
23k
views
Screen is black, but connected according to xrandr
I have some trouble with my HDMI Display.
xrandr output:
Screen 0: minimum 320 x 200, current 5760 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
...
7
votes
1
answer
2k
views
Add asymmetrical margin on LCD display?
My old laptop display is starting to break, and I have many dead pixels and other physical issues on the left side of the screen only. Of course I should get a new monitor (or ideally a new laptop), ...
7
votes
1
answer
9k
views
Can't select 2560x1440 resolution even though I know it's possible (I have proof!)
I have a new monitor, (the Dell U2515H) which I'm trying to drive at 2560x1440 resolution (just 30hz) over HDMI using only the onboard graphics on my machine (Intel HD4000 found in the ivy bridge CPU)....
7
votes
1
answer
38k
views
Second monitor not working via USB-C [duplicate]
When I search online, I saw a couple of similar issues but most of them are with Dock station. I am not using a dock, I am using HDMI to USB-C cable. HDMI part connects to the external monitor and USB-...
7
votes
1
answer
30k
views
How to set resolutions with xrandr using multiple monitors
I want to set specific resolutions to 2 monitors. How can I tell xrandr which monitor to change resolution.
7
votes
2
answers
18k
views
Change only one display orientation from terminal
I am starting to work with 2 displays on Ubuntu. One of them is rotateable, so I can use it easily in both landscape and portrait mode. But I world prefer to have ability to change orientation setting ...