Questions tagged [xrandr]

Official configuration utility for x.org.

860 questions
53
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
  • 6,981
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…
7
votes
3 answers

When will xrandr version 1.5.1 be available in Ubuntu?

I guess this is more of a question of where do I go to find out when xrandr version 1.5.1 will be published in Ubuntu? It's already available in Arch Linux and was released in August 2019. There is a bug from 2010 I want to have fixed. Ubuntu…
7
votes
3 answers

Can I automatically generate a command-line for xrandr based on the current set-up?

I wrote a set-up script for my dual screen set-up some while ago, for when X went bonkers and I needed to restore sanity, but I just found a spare monitor and worked out I can use DP from a USB-C port I didn't know I had. It suddenly occurred to me…
4
votes
0 answers

xrandr - cannot find mode, but mode listed by xrandr

If I execute xrandr, I get a list of resolutions supported on my monitor (I only have one). For most of these resolutions I can excuted 'xrandr --output eDP-1-1 --mode res' and it works. But for some resolutions on the list, I get an error back…
3
votes
1 answer

Xrandr configuration in .bashrc not running until I open a terminal?

I have the following in my .bashrc file... # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # multi-monitor configuration xrandr --output HDMI1 --mode…
TaylorOtwell
  • 2,095
2
votes
1 answer

Select Screen 0 with xrandr

I have a multi screen : xrandr Screen 0: minimum 8 x 8, current 3286 x 1080, maximum 16384 x 16384 eDP-1-1 connected primary 1366x768+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm 1366x768 60.00*+ 1360x768 59.80 …
Bussiere
  • 211
2
votes
0 answers

How to fix xrandr error when trying to create new mode?

Attempting: sudo xrandr --newmode 1152x864_60.00 81.75 1152 1216 1336 1520 864 867 871 897 -hsync +vsync Gives me: X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 140 (RANDR) Minor…
2
votes
0 answers

Low resolution on second monitor, xrandr throws error

When I connect an external monitor to my laptop through VGA cable, it has extremely low resolutions and no higher options to choose from. I tried the following (based on this; other sites just suggest the same approach) (restarting doesn't help) $…
Mark
  • 293
2
votes
0 answers

achieve "xrandr --set underscan on" with "xrandr --transform"

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…
elkevn
  • 91
2
votes
0 answers

How do I run xandr command on startup under LXDE, Ubuntu 18.04 Kernel 5.4.0-58-generic?

I have tried to run the following command, for a dual monitor set up, on Uxterm terminal manually once Ubuntu 18.04 Kernel 5.4.0-58-generic has started up and it works fine: /bin/bash -c "sleep 60&&xrandr --output HDMI-1 --primary --mode 1440x900…
2
votes
2 answers

Enable dual monitor on a broken screen

Ive installed Ubuntu on a notebook with a broken display with the help of an external monitor. When booting, the external monitor shows everything fine, but when the login appears, it stops output to the monitor. It seems that I can configure my…
1
vote
1 answer

meaning of xrandr stdout

Below shows the output from issuing the command xrandr -q: Screen 0: minimum 8 x 8, current 1600 x 900, maximum 16384 x 16384 DVI-I-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 disconnected (normal left inverted right x axis y…
Sun Bear
  • 2,302
1
vote
0 answers

Change useful size of screen, due to broken zones

Is there a way to output image to the part of the screen? For example - change resolution to 800x1200 and output it to the right side of 1600x1200 screen. Some option in xrandx, probably?
1
vote
1 answer

xrandr transform not working properly

I am trying to keystone the display using the xrandr utility and transform option. The command I used was xrandr --output LVDS1 --fb 1366x768 --transform 1.171527,0.152543,-117.152659,0.000000,1.171527,0.000000,0.000000,0.000223,1.000000 Basically,…
janice47
  • 11
  • 3
1
2