Questions tagged as ['xrandr']

Official configuration utility for x.org.
Score: 0
TheTanadu avatar
rc.local and xrandr are not working together
bd flag

So I have troubles with the brightness of my screen at startup.

And it's unlucky because I tried many things to set it to right setup and only xrandr is working for me when I call this command.

xrandr --output eDP --brightness 1

On my Ubuntu I had no /etc/rc.local file - so I've created it and made it executable.

~ » ls -laht /etc | grep rc.local
-rwxr-xr-x   1 root root    342 lis 29 19:26 rc.l ...
Score: 1
Kaue Almeida avatar
Can't set a new resolution on Ubuntu 20.04
us flag

Okay, I've been using my laptop connected with a external screen which is 2560x1080, try to add the new resolution and set up. But always return xrandr: Configure crtc 1 failed. Also checked my CPU max resolution on HDMI and it's 4096 x 2304@60Hz, don't know what else to do. The commands I use was: xrandr --output HDMI-1 --crtc 1 --mode 2560x1080_60.00, xrandr --output HDMI-1 --crtc 2 --mode 2560x1080 ...

Score: 0
Manuel Jordan avatar
xrandr with Fractional Scaling to set a percentage value to each monitor (without affect each other)
kz flag

I use VirtualBox, the Host is Windows 10 and the Guest is Ubuntu Desktop 20.04. The laptop is connected with a secondary monitor of 22 inches (Samsung). I use the following with xrandr

# cvt 3480 2160
# 3480x2160 59.99 Hz (CVT) hsync: 134.20 kHz; pclk: 645.25 MHz
Modeline "3480x2160_60.00"  645.25  3480 3768 4144 4808  2160 2163 2173 2237 -hsync +vsync

xrandr --newmode "3480x2160_60.00"  645.25  3480 ...
Score: 0
Denis de Oliveira Vasconcelos avatar
External monitor - xrandr resolution doesn't work and problem with refresh rate

I'm facing problem with xrandr to set new resolution and refresh rate. I only have the resolution 2560x1440 with refresh rate 33 mhz, if I try to increase the refresh rate I got the error below:

  Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request ...
Score: 1
jacob avatar
Display looks a bit washed out, blacks look almost gray and colors not very vibrant
cn flag

I've been using Ubuntu for a while now and I like it a lot, and I'm definitely not switching back to Windows. However, the thing that has bugged me is that the display on my Ubuntu install aren't as vibrant as my Windows, and looks very washed out. The blacks aren't as dark and the whites are kind of flat and not very bright.

I've also looked up this issue online and found the fix:

xrandr --output HDM ...
Score: 0
How can I escape this error message after logging in?
pk flag

My computer boots up correctly but once I've entered my password to log in, I receive this error message:

Error found when loading /home/mus/.xprofile:

xrandr: cannot find output "VGA-0"

As a result, the session will not be configured correctly. You should fix the problem as soon as feasible.

Then there is an OK button which I cannot activate/reach in any way.

I created .xprofile because my scree ...

Score: 0
Abhishek Ghosh avatar
How to permanently save an xrandr configuration for a monitor even after reboot?
ar flag

I have a monitor. The hardware can support 1024x768 at 85Hz. But don't know why my lubuntu system does not detect this highest refresh rate for the resolution mentioned above.

As per this I did the following:

abhishek@abhishek:~$ cvt 1024 768 85
# 1024x768 84.89 Hz (CVT 0.79M3) hsync: 68.68 kHz; pclk: 94.50 MHz
Modeline "1024x768_85.00"   94.50  1024 1096 1200 1376  768 771 775 809 -hsync +vsync
abhishe ...
Score: 0
xrandr external monitor not being set as primary after screen unlock
ua flag

Edit2: the solution is so much simpler with autorandr which is explained here: https://askubuntu.com/a/1130337/8 no more messing with scripts which never seem to run -- I still have no idea what I was doing wrong with the xrandr commands, but it doesn't matter anymore.


Edit: I still have some problem with triggering the xrandr command correctly at each login, because something I'm not understanding ...

Score: 0
xrandr brightness and gamma values seem to be false
th flag

I am trying to emulate night mode on my external monitor because when I change the brightness with xrandr night mode gets disabled.

My idea was to make xrandr output the current values (when in night mode) of the monitor with xrandr --verbose | grep 'Brightness\|Gamma' , which did output the values, but after setting those I get a different blueish background color than the warmer one I expect.

D ...

Score: 1
Dual monitor setup with LG 27" Ultrafine monitor connected via thundebolt and a Dell 24" connected via HDMI doesn't work
jp flag

I am trying without luck to get Ubuntu 20.04 to utilize both of these monitors connected via a single RX-580 graphics card. Here is the output of xrandr -q

xrandr -q Screen 0: minimum 320 x 200, current 5120 x 2880, maximum 16384 x 16384 DisplayPort-0 connected 2560x2880+2560+0 (normal left inverted right x axis y axis) 600mm x 340mm 2560x2880 60.00* DisplayPort-1 connected primary 2560x2880+0+0 ( ...

Score: 0
trash_dev avatar
Ubuntu 21.10 - Switching primary screen to external screen
br flag

you just finished installing Ubuntu on my Windows laptop. everything seems to work perfectly. but I am facing a problem when booting, my main screen is switched to my external screen instead of my laptop screen.

Is there a way that I can set my laptop screen as primary?

btw I have an Nvidia graphics card.

EDIT: updating from Settings > Displays works, but resets on reboot

Score: 1
Leftover Salad avatar
i3 and highdpi / HD dual screens: how to scale properly?
pk flag

I have two monitors:

DP-1: 1920x1080 (hd, secondary)

eDP-1: 3840x2160 (4k, main)

My problem:

I want to set my 4k monitor to 200% scaling @ 3840x2160, and my HD monitor to 100% scaling @ 1920x1080

What I have attempted:

Running i3, it appears, visually the default setting is to keep everything at 4k @ 1x1 scaling. (When I check arandr it appears the HD monitor is set to 1080 but visually this doe ...

Score: 1
Shachar  avatar
Configure connected monitor on a new x-screen without using xorg.conf
mk flag

Is it possible (on Ubuntu 20.04 or newer) to configure a newly connected display (not using xorg.conf) to open a a new x-screen instead of being added to an existing x-screen?

Score: 0
Docking Station - Monitors Not Showing
in flag

I am trying to get my laptop working through my Lenovo docking station (https://www.lenovo.com/gb/en/accessories-and-monitors/docking/usb-docks-universal-cable-docks/Thinkpad-USB-C-Dock/p/40A90090UK) however I am running into some issues.

I wanted to do my due diligence and get some input before I go ahead and get another docking station, in case I can get this one working.

Firstly, when I connec ...

Score: 0
elkevn avatar
achieve "xrandr --set underscan on" with "xrandr --transform"
cn flag

I'm trying to fit the size of the videoprojector screen to the actual wall size. there is some option to resize in the projetor's menu itself but it is not sufficient to resize it properly.

I have seen the option of using

xrandr --set underscan on

but unfortunately that does not work for me, as I have an intel graphics card on my laptop (Intel® UHD Graphics 620 (KBL GT2) and I have read that this option ...

Score: 0
Display/print brightness and gamma values with xrandr
th flag

I would like to know how to print the current brightness and gamma values using xrandr.

I have seen many posts on how to change those values and I can do that but none of the ones I've seen deal with printing the current values of said parameters.

I'm running Ubuntu 20.04 and xrandr v.1.5.0

Thanks in advance!

Score: 0
Eli avatar
Tried to change resolution in Ubuntu 20.04, seems like it worked but it did not
id flag
Eli

I tried to custom change the resolution for my new screen to 2560x1080. Used xrandr commands. As a result I see it in the list of available resolutions in the display management menu, but clicking on it doesn't bring any effect. It is same old 1920x1080. No clue what to do now, since changing things with xrandr seems to be the only option around also doesn't throw an error. Any advice would be appreciat ...

Score: 0
schlong avatar
xrandr unable to set Broadcast RGB
ng flag

Can anyone help me with this? I was trying to use xrandr to fix the washed out colors on Ubuntu (macOS doesn't have this issue for me) but it sort of just returned:

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  42
  Current seria ...
Score: 1
III_phr avatar
Display brightness problem
id flag

So hi everyone.
I have installed ubuntu 20.04 I think on my ROG GL503VS laptop. I encountered some weird problems (Like AUX port sending no audio out, but getting sound in via microphone of my headset). Then I upgraded it to 21.04 which is my current version. In this process, some problems were fixed but I still had one problem, the brightness slider of the ubuntu itself wouldn't work.
I installed the bri ...

Score: 0
Split Screen with Ubuntu 20.04 and Gnome via xrandr
vn flag

Challenge: I am trying to split me 32:9 wide screen into two virtual monitors.

Background: While working, I need to share my screen using Microsoft Teams for Linux. Teams is not able share parts of the screen but only single windows. When sharing single windows, some parts of the shared application are not visible (such as new windows, menus, tooltips etc.). I have to share my screen so that the  ...

Score: 0
Luigi F avatar
execute fbi image buffer inside a screen rotated Openbox instance
tr flag

Ubuntu 20.04, I started Opnebox for a minimal x server with a rotated screen (using xrandr) and ran a python script at startUp. this script execute a VLC slideshow, image and video are correclty rotated following the openbox rotation, but if i tryed to execute fbi, to show an image within my script the image doesn't rotate, i suppose because fbi write directly inside the frame buffer, but i down wan ...

Score: 1
xproot avatar
No gnome shell on xrandr new display
ng flag

OS: Ubuntu 20.04.3 x86_64 Kernel: 5.11.0-36-generic CPU: Intel Celeron B800 (2) @ 1.5GHz Graphics: Intel HD Graphics

I forced xrandr to output into VGA-1 and it works but what doesn't is gnome in that display, I can move my mouse there, I can drag windows there but there's no background and nothing. It is also not detected by Gnome Settings.

I used xrandr --output VGA-1 --mode 1920x1080_60.00 --right-of ...

Score: 1
Mitchell Knox avatar
Xrandr failed to get size of gamma for output default
de flag

I'm trying to update the resolution of my monitor to 2560x1440. I have a Radeon graphics card and an MSI x570 motherboard.

I run the commands as follows:

mknox10@mknox10-MS-7C84:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768
default connected primary 1366x768+0+0 0mm x 0mm
1366x768      76.00*
mknox10@mknox10-MS-7C8 ...
Score: 1
Aryan Zijlstra avatar
Ubuntu 21.04 - How to fix xrandr "X Error of failed request: BadValue (integer parameter out of range for operation)"
in flag

I have two identical HP monitors that both can handle 1920x1080 resolution connected to a basic HP SlimDesktop model 290-p0043w with a basic Intel® UHD Graphics 610 GPU. However, the video output is one HDMI and one VGA port. I had Ubuntu 18.04 installed on the same computer before and after some tweaking I got the VGA port to work on 1920x1080 stable and reliable. Now I installed Ubuntu 21.04 on the s ...

Score: 0
Roshin Raphel avatar
Brightness goes to max while watching youtube after setting it to a lower values using xrandr in Ubuntu
cn flag

I changed my brightness to a particular value using xrandr. But when when I start playing a youtube video, it goes to max automatically. This only happens the first time. The command I used is

xrandr --output eDP --brightness 0.6

I am using Ubuntu 20.0.4 LTS.

Score: 0
Where is this ghost output xrandr can't find?
cn flag

I'm running Ubuntu 20.04. At some point there was an issue with the graphics driver and I ended up using xrandr to add an output manually...

There is no longer an issue with the graphics driver but now Ubuntu whines continually that

xrandr: cannot find output "DP-1-1"

I've manually removed the "DP-1-1" entry in ~/.config/monitors.xml to no avail.

There are a number of other files floating around on ...

Score: 0
nPHYN1T3 avatar
Xrandr XScreens on Multi GPU
us flag

If xrandr is the way to set things up now how do you denote an XScreen (whatever the equivalent is) with it so multi GPU works? Every DE I've tried crashes, hard locks or does not draw to screen correctly if more than one XScreen is set now. So how do you make an xrandr style config with a single XScreen that understands / separates the GPU so things will work correctly?

The xrandr docs denote GP ...

Score: 0
Cybermade avatar
Gsd-color disable
mw flag

Is it possible to disable the gsd-colorprocess please ? this process keeps resetting my brightness with xrandr and i want to disable it on startup tried this :

  1. -- How-to -- The GNOME Settings Daemon's color plugin auto-start on/off switch is hidden by default. To make it visible:
  2. Open Terminal and type: sudo sed -i "s/NoDisplay=true/NoDisplay=false/g" /etc/xdg/autostart/.desktop ~/.config/autostart/ ...
Score: 0
Cryptid avatar
How can I create a virtually lower and letterboxed resolution?
dj flag

I have a screen which only accepts the 1920x1080 mode (others are garbled and adding custom modes does not work either). However, the screen has a centered viewable area of 1440x1080. That means the external screen crops the left and right.

I would like to make the resolution of that screen virtually smaller while keeping the same display mode, effectively adding letterboxes on the left and right ...

Score: 0
axyen avatar
Adding a new custom resolution - Error of failed request: BadMatch (invalid parameter attributes)
in flag

I'm new to Linux, I'm using Ubuntu 20.04 LTS I'd like to add a new custom resolution that I could choose in settings it's 1440x1080 75Hz (4:3 stretched) I tried using xrandr in terminal and at -addmode step I'm getting an error I was using this tutorial on YouTube - https://www.youtube.com/watch?v=pkzrQqT_lFI I have multiple displays (2 to be exact) I tried to do it while my secondary one was un-pluged  ...