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.

learn more… | top users | synonyms

2
votes
0answers
19 views

How can I make xrandr modifications persist for more than 1 second?

Updates: This question describes similar symptoms Ubuntu - Xrandr doesn't change my resolution, but it seems like the underlying cause is different as there are no changes to my Xorg-log files ...
3
votes
1answer
51 views
+100

Automatically switch display on lenovo docking and linux

I have a lenovo thinkpad with nvidia optimus and a mini docking station series 3. I want that while docked, it should automatically switch to an external monitor if possible and if I undock it, it ...
6
votes
5answers
17k views

Mirror dual monitors with different resolutions

I use the following xrandr command to mirror my 17" laptop with a 27" external monitor, so I can use it to do presentations: xrandr --output LVDS1 --mode 1600x900 --output HDMI1 --mode 1920x1080 --...
4
votes
1answer
724 views

What is the xcalib -screen number for the HDMI monitor?

I must use a VGA-to-DVI cable and a HDMI cable to run two monitors. I'm trying to invert the colors on both monitors but I can only invert one of them: $ xcalib -invert -alter -s 0 #works $ xcalib ...
1
vote
1answer
21 views

How to control X11 viewport from an application

Suppose we have an X11 display configured in panning mode. E.g. xrandr --output LVDS1 --mode 1920x1080 --panning 4096x4096 Is there a way to move the visible viewport from a user application (...
6
votes
1answer
343 views

Due to a broken monitor, I need to setup only the right half of my screen

The left side of my full hd monitor is broken, in order to use only the good part the resolution needs to be 1274x1080, aligned to the right. A simple xrandr -s 1274x1080 will get the right ...
1
vote
0answers
11 views

can RandR display two parts of the same screen on one display?

Can I use RandR to display two different parts of the same screen twice, at different offsets, on one display? The desired display is a Head-Mounted Display (HMD) that is normally used for 3D ...
3
votes
1answer
1k views

How to setup x11 touchscreen in linux desktop?

I am using opensuse desktop with two screens, top and bottom. Only the bottom screen is touchscreen, which is USB touchscreen. Both monitors are used as a single screen. I tried to configure the touch ...
2
votes
0answers
11 views

Setting primary screen in middle of three-monitor-setting

While googling to solve my problem I came across the stack post here. However, my setting is a little different: ----- | D | | V | -------- ---------- | I | |HDMI-1| |Notebook| | - | --------...
0
votes
0answers
44 views

Help on negative numbers in an if statement

I am writing a script to automatically rotate the screen using a laptop's built-in accelerometer. Currently rotating the laptop in one way works, (and it also goes back to normal when putting it back ...
1
vote
0answers
10 views

Changing between two xsessions is very slow if external monitor is connected

If I login via lightdm into an xmonad session and then switch to another user, two xsessions are running and I can switch between them via ctrl+alt+f7 resp. f8. This is very fast (< 1s) on my ...
2
votes
0answers
14 views

How can I clone a specific work space to other outputs?

I am using i3-wm with Archlinux, and I nowadays are wandering that: is it possible to clone a specific work space to another output(monitor)? It is different from --same-as as well as --left-of --...
2
votes
1answer
20 views

What does the --size parameter of Xrandr do?

After connecting a secondary display by VGA, I tried to change the resolution of that display so it would be closer to the size of my primary (laptop) display. For this, I thought to try the --size ...
1
vote
1answer
88 views

Why does querying xrandr briefly freeze the screen?

Every time I run xrandr --query my screen freezes very briefly. It's enough to be jarring if I'm watching an animation or a video -- which sucks, because I have a script querying xrandr every 3 ...
2
votes
0answers
45 views

How can I get my Optimus-addled NVIDIA card to offer output via xrandr?

I have a laptop that is crippled with NVIDIA Optimus. I'm not greatly interested in saving power so I'd be willing to turn on the NVIDIA chip permanently, but my BIOS does not offer that option. ...
3
votes
2answers
211 views

Is it possible to configure a 'scaled' desktop in xorg.conf similar to using xrandr's scale-from option?

I have a 14 inch ultrabook with a resolution of 2560x1440. I currently run Gnome 3.16 in HiDPI mode with a scaling factor of 2. Since I'm unable to specify a factional scaling factor, like 1.5, I've ...
0
votes
0answers
33 views

Automatically change screen resolution when the laptop is plugged on the docking station

My setup: Dell e4200 laptop with debian, 13" screen @ 1280 x 800 Dell docking station with 24" screen running @ 1920x1080 The problem whenever I use my laptop off the docking station it works ...
1
vote
1answer
2k views

Why are these xrandr commands not working?

I wonder what I am doing wrong. It seems that the video card toggles it through the monitors and resolutions by itself so I want to eliminate the options and leave just the ones I use. As you can see, ...
0
votes
0answers
29 views

NixOS: Screen connected over USB-C stays black

I've got a Dell XPS 13' (9350), with a Dell USB-C to HDMI adapter, connected to a screen. I'm running NixOS with XMonad. The screen (set to HDMI input) shows "no input signal" despite: xrandr ...
2
votes
1answer
1k views

xrandr can't open display in running X session [closed]

My external monitor is periodically flickering and I'm trying to debug it by reducing the refresh rate with xrandr. However, when I run xrandr from within an active X session, the only output is "Can'...
2
votes
1answer
158 views

Extension “RANDR” missing on xvfb

My system: $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty Xvfb: $ dpkg -s xvfb Package: xvfb ...
1
vote
0answers
22 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 ...
37
votes
11answers
17k views

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
1
vote
0answers
66 views

Black screens using xrandr for multiple displays with HiDPI in Linux Mint

My setup uses 3 Monitors in Linux Mint. Left is a TV, using 1080p, connected via HDMI-0, centered a 4k monitor via DP-1 and the right one is again a 1080p monitor via DVI-D-0. xrandr --output HDMI-0 -...
1
vote
0answers
55 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 ...
3
votes
0answers
37 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 ...
1
vote
0answers
41 views

Setting monitor active with HDMI Splitter

I've recently bought a hdmi splitter the splitter is inactive, which means only one screen can be active at a time. It's starting to get frustrating that my tv seems to have a higher priority than ...
0
votes
0answers
21 views

Mouse stuck while moving it to second monitor

I'm having troubles with the mouse moving across my two monitors with Nvidia proprietary drivers. Mouse just doesn't move from the first monitor to the second. (I'm running Apricity OS). I can move ...
4
votes
2answers
916 views

xrandr: where does VIRTUAL1 output come from?

Executing xrandr shows me the outputs my graphics card has, but also a VIRTUAL1 one: $ xrandr Screen 0: minimum 8 x 8, current 4160 x 1024, maximum 32767 x 32767 eDP1 connected 1600x900+0+0 (normal ...
1
vote
1answer
112 views

xrandr rotate left right faild

I have an X1 Yoga with a 14'' WQHD and I want to rotate the screen to use it with the stylus but xrandr fails to rotate. xrandr --output eDP1 --rotate <orientation> works for normal and ...
0
votes
0answers
46 views

xrandr does not set a new resolution (switch back automatically)

I have a Dell Inspiron 15R with a dual-boot Ubuntu 15.10/Windows 7, but the HDMI port broke (it does not appear with xrandr on Linux nor on Windows). So I used a VGA cable but the resolution seems to ...
10
votes
3answers
12k views

Cannot add new mode in xrandr for external monitor

Today I was trying to connect my second monitor to my notebook. I have: nvidia graphic card 304.43 drivers [support xrandr 1.2] archlinux [up-to-date] awesome wm xrandr 1.3 My problem is with ...
1
vote
1answer
113 views

Ubuntu - Xrandr doesn't change my resolution

I'm trying to change my resolution using xrandr command line but when I type in a terminal xrandr --output LVDS1 --mode 1600x900_60.00 (which I added using --addmode), it doesn't change my resolution ...
0
votes
1answer
96 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:...
1
vote
0answers
43 views

Running a unified X display across two separate video cards

I'm trying to set up a triple-head configuration using an ATI X1300/X1550 (RV515) workstation card (ID 1002:7183) alongside my motherboard's integrated Intel HD 2500 (ID 8086:0152). Thus far, my ...
0
votes
1answer
59 views

Trouble with Screen Rotation Script

I am running Antergos linux with Gnome 3.18.2 on a Dell XPS 12 Convertible laptop/tablet, and am working on making the screen rotation more convenient. I pulled a version of the following script from ...
0
votes
2answers
1k views

How to change LCD intensivity/brightness

How to change brightness of LCD want image look deemed and soft the xrandr --output LVDS1 --gamma 0.8:0.8:1.1 change only gamma but not the brightness of image. I have no option --brightness for ...
0
votes
0answers
83 views

xrandr not scaling / transforming display

I am trying to work out how to use xrandr transform and other options (Ubuntu 14.04.4, ATI Radeon HD5450 graphics, open source driver, lightdm). I have found the following (man xrandr): ... in other ...
1
vote
1answer
918 views

Intel HDMI monitor not recognized

The problem I've got two graphics cards in my computer: Nvidia GTX 580 Intel Graphics (onboard) The Nvidia part is working fine: plugged in a DVI cable to my monitor and everything works ...
-1
votes
2answers
61 views

Is the current screen resolution saved to a file anywhere?

I'm trying to do a low level set of functions to get and set the display resolution, and I was wondering if there was a file that contains only the used resolution and that could be used to change it. ...
2
votes
1answer
95 views

Set up Three monitors in debian

I have two identical external monitors which I have test in windows and they work perfectly with no extra configuration just connect them and done. When I boot to my Debian 8 OS with the three monitor ...
1
vote
0answers
69 views

How can I override xrandr selecting lower than the preferred resolution?

When I connect an external screen to my laptop using HDMI, the default resolution selected is not the maximum resolution - even though this resolution is listed under the available modes: HDMI1 ...
12
votes
1answer
746 views

How to modify the default setting adopted by xrandr when connecting an external monitor?

I am confronted with a problem when connecting the external monitor while the computer is open. At that point it seems that xrandr adopts one of the combinations that do not work. As a workaround to ...
3
votes
0answers
118 views

Dual monitor setup with xrandr: extending without/with disabled scrolling

This is not a question, but rather a work around for a problem under Ubuntu, I encountered. Setup: Given a laptop screen (e.g., "LVDS-1-0") and a second screen (e.g., "DP-1") with the second screen ...
4
votes
1answer
4k views

Switching on virtual display outputs using xrandr

Simply put, is there an inverse to the following command?: xrandr --output VIRTUAL1 --off This command cuts off my virtual display output to my external monitor, but I would like to reinitialize my ...
3
votes
0answers
74 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 ...
11
votes
3answers
565 views

Laptop VGA Output Randomly Changes Name Between VGA1 and VGA2

Periodically (every few reboots by the look of it) my external VGA output on my Laptop changes name between VGA1 and VGA2. For example right now xrandr is displaying: timp@helez:~$ xrandr | grep VGA ...
4
votes
0answers
151 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 ...
7
votes
2answers
14k views

How to get EDID for a single monitor?

Pending an answer to xrandr detects amplifier as monitor a possible workaround is to blacklist devices with specific EDIDs. Unfortunately xrandr --verbose prints everything in a format which is ...
0
votes
0answers
27 views

Wrong monitor size

When I run xrandr it shows me that my monitor has 640mm x 360mm but in fact it has 920mm x 522mm. My desktop doesn't fit into monitor display. How can I set correct monitor dimensions?