You are not logged in.

#1 2024-04-25 18:31:46

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 174

[Solved]Need help with dual monitor setup

Hi,
I want to connect two monitors on laptop, one with hdmi and second with vga cable. When system boot on monitor with hdmi resolution is correct 1366x768, but on vga max resolution is 1024x768.
After running the commands below everything works fine.

xrandr --newmode "1368x768_60.00"   85.25  1366 1440 1576 1784  768 771 781 798 -hsync +vsync
xrandr --addmode VGA1 1368x768_60.00
xrandr --output VGA1 --mode 1368x768_60.00
Screen 0: minimum 8 x 8, current 2732 x 768, maximum 32767 x 32767
DP1 disconnected primary (normal left inverted right x axis y axis)
HDMI1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 700mm x 390mm
   1366x768      59.79*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98
   1920x1080i    60.00    50.00    59.94
   1280x720      60.00    50.00    59.94
   1024x768      75.03    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32
   720x576       50.00
   720x576i      50.00
   720x480       60.00    59.94    59.94
   720x480i      60.00    59.94
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08
VGA1 connected 1366x768+1366+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1366x768      59.88 +
   1024x768      60.00
   800x600       60.32    56.25
   848x480       60.00
   640x480       59.94
   1368x768_60.00  59.88*
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

I use dwm with lightdm display manager. Is it possible to automate this process on startup?
Sorry for bad english smile

Thanks.

Last edited by grobar87 (2024-04-27 21:58:30)


And... here... we... go!

Offline

#2 2024-04-25 22:15:20

seth
Member
Registered: 2012-09-03
Posts: 51,707

Offline

#3 2024-04-27 21:57:24

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 174

Re: [Solved]Need help with dual monitor setup

I followed the wiki and everything works great now.
Thanks.

Last edited by grobar87 (2024-04-27 21:58:08)


And... here... we... go!

Offline

Board footer

Powered by FluxBB