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

How does Linux's display work?

Linux display The Linux's display system, uses multiple technology, protocols, extensions, applications, servers (daemon), drivers and concepts to achieve the windowing system for instance: Xorg, ...
intika's user avatar
  • 14.5k
33 votes
Accepted

How to scale the resolution/display of the desktop and/or applications?

Linux display This is detailed in depth on how does Linux's display works? QA. On most desktops system (like KDE or Gnome) there are settings available on their respective settings panel, this guide ...
intika's user avatar
  • 14.5k
28 votes

How to duplicate desktop in Linux with xrandr?

First find out the name of each display e.g. using xrandr --current. Then the following command should work to duplicate them. $ xrandr --output <projector> --same-as <desktop>
rlf's user avatar
  • 822
24 votes
Accepted

Add VIRTUAL output to Xorg

Create a 20-intel.conf file: sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf Add the following configuration information into the file: Section "Device" Identifier "intelgpu0" Driver "...
ooknosi's user avatar
  • 416
21 votes

Lubuntu 16.04 xsetwacom: "Unable to find an output 'DVI-I-0'."

Instead of the monitor name from xrandr, use HEAD-[head index]. For instance, use HEAD-0 for the first monitor listed, HEAD-1 for the second, etc. e.g. xsetwacom --set "Wacom Intuos PT S 2 Pen stylus"...
tille S.'s user avatar
  • 211
21 votes

How to duplicate desktop in Linux with xrandr?

I use this command to mirror my desktop with my external VGA: $ xrandr --output LVDS-1 --mode 1366x768 --scale 1x1 --output VGA-1 --same-as LVDS-1 --mode 1920x1080 --scale 0.711x0.711 LVDS-1 is the ...
George Vasiliou's user avatar
19 votes

How to get EDID for a single monitor?

In the binary form EDID is available at /sys/class/drm/card%d-%s/edid, where %d represents DRM device index (probably a GPU index) and %s is a connector ID that you see in xrandr output. To list all ...
user's user avatar
  • 1,459
18 votes

Cursor flickers with xrandr scaling

This workaround helped me. What I do now is after performing a xrandr scale, I run an extra command which stops the mouse flicker. xrandr --output eDP-1 --auto --output HDMI-2 --auto --scale 2x2 --...
jadelord's user avatar
  • 350
16 votes
Accepted

VNC-Server as a virtual X11 monitor to expand screen

tl;dr: Force a "virtual" output of your graphics card to a display mode, and export that with x11vnc. You can achieve this, but there are a few prerequisites: A graphics card with multi-...
Alex Stragies's user avatar
15 votes

Bash list all display output ports

So I am messing with trying to change dual monitor setup on my machine and found your post. Because I'm interested in the actual display I'm looking for EDID resource from the attached monitor: find ...
Happy Heyoka's user avatar
14 votes
Accepted

Unable to add a VIRTUAL display to Xorg

The Device section with VirtualHeads is being ignored because you do not have an Intel card (your xorg.log indicates you have NVidia). Unfortunately the nvidia driver doesn't support virtual screens (...
Tomáš Janoušek's user avatar
13 votes

How to get EDID for a single monitor?

If you happen to be using a x86 or powerpc arch, you could use read-edid. On debian this is available here. Usage is simply (you need to be root): $ sudo get-edid > /tmp/edid and then parse the ...
malat's user avatar
  • 3,092
13 votes

DPI settings in Awesome window manager

With awesome 4.0 on Debian stretch, no patch as in the answer of Sardathrion is needed, that is to change your dpi to get a proper screen setup, you need to 1) Create the .Xresources file with your ...
p.py's user avatar
  • 131
13 votes

VNC-Server as a virtual X11 monitor to expand screen problem

Using Fedora 26, I faced the same issue with VIRTUAL1 not being shown by xrandr command. Then I followed this instructions , to reuse an empty output, like HDMI-2, and it worked quite well, but: ...
Rafael Godínez Pérez's user avatar
11 votes

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

You are not far wrong with that --transformation! The point is that you not only want to shift the screen to the right, but also you need to shrink it by half in the horizontal axis. To do so lets ...
jimmij's user avatar
  • 47.5k
11 votes

Cursor flickers with xrandr scaling

I had the exact problem after using scaling with xrandr although with a slightly different setup. Strangely, what helped was the first section on https://wiki.archlinux.org/index.php/intel_graphics#...
Anonymous's user avatar
  • 111
10 votes

How to set custom resolution using xrandr when the resolution is not available in 'Display Settings'

I had the same problem. In Display setting maximum resolution was 1280x720. So: using xrandr command I have seen name of this monitor and resolution list. I 've executed the script: xrandr --output ...
grep's user avatar
  • 239
10 votes
Accepted

Calibrating a touch-screen on dual monitors (one touch one not)

I have it working now. The first thing I did was to install the latest version of the display driver from the xorg repo. I'm not sure if this step was absolutely necessary since it doesn't seem to ...
mulllhausen's user avatar
  • 2,700
9 votes

xrandr fails randomly with "Configure crtc X failed" on dock with multiple monitors

Problem I suspect that your system has only 2 pixel clocks it can use to drive your 3 monitors.¹ To confirm my assumption, please provide xrandr --verbose | egrep '^[^[:space:]]|curr|pref' | sed -e '...
Robert Siemer's user avatar
9 votes

Wayland equivalent of arandr

This only works on wayland compositors that implement the wlr-output-management-unstable-v1 e.g. sway (and probably others that use wlroots) https://github.com/cyclopsian/wdisplays archlinux has an ...
SultanLegend's user avatar
9 votes

How to scale the resolution/display of the desktop and/or applications?

do not use xrandr --scale since it creates a different resolution (blurry) I recommend to switch to "Wayland" instead of "X11", since xrandr --scale scales a rasterized frame-...
JoKalliauer's user avatar
9 votes

How does Linux's display work?

The question is quite broad, and a lot more could be written on the subject than this answer covers. I have tried to provide a historical perspective on the evolution of Linux graphics. Graphics, ...
Johan Myréen's user avatar
8 votes

Bash list all display output ports

This is a complicated problem. xrandr will display any and all outputs according to the knowledge of all the GPUs that are under control of the X11 server. But a hardware manufacturer may add built-...
telcoM's user avatar
  • 98.2k
8 votes

Deleting specific display setting created with xrandr

Try this xrandr --delmode <output> <name> for example: xrandr --delmode HDMI-1 1368x768_60.00
grisu's user avatar
  • 81
8 votes
Accepted

Cannot connect external monitor via USB-C (no Display Port listed in xrandr), Ubuntu 20.04

There's two things I suggest you check, the cable and the computer BIOS. First check that you have a quality cable that complies with the USB-C and DisplayPort specifications. I know you said you ...
MacGuffin's user avatar
  • 426
7 votes

VNC-Server as a virtual X11 monitor to expand screen

See this answer to be able to use VIRTUAL1 instead of a real output like HDMI2, and be able to manage it (select resolution, arrange desktop geometry, clone or extend) in the desktop environment ...
Rafael Godínez Pérez's user avatar
7 votes

How can I swap my two screens, left to right?

I use Ubuntu 20.4, and pressed Win-P accidentally, and fuzzled around with the several options. To switch back to my original setting I used: press Win-P selected "Built in only" then ...
Edo de Roo's user avatar
7 votes

How to change LCD intensivity/brightness

Neither of the solutions above were sufficient for me. Use the below to find which backlights are available. ls /sys/class/backlight/ In my case there was a folder intel_backlight in that folder. ...
James McDonnell's user avatar
7 votes

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

I met the same bug. Your workaround didn't work for me. Your trick is simply a trigger that makes the bug not to fall in. I digged in a bit and found a nice guy with a solution that might help others ...
Sebastian Barth's user avatar
7 votes

Suddenly my resolution of screen changed and i can't reset it

got this issue on Ubuntu 20.04, got it fixed: sudo apt-get install nvidia-settings sudo ubuntu-drivers autoinstall sudo reboot
Rull's user avatar
  • 71

Only top scored, non community-wiki answers of a minimum length are eligible