You are not logged in.

#1 2018-06-06 13:42:06

pmatos
Member
Registered: 2017-09-03
Posts: 50

[SOLVED] Monitor rotation

Hi,

I have 2 27'' 4k monitors and have them side by side, however the left one is landscape and the right one is portrait.
Another issue is that the center of the monitors are not aligned. The right one (portrait) is slightly higher than the left one, which means I will probably need to use absolute coordinates.

I can't however find instructions on how to configure this? I recently installed arch and didn't need to touch anything for the defaults to be configured. Xorg works as if both monitors are horizontal side by side and xrandr recognizes them well.

$ xrandr --query
Screen 0: minimum 8 x 8, current 7680 x 2160, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00  
   2560x1440     59.95  
   1920x1080     60.00    59.94  
   1600x900      60.00  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94  
   1152x864      59.96  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 3840x2160+3840+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00  
   1920x1080     60.00    59.94  
   1600x900      60.00  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94  
   1152x864      59.96  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-5 disconnected (normal left inverted right x axis y axis)

I have no xorg.conf at the moment.

Last edited by pmatos (2018-06-07 05:54:51)

Offline

#2 2018-06-06 16:54:06

teckk
Member
Registered: 2013-02-21
Posts: 519

Re: [SOLVED] Monitor rotation

If I understand what you want

man xrandr | grep -A4 -e "--rotate"

Offline

#3 2018-06-07 05:49:31

pmatos
Member
Registered: 2017-09-03
Posts: 50

Re: [SOLVED] Monitor rotation

teckk wrote:

If I understand what you want

man xrandr | grep -A4 -e "--rotate"

But that change is temporary, I would like to understand how to make it permanent in xorg.conf.

Offline

#4 2018-06-07 05:54:36

pmatos
Member
Registered: 2017-09-03
Posts: 50

Re: [SOLVED] Monitor rotation

Solved. nvidia-settings did it all for me.

Offline

Board footer

Powered by FluxBB