Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [xrandr]

xrandr is a X Window System extension, which allows clients to dynamically change X screens, so as to resize, rotate and reflect the root window of a screen.

260 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
2 answers
10k views

Why do the command cvt and gtf give different frequency values

I am trying to setup a xrandr mode line for a X display but in attempting to find the appropriate parameters, I note there are two different calculation programs (see below). Why the difference in ...
mdpc's user avatar
  • 6,884
8 votes
1 answer
15k views

xrandr shows disconnected DisplayPort with Intel Graphics

I have 4 physical ports on my motherboard, VGA, HDMI, DVI, and DisplayPort. Normally I use HDMI and DVI, but I'd like to switch to HDMI and DP. However, the output of xrandr shows DP as always ...
DaleSwanson's user avatar
8 votes
1 answer
856 views

xrandr very slow when changing from laptop to monitor

I am using archlinux and i3-wm. I have a laptop connected with an external monitor via HDMI. I use the following commands to toggle the screens: From laptop to monitor (it takes 4.0sec): xrandr --...
milarepa's user avatar
  • 1,456
8 votes
1 answer
2k views

How to rename devices for graphical output such as VGA0

On my Laptop the names of my graphical outputs change depending on what chip is activated in the BIOS. This leads to problems in some scripts where outputs such as VGA-0 or LVDS-0 are specified. So I ...
ifschleife's user avatar
6 votes
1 answer
580 views

How to remember and easily switch between monitor configurations in KDE?

I've got two monitors and I'm using KDE. I use following monitor configurations: two monitors (one little bit lower than another one) for usual work the beautiful IPS monitor for movies the fast TN ...
kravemir's user avatar
  • 4,206
6 votes
1 answer
2k views

XRandR crops displayed area on certain multi-monitor configurations

I have total of four monitors. One (1680x1050) is connected to integrated Intel display adapter, and three (1440x900 and two 1920x1080) are connected to dedicated ATI display adapter. With certain ...
montiainen's user avatar
6 votes
1 answer
1k views

Due to a broken monitor, I need move my screen to the left

A fraction of the right side of my laptop screen is broken, in order to use only the good part the resolution needs to be about 1280x1024, aligned to the left. A simple xrandr -s 1274x1080 will get ...
Alfredo Enrione's user avatar
5 votes
0 answers
1k views

How to connect to a second monitor without restarting X?

Every time I have to connect to an external monitor, it remains "disconnected" according to xrandr and the second screen remains black. To solve this problem, I always have to close all my ...
Benjamin's user avatar
5 votes
1 answer
1k views

Can't setup monitor after reconnecting ThinkPad T570 to USB-C dock

I've got two monitors connected via DisplayPort to the dock. xrandr displays the external monitors as DP1-1 and DP1-2 and the laptop as eDP1. I set up my monitors with the following in ~/.xprofile: ...
l0b0's user avatar
  • 51.6k
5 votes
0 answers
1k views

Why does `xrandr` say I have 3 HDMI and 3 DP ports while I have only one HDMI and one DP?

This is what xrandr shows on my machine: $ xrandr -q Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 8192 x 8192 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 ...
user1042840's user avatar
5 votes
0 answers
2k views

How tell xrandr to let my mouse move between monitors?

I have both an internal and external display which I'd like to pass my cursor over. When I start the computer with the external connected, my display manager starts with the wrong DPI, and I have to ...
wdkrnls's user avatar
  • 457
5 votes
0 answers
529 views

Lost control of the windows sent to monitor on HDMI, which xrandr doesn’t detect

I have set two monitors—one is a usual monitor, and the second one is an HDMI TV. The configuration is done in a single xorg.conf file. The problem is that the second display seem to be working, i.e. ...
tijagi's user avatar
  • 932
5 votes
0 answers
616 views

xrandr detects amplifier as monitor

To help with setting up multi-monitor X I'm using a simple script to get screen resolution information using xrandr. This was working fine until I tried attaching an amplifier to attempt to use HDMI ...
l0b0's user avatar
  • 51.6k
4 votes
0 answers
1k views

How to drive an external monitor that does not send hotplug info over HDMI?

Since a few days I have the Dasung Paperlike HD device and after using it for one day I'm afraid the utility that comes with it, did something it shouldn't have done. Hot-plug events First, of all, ...
Anne van Rossum's user avatar
4 votes
0 answers
273 views

Replacement monitor not recognized in Debian, unless I "trick it"

I just got a new (to me) 27" monitor as an upgrade to my old 22" Acer (with the hope to eventually do dual monitors). The only way I can get it to work is to boot the PC (Motherboard: ASRock B450 Pro ...
Scott's user avatar
  • 141
4 votes
0 answers
343 views

Turn off LCD backlight so that mouse and keyboard do not wake the screen

I'm trying to accomplish what I had in my old ASUS U36SG laptop: an Fn key turned the screen off. Hitting any key or touching the mouse/touchpad wouldn't wake the screen, only the same Fn combination ...
Jeffrey Lebowski's user avatar
4 votes
0 answers
133 views

Assigning output number to X output

I am trying to manually assign an output index to my X output (monitor). xrandr does that for output 0, with the option --primary, what I am missing is an option --secondary. Background: I'm happy ...
Gauthier's user avatar
  • 870
4 votes
0 answers
3k views

Scaling only HiDPI display with xrandr in dual monitor set-up

I recently installed Linux Mint 18 on my ThinkPad T460p. Having a dual monitor set-up with a internal HiDPI display and a full HD external display connected via Display Port, I tried to adjust the ...
foobar's user avatar
  • 171
4 votes
1 answer
1k views

adding new resolution in multi monitor setup via xrandr

I have two monitors with different max. resolutions (2560x1440 and 1920x1080). In windows I am able to configure the max resolution for both monitors but in linux (manjaro, proprietary nvidia drivers ...
Marek Kordík's user avatar
4 votes
0 answers
840 views

Mirroring with xrandr with correct aspect ratio

I have two screens with different resolutions: 1920x1080 (16:9) and 1680x1050 (16:10). I would like to setup mirroring, so I scaled it like this: xrandr --output HDMI1 --primary --mode 1680x1050 ...
Fenikso's user avatar
  • 171
4 votes
0 answers
2k views

Why I need a framebuffer size larger then monitor size when transform destination area is smaller

I tried to remove 100px left & right the top of a 1366x768 screen (as below) using xrandr transformation. But I got an error about not enough framebuffer size. $ xrandr --output LVDS1 --fb ...
user.dz's user avatar
  • 1,875
4 votes
0 answers
31k views

"xrandr: Failed to get size of gamma for output default" for Guest CENTOS 6.6, HOST OS Windows 7 enterprise

I am getting the following errors: xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm ...
Dimag Kharab's user avatar
4 votes
1 answer
206 views

Run script after changes in X server geometry

Is there an option to run a given script after the X server geometry is changed (or every invokation of xrandr)?
arney's user avatar
  • 327
4 votes
0 answers
151 views

How to loop over display numbers in .xprofile?

Is there a simple command to get all the display numbers (and only the display numbers) connected to the computer? The use case is that I'd like to have separate colour profiles ~/.color/icc/${display}...
l0b0's user avatar
  • 51.6k
4 votes
0 answers
428 views

how to use xrandr to mirror just a part of my main screen?

I want to make a mirror of just a part of my main screen to another monitor with different resolution. So it will be necessary to crop the desired area and apply a transformation to fit the screen ...
LEo's user avatar
  • 140
4 votes
1 answer
866 views

How can I add additional resolution for my screen?

I tried to launch a game (GTA San Andreas) on wine. GTA showed Cannot find 800x600x32 video mode and closed immediately. The Computer I currently have is a Lenovo IdeaPad G510, with Intel HD ...
TN888's user avatar
  • 177
4 votes
0 answers
976 views

How can I crop a 1920x1200 monitor to 1920x1080?

I have just purchased a 1920x1200 monitor, and have some situations where I want to force the output to the more common 1920x1080. However, I don't want to distort the output, and would prefer a "...
Sparhawk's user avatar
  • 20k
4 votes
0 answers
2k views

Using xrandr freezes computer completely

I have the following problem: I have a laptop (open) with an external monitor connected. After boot, everything is perfect - the laptop screen is on the left of the external one and both resolutions ...
janoliver's user avatar
  • 1,776
4 votes
1 answer
2k views

Xrandr doesn't scale screen under Cygwin/X and Xming

The preamble: I have a very specific remote X client, that needs fixed resolution. 1280x1024, to say. And my notebook has 1440x900. And Windows aboard. So, the idea is to scale the output of the ...
Ярик Зюлин's user avatar
4 votes
1 answer
5k views

X11 - multiple monitors visible as one monitor

I have three monitors which are configured in xorg.conf this way: Option "metamodes" "DFP-4: 1920x1080+0+0, DFP-5: 1920x1080+0+1080, DFP-6: 1920x1080+0+2160" Is it possible to set two or even three ...
Irbis's user avatar
  • 441
3 votes
0 answers
354 views

Xorg specific tool to probe displays for PCI bus info?

This question came close to what I was looking for, but missed the mark. After some adventures trying to get device names as displayed from xrandr into xorg.conf I began to wish that there was an X11 ...
SeligkeitIstInGott's user avatar
3 votes
0 answers
706 views

Rename screen for xrandr

I have issues setting up my screens with xrandr. This is my xrandr output: DP-0.8 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm 2560x1440 59.95*+ ...
Fang's user avatar
  • 236
3 votes
0 answers
473 views

Brightness automatically getting changed

I am using ‘xrandr —output —brightness 0.7’ in Kali Linux to control brightness and its working cool but sometimes brightness is getting changed automatically and I am stuck here. Same happening in ...
Lakshmipathi's user avatar
3 votes
0 answers
3k views

Setting display scaling and resolution with xrandr

I just completed a fresh install of arch and I'm configuring the i3-gaps window manager. Using a 2560x1440 monitor, all the graphics (text, symbols, etc..) are really small and I'd like to adjust ...
noibe's user avatar
  • 387
3 votes
0 answers
13k views

xrandr "can't open display" when changing native laptop screen resolution

I am able to adjust the settings of any external monitors I connect with xrandr with no issues. But, my main laptop screen will go black upon changing any settings with xrandr. Upon booting into ...
will's user avatar
  • 31
3 votes
0 answers
1k views

Move screen to the left with `xrandr`

I am using a smaller resolution than my laptop monitor, so that I get black bars on both sides (left and right). Is it possible--with xrandr--to align the screen to the left, so that instead of 2 ...
nkkollaw's user avatar
  • 123
3 votes
0 answers
273 views

freeze while turning monitor off with xrandr

Question: How to turn one monitor off without freezeing the other? My specs are below. I have two monitors. I want to turn my left monitor off, but when i run: xrandr --output DVI-0 --off my left ...
Kossak's user avatar
  • 649
3 votes
0 answers
3k views

"Virtual Super Resolution"

I am looking to replicate the effect of "virtual super resolution". This seems to be a bit more commonplace in Windows systems (being built right into the Radeon Crimson driver provided by AMD). Being ...
Mythical Juggernaut's user avatar
3 votes
1 answer
5k views

xrandr scaling: blurry fonts when downscaling

Is there any option to downscale the monitor without getting blurry fonts? I am forced to work on 1366x768 monitor at the moment, which is painful due to low amount of content I can pack on my screen ...
Mikhail Krutov's user avatar
3 votes
1 answer
762 views

Use partial screen display

Due to a fault with my screen (white vertical bar, the rest is fine), I would like to be able to tell Linux (X and console) to only use part of the screen. Does anyone know if I can achieve this with ...
newtovaux's user avatar
  • 353
3 votes
0 answers
3k views

Multi-Graphics Cards, Multi-Heads, 3+ Monitor Display using Nouveau, GDM3 & Debian 8.6

After spending a lot of time dicking around with xrandr, I found a solution that "works" for me. I'm using this forum as a means to provide others the solution to my problem, as well as to ask my ...
ademca's user avatar
  • 39
3 votes
0 answers
3k views

xrandr not showing hdmi and vga port, external monitor not dectected

I'm trying to plug an external hdmi monitor to my laptop, but it's not detected... System: Ubuntu 14.04 Processor: Intel® Core™ i7-6820HQ CPU @ 2.70GHz × 8 Graphics: Quadro M2000M/PCIe/SSE2 Output ...
Hengwei's user avatar
  • 131
3 votes
0 answers
1k views

Cannot rotate one of my two displays with xrandr

I use Linux Mint 18.1 on a PC with (inxi -G output): Graphics: Card-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller Card-2: NVIDIA GK106 [GeForce GTX 650 Ti Boost] ...
einpoklum's user avatar
  • 9,615
3 votes
0 answers
589 views

Earliest I can run xrandr?

Every time I boot my laptop I go blind. I can use xrandr to set the brightness but it becomes a rather impractical. I also use LUKS so when I boot the computer I am always greeted with (from what I ...
Pithikos's user avatar
  • 3,304
3 votes
1 answer
6k views

HDMI signal showing as disconnected on Manjaro

I have been doing some research and it looks like my xrandr has some issues. The problem is I connect a HDMI monitor and it shows that is disconnected; somehow the port is not working properly. I'm ...
Rey Pena's user avatar
3 votes
1 answer
2k views

Where does Linux vncserver (Xvnc) get the list of geometry possiblities

I have looked through through parts of the code, and the places obvious to me, but I have not found the place that I can add legal geometries for a vncserver that I can set using xrandr. I have tried ...
ElderDelp's user avatar
  • 333
3 votes
2 answers
2k views

Low resolution in Debian

I installed Debian 8.3 LXDE today and I cannot adjust the resolution of my monitor. I have a 1920x1080 resolution, but allows you to install Debian to me only 1280x1024. I tried to make as here: https:...
drfels's user avatar
  • 131
3 votes
1 answer
2k views

Set up three (3) monitors in Debian

I have two identical external monitors, which I have tested in Windows.  They work perfectly with no extra configuration – just connect them and done.  When I boot to my Debian 8 OS with the three ...
T04435's user avatar
  • 31
3 votes
0 answers
2k views

xrandr won't recognize HDMI

System Spec OS: Debian 8 Jessie Computer Model: ASUS G46V Laptop Graphics Card: Nvidia Geforce GTX 660M (This only seems to be an issue with my nvidia systems) Current Video Drivers: Nouveau ...
Jay Holister's user avatar
3 votes
0 answers
213 views

How to set VertRefresh without restarting X?

Suppose a second monitor is attached to a running system, and the video driver has some trouble getting this monitor's EDID to get its limits of operation. The monitor has a native resolution of 1280×...
Ruslan's user avatar
  • 3,370

1
2 3 4 5 6