Closed kaihendry closed 7 years ago
So, this is the current duplicate mode (left - preferred screen, right - projector):
You would like a mirror mode as given below:
You don't want your screen "to crop" its view to fit the projector one (see 1st image). You want to scale the projector size as your screen.
Is it correct ?
For the mirror mode as suggested here:
xrandr --fb 1920x1080 --output VGA-1 --mode 1680x1050 \
--scale-from 1920x1080 --output LVDS-1 --mode 1920x1080 \
--scale 1x1 --same-as VGA-1
VGA-1
: projector screenLVDS-1
: the preferred screen1680x1050
: projector's size1920x1080
: screen's sizeman xrandr
for --fb
option:
--fb widthxheight
Reconfigures the screen to the specified size. All configured monitors must fit within this size.
When this option is not provided, xrandr computes the smallest screen size that will hold the set
of configured outputs; this option provides a way to override that behaviour.
After some experiments, this is the shortest line that works:
xrandr --output VGA-1 --auto --scale-from 1920x1080 --output LVDS-1
Does it work for you ? (Please, replace the monitor names and sizes with yours)
I updated the AUR package.
Sorry, only had the chance to test it now.
~$ xrandr
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
eDP1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
2560x1440 60.00*+ 48.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
2048x1152 60.00
1920x1080 60.00
1600x1200 60.00
1400x1050 59.98
1600x900 60.00
1280x1024 60.02
1280x960 60.00
1368x768 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1280x1024 75.02 60.02
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
~$ xrandr --output HDMI2 --auto --scale-from 2560x1440 --output eDP1
WORKS GREAT! Wish I knew this before! Thank you, thank you! :bowing_man:
Made a video celebrating your help! https://www.youtube.com/watch?v=0h8i2KpkwTk
I notice you have a duplicate mode, but isn't some way to mirror exactly on the projector what I have on my screen?
https://superuser.com/questions/1243205/how-to-mirror-a-display-with-different-resolutions has further information about my issue.