Hot answers tagged

68

Here are the steps you need to add a new custom resolution and apply it. Following steps are for adding a 1920x1080 resolution, but you can use it for any other resolution you want. But make sure your monitor and onboard graphics support that resolution. # First we need to get the modeline string for xrandr # Luckily, the tool "gtf" will help you ...


56

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, Wayland, X11, OpenGL, RandR, XrandR, Screen Resolution, DPI, Display server, etc. This can be overwhelming to understand fully, but each side of it is meant for a ...


22

Why is it called eDP1? Because it is an embedded display port style adapter, and not a video graphics array style one.


21

Lead #1: monitor-edid I'm not that up on EDID and monitors but I did find this tool, monitor-edid which might be of use to you here as well. Forgive me if it's off base, I'm trying to also learn more about this space, given the variety of questions you ask on the topic. $ monitor-edid EISA ID: LEN4036 EDID version: 1.3 EDID extension blocks: 0 Screen ...


18

The output of xrandr --props contains hex EDID strings for each connected display in a less verbose way. Here's a simple Python script exploiting this to grab an EDID for a specific connected monitor. I haven't found any other distro-packaged CLI tools that work for EDID extraction on my NVidia-based system, but most tools for parsing a binary EDID seem to ...


18

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 "intel" Option "VirtualHeads" "2" EndSection This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads to your needs. ...


17

The option --size/-s can be used: xrandr -s 1440x900 Should work with RandR version 1.1 or newer.


16

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>


15

This occurs becaues you have another screen already active, in this case DP2. DP2 here is a monitor running off of a DisplayPort. The laptop is a Lenovo x230 and it was booted with an Ultrabase 3 docking station. You can resolve this issue by simply turning off the screen using, xrandr --output DP2 --off Now, in XFCE or similar workstation you should see ...


12

I am not sure if you have created the string following xrandr --newmode by yourself or have you copied it from somewhere else, but it won't work in its current form. I recommend to do it step by step. First, you need to generate the new mode. I recommend using 60Hz with LCD or 85Hz with CRT monitor gtf 1280 1024 60 You will get something like: # ...


12

If you don't mind panning on laptop try this: xrandr --output LVDS1 --rate 60 --mode 1920x1080 --fb 1920x1080 --panning 1920x1080* --output HDMI1 --mode 1920x1080 --same-as LVDS1


12

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 structure: $ parse-edid < /tmp/edid Checksum Correct Section "Monitor" Identifier "HP v220" ModelName "HP v220" VendorName "HWP" # Monitor ...


12

tl;dr: Force a "virtual" output of your gfx 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-head capabilities (= can render several "desktop" surfaces). Which is most cards these days. x11vnc, a mature software (x11vnc) to export X11 surfaces (among others) to VNC ...


12

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: Gnome (and xrandr) does not recognize the empty output as connected, and does not show the virtual monitor to arrange position in extended desktop or clone. Every ...


12

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 --right-of eDP-1 # Simpler oneliner scaling xrandr --output eDP-1 --scale 0.9999x0.9999 # Stop flicker


11

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 laptop screen , natively working in 1366x768. VGA-1 is my external VGA monitor, with native resolution of 1920x1080, scaled to 0.711 which equals close to ...


10

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" MapToOutput HEAD-1


10

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 settings, that is Xft.dpi: 192 If you are wondering about the right DPI value, see this post. I used the next value that was a multiple of 96. For more ...


9

Disable X11 forwarding (using -x switch to ssh) and set the DISPLAY environment variable for machine B. For example, this will tell you the settings for :0 on machine B: ssh -x machineB DISPLAY=:0 xrandr


9

Only scaling and panning wont help. You have to specify the side of your external monitor. Please check my command, i am using external monitor to the right of my native laptop display. I have yoga 2 pro with resolution 3200x1800 and external FHD monitor. In my case i use xrandr panning option: xrandr --output eDP1 --auto --output HDMI1 --auto --panning ...


8

xrandr --fb 1920x1080 --output LVDS1 --mode 1600x900 --scale-from 1920x1080 --output HDMI1 --mode 1920x1080 --scale 1x1 --same-as LVDS1 or you could do it another way around to use the resolution of LVDS1 as base resolution, but then you have lower quality on HDMI1.


8

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 {name of monitor} --mode {resolution} For example: xrandr --output DP-2-1 --mode 2560x1440


8

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#Xorg_configuration . Namely, "However, to take advantage of some driver options, you will need to create a Xorg configuration file similar to the one below:" /...


7

You might want to take a look at this page, titled: XSF / How to use xrandr. For starters you could try this command: $ xrandr --output VGA1 --right-of LVDS1 You can control the orientation of the monitors with respect to each other using these switches: --right-of --left-of --above --below


7

I used the udev rule suggested above along with a shell script that looks like #!/bin/sh dmode="$(cat /sys/class/drm/card0-VGA-1/status)" export DISPLAY=:0 export XAUTHORITY=/home/yourusername/.Xauthority if [ "${dmode}" = disconnected ]; then /usr/bin/xrandr --auto elif [ "${dmode}" = connected ];then /usr/bin/xrandr --output VGA1 --auto --...


7

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 available, run ls -1 /sys/class/drm/*/edid If your GPU driver doesn't support DRM, you won't be able to get EDID this way. To view in hex form, run hexdump on ...


7

I contacted Jamie Zawinski, author of xscreensaver, to ask whether it can span one screen saver across multiple monitor, and he gave me this response: No, it doesn't do that by design because I've tried it and with 99% of the savers it looks like shit. For the ones where it doesn't look like shit, One Saver Mode looks the same. I guess he's referring to ...


7

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 screen settings like any other physical monitor.


7

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 here as well. The main problem is that the bug we met here causes the monitor which is scrolling into the other to have a virtual screen with the size of both ...


7

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-in converters to e.g. convert a GPU chip's DisplayPort output to DVI, or just leave some of the GPU's outputs unwired. The GPU, and by extension xrandr, has no ...


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