Questions tagged [xrandr]

xrandr is part of the X-windows system. Use this tag for root window re-sizing problems and solutions. xrandr is both a stand-alone program and an X-windows extension. The extension must be present for the program to work.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
28 views

Would switching a video output off using xrandr save power?

If a monitor that is connected to a Linux PC is switched off, the video output stays active, according to the output of xrandr. Would executing xrandr --output HDMI-1 --off save a measurable or even a ...
Juergen's user avatar
  • 572
0 votes
0 answers
44 views

xrandr refuses attempt to addmode

Hi I have a monitor that doesn't seem to report all the video modes it's capable of. I have been able to trick my display system (in Ubuntu 22.04) into believing it's capable of these modes by adding ...
Toby Eggitt's user avatar
0 votes
0 answers
92 views

Monitor requires xrandr command to turn on every time it turns itself off to save power

Problem: A monitor fails to turn back on after going into power saving mode. I physically turn on the monitor, and it displays "No signal". Note that when this happens, the computer itself ...
AlphaCentauri's user avatar
0 votes
0 answers
254 views

Bash Script to Detect Monitor

I am trying to write a bash script to detect a monitor. I was able to find it with Xrandr but am not sure if this is the right method and unsure how to get the terminal to open in designated monitor. ...
user avatar
3 votes
1 answer
370 views

How to achieve 'split screen' capabilities (for gaming) on Linux

I'm trying to simulate the behavior of universal split screen, which is for Windows only on Linux (Fedora, preferably Gnome/XOrg) I found a lot about xrandr, Xephyr and xinerama, but while all ...
frans's user avatar
  • 1,039
0 votes
2 answers
303 views

How can I vertically shift my second display with xrandr?

I am running i3wm on Ubuntu 22.04 and have a script that I can manually trigger to add my second monitor if it's connected. if [[ $(xrandr | grep -c "HDMI1 connected") -eq 1 ]]; then ...
icedwater's user avatar
  • 147
0 votes
1 answer
192 views

Keeping the Screen Turned off While Getting Inputs

I need to run a set of (graphical) benchmarks with the screen disabled. The following command did not work: xset dpms force off Because any keyboard/mouse input would re-enable the screen. The other ...
TheAhmad's user avatar
  • 101
1 vote
1 answer
1k views

Can't remove phantom display "None-1-1"

I'm using arch with gnome and I've been noticing my mouse disappears when moved to the right. It doesn't just stops at the last pixel it actually "goes off" my screen. In my gnome settings I'...
raacee's user avatar
  • 11
1 vote
1 answer
732 views

How to configure Xorg and xrandr providers to the same screen?

I have two GPUs in my desktop computer, Radeon VII and a Radeon R7. $ lspci -knn | grep -iA3 VGA 05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 ...
Evgeny Zislis's user avatar
1 vote
1 answer
173 views

Can Linux detect if a display is currently showing the output from pc?

Let's say I have TV connected to both my game console my PC, and TV is currently showing input from game console. Is it possible to tell if TV is currently showing input from my pc? It doesn't have to ...
tmvkrpxl0's user avatar
2 votes
1 answer
11k views

Xrandr: can't open display (trying to add fake display)

I've installed Ubuntu 22.04.2 LTS on my PC. There's a scenario that I need to access this PC using Moonlight and Sunshine when there's no monitor connected to my GPU. Sunshine is the host streaming ...
Lucas Scheepers's user avatar
1 vote
0 answers
750 views

Set custom resolution without stretching on HDMI TV on Linux

I have been struggling without success to set a custom resolution on Linux on my laptop to my TV connected via HDMI. My use case is I have a huge 55 inch TV and would like to use it as an ultrawide ...
Martins.A's user avatar
1 vote
0 answers
234 views

Colors red in external monitors - Ubuntu 22

I have a Lenovo extreme gen3 with ubuntu 22 installed. I have an external monitor at home where the colors are perfect. The weird problem is that all the external monitors other than my one at home, ...
lorenzo merici's user avatar
0 votes
0 answers
941 views

VMware Workstation - Xrandr: Can't open display

I'm stuck trying to make Sway work on a fresh installation of arch linux, running on VMware Workstation 16. It looks like there is no Virtual-1 display that I specified in advance for Sway's config. ...
malyjak's user avatar
0 votes
1 answer
1k views

Screen resolution stuck at 640x480 after installing Ubuntu on QEMU

I recently installed Ubuntu 22.04 under QEMU. In the "Try Ubuntu" stage, I was able to open a terminal and get a good screen resolution using xrandr -s 1920 1080. Once Ubuntu is installed ...
Zorgoth's user avatar
  • 151
0 votes
0 answers
2k views

Likely Xrandr: How to create a single virtual monitor on linux so that APIs don't see the physical ones anymore? Not by xorg conf files

I need to have a single virtual monitor on linux. External APIs or apps are not allowed to recognize that two or more physical monitors are attached. Think like Teamviewer not seeing multiple monitors ...
Bas's user avatar
  • 1
1 vote
0 answers
370 views

Presenter setup with i3 and xrandr

I am in need of some xrandr magic, I guess: I am using the i3 tiling window manager on a Linux notebook and am looking for a way to produce the following result: On my notebook screen I'd like to have ...
Alex W.'s user avatar
  • 11
0 votes
2 answers
224 views

if-then statement in bash to toggle screen resolution

How do I phrase a script that checks screen resolution with xrandr and changes resolution depending on what it is currently? Which is to say, toggles the resolution. Sample output of xrandr -q ...
Jonathan Strange's user avatar
1 vote
1 answer
701 views

How to resize and move screen picture away from the crack of partially broken monitor using xrandr in Debian 11?

My laptop screen is broken, having a crack at its left side. Due to this only 2/3 of screen width is properly showing the picture, while 1/3 of left side has black spots. I'm using Debian 11 OS, so I ...
kulibabav's user avatar
1 vote
2 answers
2k views

Mouse Cursor flickering in Popos (Ubuntu 20.04 )

I started using a second Monitor alongside my laptop's monitor, since then the pointer of my mouse started blinking, (appears and disappears very fast) which is annoying. Some answers to similar ...
Abdel-hilmi's user avatar
3 votes
0 answers
866 views

xrandr — Treat multiple monitors as separate screens

I have two monitors: Laptop monitor 1920x1080 External monitor 2560x1440 connected with Display Port cable Output of xrandr: Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767 HDMI-...
Stepii's user avatar
  • 31
0 votes
0 answers
72 views

Arch Linux on Pi4 double display

I'm trying to build a Qt double display Application on Raspberry Pi4 with Arch linux. But my Rasp cannot find the two HDMI displays. " [root@trolly home]# xrandr Can't open display " How can ...
Olly's user avatar
  • 1
0 votes
0 answers
2k views

How can I permanently set xrandr monitor position?

I have two monitors on my setup (Arch Linux). I have my main screen in front of me and a secondary screen to the left. On startup, X session assumes that monitor 2 is on the right. I can change this ...
Deez's user avatar
  • 1
0 votes
1 answer
3k views

How to calculate modeline using cvt for 75hz without multiples of 60hz

I'm trying to see if my LG 32UL500-W monitor will overclock beyond 60hz. It looks like DisplayPort 1.2 handles 4k at 75hz. When I run xrandr --verbose, it shows me the default VESA mode for 4k 60hz: ...
dwightjl's user avatar
  • 111
0 votes
1 answer
2k views

Mirror screens at higher resolution (Ubuntu)

On Ubuntu 20.04 I have 2 screens, a 4K (3840x2160) TV and a 1080p monitor. I want to have them mirrored with the TV as the primary screen and the 1080p as a backup. And I want the image to be rendered ...
Guiorgy's user avatar
  • 113
0 votes
1 answer
324 views

Second monitor cuts off borders

My NVidia card has two outputs: DVI and DisplayPort. The DVI port goes directly to the DVI-input of the monitor and has no problems. The DisplayPort has a DP-to-DVI adapter, with a DVI-to-HDMI cable ...
Mikhail T.'s user avatar
0 votes
0 answers
29 views

Where is HDMI2 output in Mi Notebook pro i7/16gb?

I've Mi Notebook pro i7/16gb. Now I can connect 2 external monitors via HDMI1 and DP1 outputs. $ xrandr eDP1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 340mm x 190mm ...
Dmitry Gashko's user avatar
0 votes
1 answer
486 views

Screen resolution and DPI

I'm a little confused as to how screen resolution and DPI work. It seems to me that for a given display, once you set the screen resolution the dpi should also be fixed. However, xrandr allows you to ...
Dargscisyhp's user avatar
1 vote
0 answers
2k views

xrandr multiple screens not working

Yesterday I updated Arch Linux (Kernel: 5.10.3-arch1-1) and now I have a strange issue with xrandr. The second monitor is not working. xrandr shows me that HDMI is connected and shows available ...
truefalse's user avatar
  • 126
0 votes
1 answer
1k views

xrandr set a new virtual monitor: X Error of failed request

I'm trying to set a new virtual monitor with xrandr and I get the following errors: $xrandr --setmonitor VIRTUAL1 1366/256x768/144+0+1080 none X Error of failed request: BadValue (integer parameter ...
freddie_ventura's user avatar
0 votes
1 answer
353 views

An attempt to switch to a doublescan X11 modeline fails with "Configure crtc 0 failed"

I have a modern 1920x1200 LED display, capable of up to 96 kHz HorizSync, up to 76 Hz VertRefresh, and up to 205 MHz pixel clock. Apart from its native resolution, the display can also run in ...
Bass's user avatar
  • 642
0 votes
0 answers
202 views

Is it possible to have two different audio outputs running simultaneously , one of them using HDMI and the other using Jack?

i am using a laptop and I have one LED TV attached to it,connected via HDMI to my graphics card (GTX 950) I am using archlinux and I intend to run two different instances of vlc (or any other media ...
Kagha's user avatar
  • 1
4 votes
1 answer
4k views

Three monitor setup in Ubuntu 20.04

I have a Lenovo Thinkpad E531 running Ubuntu 20. I want to connect two external monitors using the VGA and HDMI connectors on the notebook. The problem that I am running into is that xrandr won't ...
MHa's user avatar
  • 41
0 votes
1 answer
425 views

Xrandr: How to make two panels in a multi-panel display play nice together?

I'm trying to drive a 5K thunderbolt display (LG Ultrafine 5K) on a Thinkpad X1 Carbon 8th Gen (with an Intel UHD igpu) running NixOS and i3/Xorg. This is a display that's made up of two separate ...
gosha's user avatar
  • 101
3 votes
0 answers
863 views

Merge 3 physical monitors into one virtual monitor on Gnome

I have 3 1080p monitors. I am Using Manjaro GNOME, but I would use Ubuntu if that's the only solution. I would like to combine them into a single display, à la eyefinity/xinerama. I understand I can ...
SEMANTICALLY_INVALID's user avatar
2 votes
0 answers
626 views

Using xrandr, is it possible to use only part of a secondary monitor without panning

there are a few other questions that talk about this but most of them are not for secondary monitors, or at least they don't seem to be, and I've hit a point where I'm not sure if I'm missing ...
MalucoMarinero's user avatar
0 votes
1 answer
4k views

Wrong monitor resolution on startup Arch Linux

I have a problem with my Arch Linux, (probably it was my fault, I may or may not have uninstalled something). The problem is that every time I boot up the screen resolution is set to a very low one. ...
polmonroig's user avatar
1 vote
1 answer
406 views

xrandr: aligned bottoms of monitors with rotation => mouse / artifact issues

I used the solutions in this question to align my two monitors. My left monitor is High DPI 3840x2160 while the right is scaled 2x from 2560x1440 and rotated to portrait mode; they share a bottom edge....
roufamatic's user avatar
0 votes
1 answer
2k views

debian cannot detect HDMI port with nvidia hybrid set up

On my laptop I have installed bumblebee-nvidia (optirun) which works fine when I use only laptop screen. But when I connect a monitor to HDMI, nothing is changed, xrandr (nor optirun xrandr) does not ...
C Chorche's user avatar
0 votes
2 answers
2k views

Raspberry Pi - Resolution Issues

Background of Problems I currently have a Raspberry Pi hooked up to a touchscreen LCD panel running FullPageOS which basically is Debian that starts up with Chromium at full screen to a desired ...
Eric F's user avatar
  • 3,330
1 vote
1 answer
725 views

Desktop of 1080p external display only covers a quater of screen [Using xrandr]

I used to use Ubuntu for my development environment, as I have a new workstation I have decided to switch to Manjaro, with a KDE GUI. When I used Gnome, I used a tool named xrandr-extend in order to ...
Duke Jake Morgan's user avatar
0 votes
1 answer
206 views

Can xrandr/autorandr distinguish different monitor models connected to the same output?

I have a laptop with which I connect to a monitor at home ad at work. In both cases I use the same HDMI out for connecting the monitor. The one at the lab is 1440p/60hz and the one at home is 1080p/...
Materia Gravis's user avatar
0 votes
1 answer
564 views

X11 & Cinnamon: Set different rotation as normal value for display

Short version: Can I set Cinnamon, or X11, that 'normal' for my touchscreen is actually 90° counterclockwise, ensuring this is not forgotten after a rotation? Could I also set this system wide, ...
Gymnae's user avatar
  • 1
0 votes
1 answer
2k views

Resize screen virtually (xrandr)

The screen of my macbook is broken. The right hand side is black (dead pixels) and so is a small part of the bottom. See image. If I watch a movie in full screen, I cannot see right part of the ...
user1603548's user avatar
1 vote
0 answers
7k views

How to change display resolution and set permnent in MX Linux?

I'm using MX Linux now. Usually i'm used to 1152 x 864 resolution, which is not among the default resolutions. So every time when i install a linux os i edit and save the ~/.profile to add xrandr ...
Sathish Kanna's user avatar
14 votes
5 answers
14k views

How to use xrandr to crop part of my monitor

The top of my monitor is physically obstructed by a bezel. I want to use xrandr to redefine the display resolution (height only) to restrict it to the viewable portion of the monitor. The monitor ...
Greg S's user avatar
  • 149
2 votes
0 answers
303 views

Multiple monitor configuration lost in plasma desktop after reboot

I am using the Fedora 30 Beta KDE spin with plasma 5.15.4 and trying to set-up a persistent configuration of my 3 desktop monitors with the built-in systemsettings5. However, once in a while after I ...
sryscad's user avatar
  • 121
0 votes
1 answer
950 views

How many displays I can use at the same time?

I know from xrandr command, that my graphic card supports maximum resolution of 16384 x 16384px: $ xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 But how can i check ...
Optize's user avatar
  • 1
2 votes
0 answers
292 views

How do I hide an HDMI display via xrandr but still allow sound from that HDMI cable?

I completely failed at getting sound to come out of my Ubuntu 18 computer from the motherboard, from an internal sound card or from a USB sound adapter. Zero sound from any of those. What finally ...
Mori's user avatar
  • 121
3 votes
1 answer
3k views

Desktop displays incorrectly after screen resize in KDE5 Plasma. KDE4 worked correctly

I have a dual monitor setup. Native resolution is 1920x1080. So the complete screen area is 3840x1080. I can set up this with System Settings in KDE or with xrandr. Works as expected. For various ...
Johannes Linkels's user avatar