Questions tagged as ['xrandr']
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 ...
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 ...
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 ...
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 ...
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 ...

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 ...
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 ...

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 ...

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 ...

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 ( ...
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
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 ...
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?

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 ...
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 ...

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!
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 ...
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 ...
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 ...

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 ...
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 ...
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 ...
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 ...
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 ...
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.

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 ...
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 ...
Is it possible to disable the gsd-color
process please ?
this process keeps resetting my brightness with xrandr and i want to disable it on startup
tried this :
- -- How-to -- The GNOME Settings Daemon's color plugin auto-start on/off switch is hidden by default. To make it visible:
- Open Terminal and type: sudo sed -i "s/NoDisplay=true/NoDisplay=false/g" /etc/xdg/autostart/.desktop ~/.config/autostart/ ...
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 ...
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 ...