5

Currently I use Deepin OS 15.4

By default Deepin set desktop to extended mode when in projector

What I want is Duplicate my screen.

I can't find it in Control Center configuration, but I stumble upon in this article

https://stackoverflow.com/questions/18736948/extended-desktop-in-linux

The above set to extended with xrandr,

How do I duplicate my desktop, and projector with Xrandr?

  • 1
    If your question has been answered, please accept one of the given answers. – rlf Jun 24 '17 at 19:44
13

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>
  • Yours was the only option that worked for me. Playing with panning was becoming a nightmare. The key was to leave alone the resolutions. Thxs! – Edenshaw Mar 13 '18 at 14:14
  • That doesn't work well if monitors have different resolution. – gmagno Feb 3 '19 at 15:30
6

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 , nativelly working in 1366X768
VGA-1 is my external VGA monitor, with native resolution 1920X1080 , scaled to 0.711 which equals close to 1366X768 (laptop resolution).

Results are good for me. You can epxeriment with those options.

Similarily , i use this one for extended desktop:

$ xrandr --output VGA-1 --mode 1920x1080 --scale 1x1 --output LVDS-1 --mode 1366x768 --scale 1x1 --left-of VGA-1 

You can detect the names of your screens by just running xrandr

  • @DarkCyber Well, did this worked? – George Vasiliou Jun 18 '17 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.