xrandr

Last-modified: 2023-09-26 (Tue) 01:24:04 (214d)

FrontPage

Dual display setting

{sdc@GEMR}[101] xrandr
Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 32767 x 32767
DP-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 528mm x 297mm

  1920x1080     60.00*+  59.94  
  1680x1050     59.95  
  1600x900      60.00  
  1280x1024     60.02  
  1280x800      59.81  
  1280x720      60.00    59.94  
  1024x768      60.00  
  800x600       60.32  
  720x480       60.01    59.94  
  640x480       59.94    59.93  

DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 1280mm x 720mm

  1920x1080     60.00 +  59.94    60.05    60.00    50.04  
  1920x1200     59.95* 
  1680x1050     59.95  
  1600x1200     60.00  
  1440x900      59.89  
  1400x1050     59.98  
  1280x1024     75.02    60.02  
  1280x800      59.81  
  1280x720      59.94    50.00  
  1024x768      75.03    70.07    60.00  
  800x600       75.00    72.19    60.32    56.25  
  720x576       50.00  
  720x480       59.94  
  640x480       75.00    72.81    59.93    59.94  

DP-6 disconnected (normal left inverted right x axis y axis)
DP-7 disconnected (normal left inverted right x axis y axis)

Auto dual screen setting during logging in

Edit /export/home/sdc/.xinitrc

...
           xrdb -merge $HOME/.Xresources
       fi
# dual display setting added 2022.Dec.2 by Ken
       xrandr --output DP-0 --mode "1920x1080" --right-of DP-5

       # Set the background image.
       # Note: HELiOS 6 uses xsetbg (xloadimage) from EPEL.
       #       HELiOS 7 uses fvwm.
...