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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

Toggle screen resolution with a script, how?

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 ...
user avatar
0 votes
1 answer
49 views

xrandr: Failed to get size of gamma for output display

I have Ubuntu 22.04 with $ lspci | grep VG 08:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1) Today the resolution of the display was forced to 1024x728 (refresh ...
user avatar
  • 295
0 votes
0 answers
20 views

Dual monitor with different DPI causing overscan

I have a laptop with a 4k screen running Ubuntu 22.04 that I use with 200% scaling. The problem emerges when I connect a FHD (1920x1080) monitor into it. If I let fractional scaling disabled and set ...
user avatar
0 votes
1 answer
133 views

Multiple Monitor Setup Issue with xrandr and i3

I have a question regarding setup of xrandr with multiple monitors. I'm trying to get my new external monitor to work with my laptop. When I type the commands to use the external monitor to the left ...
user avatar
0 votes
0 answers
7 views

Find a way to move mouse through empty space in xrandr setup

I have the following setup of my monitors. Everything works in general, except I can't move my mouse through the spaces indicated in red. Is there way to set this up so that the mouse can move through ...
user avatar
2 votes
0 answers
30 views

Split one monitor into 2 mirrored monitors with xrandr

I'm in an odd predicament where I have one monitor that needs to be split into 2 monitors and mirrored. The splitting part is relatively easy as of XRandR 1.5 thanks to --setmonitor, but I can't ...
user avatar
  • 37
0 votes
0 answers
13 views

LXDE permanently duplicate screen

I need to configure a couple of Raspberry Pis, each having two monitors. These monitors are supposed to show the same content (duplicated screen). I configure it using this command: xrandr --output ...
user avatar
0 votes
0 answers
21 views

invert screen auto-rotate on acer 2in1 laptop

I have installed Ubuntu budgie 20.04 64bit on an acer 2in1 laptop. Everything runs out of the box: when I switch to vertical tablet mode, the screen rotates and deactivates the keyboard. when I switch ...
user avatar
1 vote
0 answers
60 views

Can't remove mode created by xrandr

I have an additional mode that I would like to remove. However, I cannot figure out how to remove the mode. I'm running: xrandr -q which gives me: Screen 0: minimum 8 x 8, current 4480 x 1674, ...
user avatar
0 votes
1 answer
57 views

xrandr - Issues using --left-of to set up a second display

I have two monitors, DP-3 with 2560x1440 resolution, and HDMI-1 with 1920x1200 resolution. I want HDMI-1 to be displayed to the left of DP-3. When I run xrandr --output HDMI-1 --auto --right-of DP-3 ...
user avatar
  • 1
1 vote
0 answers
39 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 ...
user avatar
2 votes
2 answers
443 views

How to correlate xorg.conf config for nvidia gpu with xrandr detected screens?

I have a situation with RHEL 7.9 and an RTX 2070 in an Alienware M15 that I haven't made much progress on lately. I downloaded the latest compatible driver from Nvidia (file name: NVIDIA-Linux-x86_64-...
user avatar
1 vote
1 answer
63 views

Configure 3 monitors positions with xrandr

I m currently trying to configure my 3 monitors on my i3wm set-up but for some reasons, it doesn't work. Here's my config: OS: Fedora Linux 35 (Thirty Five) x86_64 Kernel: 5.16.18-200.fc35.x86_64 GPU:...
user avatar
0 votes
0 answers
19 views

External Monitor disconnects when executing xrandr command on Thinkpad

I have Thinkpad e15 with two external monitors (BenQ GW2480 60) connected over a ThinkPad dockingstation (usb-c Gen 2) connected through displayport cables. Sometimes I want to have both external ...
user avatar
0 votes
0 answers
22 views

Keep same screen resolution after closing the laptop lid in xubuntu

xubuntu always switches to 4k when I close and open the laptop lid. I instead want the resolution automatically restored to whatever it was when I closed the lid. How do I accomplish this?
user avatar
0 votes
0 answers
469 views

xrandr: Configure crtc 0 failed when setting refresh rate

I have a Alienware m15 R6 laptop with RTX 3070. The builtin monitor is a 1080p 165hz panel. The native refresh rate is not detected what so ever. Not from GNOME Settings, neither from xrandr output ...
user avatar
0 votes
0 answers
42 views

Can the Wayland Compositor be split into 3 Separate components like in X?

Re: Display Servers with Wayland With what I've seen so far, it seems that there is: 1.) Display Server 2.) Windowing System (Renderer?) 3.) Window Manager Whereas on Wayland, the compositor ...
user avatar
  • 1
3 votes
0 answers
201 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 ...
user avatar
0 votes
0 answers
86 views

Script to set screen resolution by providing X and Y co-ordinates in RedHat

The goal is to provide resolution X and Y as arguments to the script ./res_set.sh 1920 1080 and gtf, xrandr --newmode and --addmode will be executed according to the script. #!/usr/bin/env bash if [ &...
user avatar
  • 1
1 vote
1 answer
373 views

How do I correctly transfer xrandr settings to xorg.conf?

I have run multiple xrandr commands to set all my monitors settings as I want them. Then I used autorandr to save the state to a config file printed here: hanke@debian ~ » cat .config/autorandr/3-...
user avatar
0 votes
0 answers
28 views

Monitor aux resolution - xrandr

I followed a tutorial, to display an undisplayed resolution from my auxiliary monitor (it's a desktop) using xrandr. I managed to change the resolution but the aspect ratio does not match and it shows ...
user avatar
1 vote
0 answers
57 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*+ ...
user avatar
  • 217
0 votes
0 answers
108 views

`setxkbmap` option stops working after plugging an external monitor

I've been having this rather annoying problem that I would like to at least understand. I have a laptop (Dell XPS 15 from 2017) with a spanish keyboard layout. I then have a usb c hub that connects it ...
user avatar
0 votes
0 answers
164 views

KDE Plasma on Arch - splash screen flickering resolution

When I log into my arch linux latptop running plasma DE with my external monitor connected the splash screen flickers and appears to change resolution. My screen resolution is set with xrandr in /usr/...
user avatar
  • 101
0 votes
1 answer
62 views

Is there a simple way to get my screen resolution?

I want to find a simple way to find the resolution of every monitor my computer is connected to. For example, the primary monitor on my laptop is LVDS-1. I know the resolution is 1366x768 because of ...
user avatar
1 vote
0 answers
35 views

Xorg/xrandr - combine screens but keep screen boundaries for Window maximising/placement

I have four screens in a 2x2 grid. This all works fine except for one thing - the window list on the taskbar. What I would like is to have taskbars on the bottom two screens that show all the windows ...
user avatar
1 vote
0 answers
57 views

xrandr: Add a virtual resolution?

I need to add a virtual resolution of 936x702. It must use the physical 1024x768 resolution and only render to the central 936x702 area. Is it possible? I'm building an arcade machine with an old PC ...
user avatar
0 votes
1 answer
109 views

xrandr detects monitor but no signal is shown

So at the boot of the system i put the hdmi out at the right of of another screen and it has worked thus far. Lately xrandr detects the output but the screen gives no signal. It's not a cable issue (...
user avatar
0 votes
0 answers
29 views

Raspbian Kiosk - how to strech lower resolution to 4K screen?

I have a Buster Raspbian in Kiosk mode, running chromium. Everything works fine, but the Kiosk content is designed for FullHD and not for 4K, so the proportions and font-sizes are off. Can i somehow ...
user avatar
  • 1
2 votes
1 answer
308 views

Rotating Display on Debian Buster from CLI

I am attempting to run an AvaloniaUI application on a version of Debian(Buster) on an ASUS TinkerBoard. The display I am using is a 7 inch 1920x1080p touchscreen display. The application runs in a ...
user avatar
1 vote
1 answer
815 views

How do I lower my screen refresh rate down to 60hz?

I'm running Pop!_OS 21.04 (Nvidia) on my Lenovo Legion 5 laptop. I want to reduce the screen refresh rate down to 60hz from its usual 144. I am able to do this in Display Settings on Windows, however, ...
user avatar
  • 113
0 votes
1 answer
652 views

How to overclock monitor by adjusting pixel timings on Linux?

This guide shows how to apply the timings, but it doesn't explain how to tune those timings. Adjusting monitor timings on Linux is different than with CRU on Windows.
user avatar
  • 169
0 votes
0 answers
143 views

Ubuntu 20.04 Not Detecting Both Monitors and Display Options

I was using two monitors on my ubuntu 20.04 machine. After a poweroff, the system is not recognizing two monitors anymore. I did a sudo update-grub but it just made the ubuntu to startup on the other ...
user avatar
0 votes
0 answers
31 views

xrandr - cvt: Where is the official place to get the complete correct list of WxH resolutions?

I watched some video tutorials on youtube about the xrandr command and appears the cvt command too. About the latter it uses the WxH (Width x Height) value to get the settings to be applied to the ...
user avatar
0 votes
0 answers
51 views

When ctv vs gtf?

I watched some video tutorials on youtube about the xrandr command and appears the cvt and gtf commands too. When is mandatory use one over the other?
user avatar
0 votes
1 answer
195 views

Simple way to query which monitor is currently focused

I'm wondering if there is a tool which can query which monitor is currently focused. I'd like to have a script which changes the wallpaper on the monitor I am currently on (using xwallpaper). From ...
user avatar
0 votes
1 answer
218 views

xrandr - Doesn't Properly Move Monitors

I have a fresh install of Arch Linux running on my desktop machine which has 3 monitors. I have installed X with xf86-video-nouveau (since I have an Nvidia RTX card) and have chosen bspwm to be my ...
user avatar
0 votes
0 answers
307 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 ...
user avatar
0 votes
0 answers
40 views

How do i get three screens working at the same time?

I have a work-laptop, HP Pavilion g6, that uses arch with i3wm, and i would like to have three screens working at the same time (internal display, one connected via HDMI and one via VGA). when trying ...
user avatar
0 votes
0 answers
132 views

Multiple concurrent X/Wayland users on different monitors?

Scenario: I'm running KDE5 on OpenSUSE Tumbleweed with separate "work" and "personal" accounts. I'm logging into these concurrently on TTY7 and TTY8 and can switch between them ...
user avatar
0 votes
0 answers
97 views

Delete xrandr wrong monitor setting

I added a resolution to wrong monitor setting with xrandr command and couldn't delete it. I need to add a resolution to VGA1 which 1440x900 but can't do it because (I think) already added one. Also, ...
user avatar
1 vote
0 answers
142 views

xrandr panning with dual monitors

I would like to set up vertical panning on my laptop screen (eDP-1, native resolution 1920x1080), while using a secondary screen (HDMI-1) in its native resolution. Following this answer, I have tried ...
user avatar
1 vote
2 answers
446 views

Xorg and xrandr detect a connected monitor that doesn't exist

I'm on a laptop with no additional monitors connected, but when I run xrandr -q, the output lists two connected devices. Xfce's Display settings dialog also shows two monitors, and so does Xorg.0.log. ...
user avatar
  • 365
0 votes
0 answers
18 views

(How To) xrandr syntax for defining GPU's as you would with XScreens?

It seems all top end (things like DE's) are depreciating XScreen/Xorg functionality which has broken multi GPU on all Linux distros I've tested (debian,fedora,arch). As xrandr/Wayland "single ...
user avatar
  • 19
2 votes
1 answer
77 views

How can I have two mirrored displays (laptop screen + TV monitor) with different resolutions?

My output of xrandr is: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 340mm x 190mm 1366x768 60.02*+...
user avatar
0 votes
0 answers
32 views

xrandr crashes x11

Using the built-in display tool, changing fractional scaling at all crashes x11 and it crashes cinnamon and I have to restart. Using xrandr to change the scale makes the screen "overflow". ...
user avatar
0 votes
1 answer
300 views

How to setup :0.1 virtual display on-the-fly in X

I want to create a virtual monitor, add it to my current display as a seperate screen (In X sense) and share it over VNC. Now what I want to do is neatly described below in Arch Linux Wiki article on ...
user avatar
0 votes
0 answers
136 views

manipulating wayland inside scripts

I am running Ubuntu 21.04 on a Lenovo Thinkpad X1 Tablet using Gnome. On Ubuntu 20.10 I had a series of bash scripts I would run to set up different xorg and xinput configurations depending on what ...
user avatar
0 votes
0 answers
46 views

Playing with xrandr, now I can't start desktop environment (Arch Linux)

I was playing around with xrandr, trying to get my ideal dual monitor setup. I had switched my laptop resolution to match the second monitor display (1920x1080), then I switched it back to 4K, but dwm ...
user avatar
3 votes
2 answers
728 views

Understanding the output of xrandr --query

I called the xrandr --query command in the shell to find out display-connectors and displays connected. It is displayed: Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 LVDS ...
user avatar

1
2 3 4 5
11