#Komorebic returning null for the second monitor workspaces

1 messages · Page 1 of 1 (latest)

smoky siren
#

For some reason komorebic is returning null for the name of the workspaces on my second monitor.

As you can see in the image one the Monitor with ID SAM71D9-5&7e379d3&0&UID4355 works fine and show the name of the workspace Browser fine. But in the image two the Monitor with ID NCP004D-4&166b8eb6&1&UID8388688 display the workspaces names as null

this is the config i have:

  "display_index_preferences": {
    "0": "SAM71D9-5&7e379d3&0&UID4355",  
    "1": "NCP004D-4&166b8eb6&0&UID8388688"  
    }

Workspaces

 "monitors": [
    {
       "work_area_offset": {
        "top": 35,    
        "bottom": 30,
        "left": 0,
        "right": 0
      },
      "workspaces": [
        { "name": "Browser", "layout": "BSP" },
        { "name": "Code", "layout": "VerticalStack" },
        { "name": "3", "layout": "HorizontalStack" },
        { "name": "4", "layout": "UltrawideVerticalStack" },
        { "name": "5", "layout": "Rows" },
        { "name": "6", "layout": "Grid" },
        { "name": "7", "layout": "RightMainVerticalStack" }
      ]
    },

    {
     
      "workspaces": [
        { "name": "I", "layout": "BSP" },
        { "name": "II", "layout": "VerticalStack" },
        { "name": "III", "layout": "HorizontalStack" },
        { "name": "IV", "layout": "UltrawideVerticalStack" },
        { "name": "V", "layout": "Rows" },
        { "name": "VI", "layout": "Grid" },
        { "name": "VII", "layout": "RightMainVerticalStack" }
      ]
    }
  ]

I found about this since Im using zebar and zebar returned null to, I runned komorebic state and the monitor returns null for all the workspaces on that monitor with the ID NCP004D-4&166b8eb6&0&UID8388688

safe wing
#

If you look closely you can see that the state in your komorebic state log you have NCP004D-4&166b8eb6&1&UID8388688 while in your display_index_preferences you have set NCP004D-4&166b8eb6&0&UID8388688. A 0 has become a 1, this issue is covered here if you scroll down: https://lgug2z.github.io/komorebi/common-workflows/multi-monitor-setup.html Scroll down to the section which starts "Let's say you have more monitors, or you want to make sure that a certain configuration is always applied to a certain monitor. For this you will want to use the display_index_preferences". You'll most likely want to switch to using serial_number_id instead of device_id.

#

Basically it's an issue of a device not being guaranteed to have the same device_id every time.

smoky siren
#

Ohhhhhh

#

Its fixed now, thank you!