You are not logged in.

#1 2017-12-21 15:38:09

makh
Member
Registered: 2011-10-10
Posts: 305

[CLOSED] Dual Monitors - xrandr - Maximize the external monitor

Hi

My WM is openbox, while testing these commands.

My monitors, laptop & external, with maximum resolutions:
1. eDP1 --mode 1366x768
2. DP1 --mode 1280x1024

I tried to run, but there were screen problems of display on DP1.

xrandr --output eDP1 --mode 1366x768  --output DP1 --mode 1280x1024

So next, I tried:

xrandr --output eDP1 --mode 1024x768 --output DP1 --mode 1024x768

Ok ... it was okay, working and better than the first one.

Is there a still better way to use higher resolution of the external monitor, ie 1280x1024, to have a better presentation display?

Thankyou

Last edited by makh (2017-12-22 11:53:15)


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

#2 2017-12-21 17:17:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

What are you actually trying to do?  Do you want to mirror the displays, or do you want an extended desktop.  For the latter, you need to specify a position for the secondary output.

EDIT: you may find a tool like arandr helpful until you learn more about xrandr.

Last edited by Trilby (2017-12-21 17:22:48)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-12-21 17:18:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-12-21 21:11:55

makh
Member
Registered: 2011-10-10
Posts: 305

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

Hi

@ Trilby :

Sir! I am trying to get the same display on the external monitor.

I want to use the full resolution ie 1280x1024, of the external. I think that it will be more better, if this is possible. I have tried the options on https://wiki.archlinux.org/index.php/Multihead

Thankyou

Edit:
xrandr gives:

xrandr 
Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
eDP1 connected primary 1280x720+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
   1366x768      60.00 +  40.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  
   680x384       60.00  
   640x360       60.00  
DP1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
   1280x1024     60.02*+  75.02  
   1024x768      75.03    75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08

2. arandr doesnt seems to offer what I want to achieve, exactly. It gives lesser options than xrandr.

Last edited by makh (2017-12-21 21:24:28)


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

#5 2017-12-21 21:23:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

If you want the same thing on both displays, then both displays need to be at the same resolution.

There is a potential exception of using xrandr's transform/scale, but generally these are more trouble than they're worth.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2017-12-21 21:31:33

makh
Member
Registered: 2011-10-10
Posts: 305

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

Trilby wrote:

...

If I correctly understand, if I connect to a say monitor or a projector of 4000x3000 resolution, ... then I only get to use 1024x768, which is the display of my laptop?


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

#7 2017-12-21 21:44:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

You could use up to the maximum resolution of your laptop (1366x768) provided the projector supports it.

I'm not sure what's not clear about this, you cannot show the same image on two screens unless they either 1) have the same resolution, or 2) one of them is scaled (and potentially distorted).

This isn't a software constraint, it's a logical constraint.

Last edited by Trilby (2017-12-21 21:45:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2017-12-21 21:50:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

Another problem is that one of your outputs is 16:10 and the other one is 5:4 - how do you ever want them to reasonably display the same image??

Offline

#9 2017-12-22 11:52:38

makh
Member
Registered: 2011-10-10
Posts: 305

Re: [CLOSED] Dual Monitors - xrandr - Maximize the external monitor

Hello

Ok ... so I understand that my experiment has no results. The default on my laptop is just a fraction of the big screen but the same resolution, no high resolution usable, in my case.

Thankyou all for your kind guidance. smile

Goodbye...


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

Board footer

Powered by FluxBB