jadahl / gnome-monitor-config

68 stars 18 forks source link

Logical monitors not adjacent #3

Closed Bloupyo123 closed 1 year ago

Bloupyo123 commented 1 year ago

Hi, i'm trying to change the primary monitor so i ran gnome-monitor-config set -LpM DVI-D-1 -LM VGA-1

But i get :


:::: ../src/gmc-display-config.c:691 cc_display_logical_monitor_config_add_monitor() - 
Logical monitor [ 1920x1080+0+0 ], PRIMARY, scale = 1
  Monitor [ DVI-D-1 ] 1920x1080@60
Logical monitor [ 1280x1024+0+0 ], scale = 1
  Monitor [ VGA-1 ] 1280x1024@60.0197
[(0, 0, 1.0, uint32 0, true, [('DVI-D-1', '1920x1080@60.000', @a{sv} {})]), (0, 0, 1.0, 0, false, [('VGA-1', '1280x1024@60.020', {})])]
Failed to set configuration: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Logical monitors not adjacent```

Is that a bug or did i use gnome-monitor-config wrong ?

The screen names match the outpout of the list command.
Bloupyo123 commented 1 year ago

I have succeeded, my command was wrong, the right is : gnome-monitor-config set -LpM DVI-D-1 -LM VGA-1 -x 1920