xrandr – duplicate the screen on different monitors on Linux

in #linux9 years ago

Originally posted on my Blog:
manerosss.wordpress.com

Hi!

This is one of those post where I spend more time writing down the title than the actual post…

I hope it’s clear enough what the scope of the how-to is:

  • To have the same screen outputted on 2 or more monitors, in other words to have N monitors to display the same thing.

This is easily done with xrandr thanks to the option --same-as

To achieve that run:

xrandr --output OUTPUT1 --same-as OUTPUT2

Simply run xrandr to view your available outputs, in my case:

xrandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-A-0 disconnected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm

so for me the command becomes:

xrandr --output HDMI-A-0 --same-as DVI-D-1

tip: auto-compile with “tab” works ;)


TA SALÜDE

Sort:  

Good Post. I use xrandr all the time on laptop running Arch when I connect to different external monitors.

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.099
BTC 61841.06
ETH 1754.65
USDT 1.00
SBD 0.38