#Help in Multihomed setup

1 messages · Page 1 of 1 (latest)

oak orchid
#

Hello,
I am still figuring out Komorebi, so this might be on me.

I am on a dual home setup for my notebook, so I created display_index_preferences as this:

    "display_index_preferences": {
        "0": "AUO718C-4&17050ba6&0&UID8388688",
        "1": "GSM7707-4&17050ba6&0&UID20547",
        "2": "DELA0DC-4&17050ba6&0&UID36917",
        "3": "DEL40F0-4&17050ba6&0&UID36917",
        "4": "DELA0DC-4&17050ba6&0&UID20547"
        }

Where, 0 is the notebook's main display and [1, 2] is one setup and [3, 4] is another.

this is monitor-information:

$ komorebic monitor-information
[
  {
    "id": 131267,
    "name": "DISPLAY1",
    "device": "AUO718C",
    "device_id": "AUO718C-4&17050ba6&0&UID8388688",
    "serial_number_id": "0",
    "size": {
      "left": 3840,
      "top": -40,
      "right": 3300,
      "bottom": 2200
    }
  },
  {
    "id": 855634,
    "name": "DISPLAY2",
    "device": "DELA0DC",
    "device_id": "DELA0DC-4&17050ba6&0&UID20547",
    "serial_number_id": "KH0NG73NE50B",
    "size": {
      "left": -1080,
      "top": 92,
      "right": 1080,
      "bottom": 1920
    }
  },
  {
    "id": 986570,
    "name": "DISPLAY3",
    "device": "DEL40F0",
    "device_id": "DEL40F0-4&17050ba6&0&UID36917",
    "serial_number_id": "YGX8661E340M",
    "size": {
      "left": 0,
      "top": 0,
      "right": 3840,
      "bottom": 2160
    }
  }
]

and this is the monitor_usr_idx_map from state:

  "monitor_usr_idx_map": {
    "0": 0,
    "3": 2,
    "1": 1
  },

Note the last item should be "4": 1.

Am I missing something or did I stumble in a bug?

Thanks for your time,
-rsd

sly pecan
#

I would recommend that you switch to using the serial_number_id instead. I haven't looked at the code that matches the monitors to their ID, but I think there is something about the fact that this whole part matches between both monitors 4&17050ba6&0&UID20547. There are some issues using the device id though, sometimes it can get changed and so serial_number_id is to be preferred.

oak orchid
#

worked as a charm!

Thank you