[BUG]: Komorobic unable to start #583

Closed
opened 2026-01-05 14:51:45 +01:00 by adam · 2 comments
Owner

Originally created by @BindraAgamjot256 on GitHub (Mar 3, 2025).

Summary

komorobic is unable to start the main komorobi process.
stderr:

Start-Process 'komorebi.exe' -WindowStyle hidden
Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again
Start-Process 'komorebi.exe' -WindowStyle hidden
Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again
Start-Process 'komorebi.exe' -WindowStyle hidden
Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again

Running komorebi.exe directly for detailed error output

Error: 
   0: The system cannot find the file specified. (os error 2)

Location:
   komorebi\src\static_config.rs:965

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: BaseThreadInitThunk<unknown>
      at <unknown source file>:<unknown line>
   2: RtlUserThreadStart<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

Version Information

komorebic 0.1.34
tag:v0.1.34
commit_hash:80edcadb
build_time:2025-02-21 02:21:41 +00:00
build_env:rustc 1.85.0 (4d91de4e4 2025-02-17),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 3,
  "default_container_padding": 3,
  "focus_follows_mouse": "Komorebi",
  "mouse_follows_focus": false,
  "transparency": false,
  "transparency_alpha": 225,
  "animation": {
    "enabled": true,
    "duration": 400,
    "style": "EaseOutBack",
    "fps": 120
  },
  "border": false,
  "border_implementation": "Windows",
  "border_style": "System",
  "border_width": 0,
  "border_offset": 0,
  "border_colours": {
    "single": "#89b4fa", 
    "stack": "#a6e3a1",
    "monocle": "#f38ba8",
    "unfocused": "#10151D"
  },
  "stackbar": {
    "mode": "Never"
  },
  "float_rules": [
    {
      "kind": "Exe",
      "id": "explorer.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "Discord.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Title",
      "id": "Rakuten Viber",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Title",
      "id": "Skype",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "Telegram.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Title",
      "id": "Settings",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Title",
      "id": "Microsoft Store",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "Photoshop.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "Adobe Premiere Pro.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "Illustrator.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "ApplicationFrameHost.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "vmware.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Class",
      "id": "MozillaDialogClass",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "yasb.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "Notepad.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "BeemTube.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "python3.12.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "yasb.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "LogiAiPromptBuilder.exe",
      "matching_strategy": "Equals"
    }
  ],
  "monitors": [
    {
      "workspaces": [
        {
            "name": "1",
            "layout": "BSP"
          },
          {
            "name": "2",
            "layout": "BSP"
          },
          {
            "name": "3",
            "layout": "BSP"
          },
          {
            "name": "4",
            "layout": "BSP"
          },
          {
            "name": "5",
            "layout": "BSP"
          }
      ]
    },
    {
      "workspaces": [
        {
          "name": "1",
          "layout": "BSP"
        },
        {
          "name": "2",
          "layout": "BSP"
        },
        {
          "name": "3",
          "layout": "BSP"
        },
        {
          "name": "4",
          "layout": "BSP"
        },
        {
          "name": "5",
          "layout": "BSP"
        }
      ]
    }
  ]
}

Hotkey Configuration

whkdrc file:

.shell powershell

# Reload whkd configuration
# alt + o                 : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd
alt + o                 : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell
alt + shift + o         : komorebic reload-configuration

# App shortcuts - these require shell to be pwsh / powershell
# The apps will be focused if open, or launched if not open
# alt + f                 : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox }
# alt + b                 : if ($wshell.AppActivate('Chrome') -eq $False) { start chrome }

alt + q                 : komorebic close
alt + m                 : komorebic minimize

# Focus windows
alt + h                 : komorebic focus left
alt + j                 : komorebic focus down
alt + k                 : komorebic focus up
alt + l                 : komorebic focus right
alt + shift + oem_4     : komorebic cycle-focus previous # oem_4 is [
alt + shift + oem_6     : komorebic cycle-focus next # oem_6 is ]

# Move windows
alt + shift + h         : komorebic move left
alt + shift + j         : komorebic move down
alt + shift + k         : komorebic move up
alt + shift + l         : komorebic move right
alt + shift + return    : komorebic promote

# Stack windows
alt + left              : komorebic stack left
alt + down              : komorebic stack down
alt + up                : komorebic stack up
alt + right             : komorebic stack right
alt + oem_1             : komorebic unstack # oem_1 is ;
alt + oem_4             : komorebic cycle-stack previous # oem_4 is [
alt + oem_6             : komorebic cycle-stack next # oem_6 is ]

# Resize
alt + oem_plus          : komorebic resize-axis horizontal increase
alt + oem_minus         : komorebic resize-axis horizontal decrease
alt + shift + oem_plus  : komorebic resize-axis vertical increase
alt + shift + oem_minus : komorebic resize-axis vertical decrease

# Manipulate windows
alt + t                 : komorebic toggle-float
alt + shift + f         : komorebic toggle-monocle

# Window manager options
alt + shift + r         : komorebic retile
alt + p                 : komorebic toggle-pause

# Layouts
alt + x                 : komorebic flip-layout horizontal
alt + y                 : komorebic flip-layout vertical

# Workspaces
alt + 1                 : komorebic focus-workspace 0
alt + 2                 : komorebic focus-workspace 1
alt + 3                 : komorebic focus-workspace 2
alt + 4                 : komorebic focus-workspace 3
alt + 5                 : komorebic focus-workspace 4
alt + 6                 : komorebic focus-workspace 5
alt + 7                 : komorebic focus-workspace 6
alt + 8                 : komorebic focus-workspace 7

# Move windows across workspaces
alt + shift + 1         : komorebic move-to-workspace 0
alt + shift + 2         : komorebic move-to-workspace 1
alt + shift + 3         : komorebic move-to-workspace 2
alt + shift + 4         : komorebic move-to-workspace 3
alt + shift + 5         : komorebic move-to-workspace 4
alt + shift + 6         : komorebic move-to-workspace 5
alt + shift + 7         : komorebic move-to-workspace 6
alt + shift + 8         : komorebic move-to-workspace 7

Output of komorebic check

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users****

Looking for configuration files in C:\Users****

Found komorebi.json; this file can be passed to the start command with the --config flag

Your configuration file contains some options that have been renamed or deprecated:

"float_rules" is now "ignore_rules"

"focus_follows_mouse" is now end-of-life

End-of-life features will not receive any further bug fixes or updates; they should not be used

Found C:\Users****.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

Originally created by @BindraAgamjot256 on GitHub (Mar 3, 2025). ### Summary komorobic is unable to start the main komorobi process. stderr: ```pwsh Start-Process 'komorebi.exe' -WindowStyle hidden Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again Start-Process 'komorebi.exe' -WindowStyle hidden Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again Start-Process 'komorebi.exe' -WindowStyle hidden Waiting for komorebi.exe to start...komorebi.exe did not start... Trying again Running komorebi.exe directly for detailed error output Error: 0: The system cannot find the file specified. (os error 2) Location: komorebi\src\static_config.rs:965 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1: BaseThreadInitThunk<unknown> at <unknown source file>:<unknown line> 2: RtlUserThreadStart<unknown> at <unknown source file>:<unknown line> Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. Run with RUST_BACKTRACE=full to include source snippets. ``` ### Version Information ``` komorebic 0.1.34 tag:v0.1.34 commit_hash:80edcadb build_time:2025-02-21 02:21:41 +00:00 build_env:rustc 1.85.0 (4d91de4e4 2025-02-17),stable-x86_64-pc-windows-msvc ``` ### Komorebi Configuration ```json { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 3, "default_container_padding": 3, "focus_follows_mouse": "Komorebi", "mouse_follows_focus": false, "transparency": false, "transparency_alpha": 225, "animation": { "enabled": true, "duration": 400, "style": "EaseOutBack", "fps": 120 }, "border": false, "border_implementation": "Windows", "border_style": "System", "border_width": 0, "border_offset": 0, "border_colours": { "single": "#89b4fa", "stack": "#a6e3a1", "monocle": "#f38ba8", "unfocused": "#10151D" }, "stackbar": { "mode": "Never" }, "float_rules": [ { "kind": "Exe", "id": "explorer.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Discord.exe", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Rakuten Viber", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Skype", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Telegram.exe", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Settings", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Microsoft Store", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Photoshop.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Adobe Premiere Pro.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Illustrator.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "ApplicationFrameHost.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "vmware.exe", "matching_strategy": "Equals" }, { "kind": "Class", "id": "MozillaDialogClass", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "yasb.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "Notepad.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "BeemTube.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "python3.12.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "yasb.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "LogiAiPromptBuilder.exe", "matching_strategy": "Equals" } ], "monitors": [ { "workspaces": [ { "name": "1", "layout": "BSP" }, { "name": "2", "layout": "BSP" }, { "name": "3", "layout": "BSP" }, { "name": "4", "layout": "BSP" }, { "name": "5", "layout": "BSP" } ] }, { "workspaces": [ { "name": "1", "layout": "BSP" }, { "name": "2", "layout": "BSP" }, { "name": "3", "layout": "BSP" }, { "name": "4", "layout": "BSP" }, { "name": "5", "layout": "BSP" } ] } ] } ``` ### Hotkey Configuration whkdrc file: ```whkdrc .shell powershell # Reload whkd configuration # alt + o : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd alt + o : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell alt + shift + o : komorebic reload-configuration # App shortcuts - these require shell to be pwsh / powershell # The apps will be focused if open, or launched if not open # alt + f : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox } # alt + b : if ($wshell.AppActivate('Chrome') -eq $False) { start chrome } alt + q : komorebic close alt + m : komorebic minimize # Focus windows alt + h : komorebic focus left alt + j : komorebic focus down alt + k : komorebic focus up alt + l : komorebic focus right alt + shift + oem_4 : komorebic cycle-focus previous # oem_4 is [ alt + shift + oem_6 : komorebic cycle-focus next # oem_6 is ] # Move windows alt + shift + h : komorebic move left alt + shift + j : komorebic move down alt + shift + k : komorebic move up alt + shift + l : komorebic move right alt + shift + return : komorebic promote # Stack windows alt + left : komorebic stack left alt + down : komorebic stack down alt + up : komorebic stack up alt + right : komorebic stack right alt + oem_1 : komorebic unstack # oem_1 is ; alt + oem_4 : komorebic cycle-stack previous # oem_4 is [ alt + oem_6 : komorebic cycle-stack next # oem_6 is ] # Resize alt + oem_plus : komorebic resize-axis horizontal increase alt + oem_minus : komorebic resize-axis horizontal decrease alt + shift + oem_plus : komorebic resize-axis vertical increase alt + shift + oem_minus : komorebic resize-axis vertical decrease # Manipulate windows alt + t : komorebic toggle-float alt + shift + f : komorebic toggle-monocle # Window manager options alt + shift + r : komorebic retile alt + p : komorebic toggle-pause # Layouts alt + x : komorebic flip-layout horizontal alt + y : komorebic flip-layout vertical # Workspaces alt + 1 : komorebic focus-workspace 0 alt + 2 : komorebic focus-workspace 1 alt + 3 : komorebic focus-workspace 2 alt + 4 : komorebic focus-workspace 3 alt + 5 : komorebic focus-workspace 4 alt + 6 : komorebic focus-workspace 5 alt + 7 : komorebic focus-workspace 6 alt + 8 : komorebic focus-workspace 7 # Move windows across workspaces alt + shift + 1 : komorebic move-to-workspace 0 alt + shift + 2 : komorebic move-to-workspace 1 alt + shift + 3 : komorebic move-to-workspace 2 alt + shift + 4 : komorebic move-to-workspace 3 alt + shift + 5 : komorebic move-to-workspace 4 alt + shift + 6 : komorebic move-to-workspace 5 alt + shift + 7 : komorebic move-to-workspace 6 alt + shift + 8 : komorebic move-to-workspace 7 ``` ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\**** Looking for configuration files in C:\Users\**** Found komorebi.json; this file can be passed to the start command with the --config flag Your configuration file contains some options that have been renamed or deprecated: "float_rules" is now "ignore_rules" "focus_follows_mouse" is now end-of-life End-of-life features will not receive any further bug fixes or updates; they should not be used Found C:\Users\****\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
adam added the bug label 2026-01-05 14:51:45 +01:00
adam closed this issue 2026-01-05 14:51:46 +01:00
Author
Owner

@BindraAgamjot256 commented on GitHub (Mar 3, 2025):

edit...

Upon running with the rust_backtrace environment variable set to full ($env:RUST_BACKTRACE="full"), the command worked perfectly...
now output:

Start-Process 'komorebi.exe' -WindowStyle hidden
Waiting for komorebi.exe to start...Started!

if (!(Get-Process whkd -ErrorAction SilentlyContinue))
{
  Start-Process whkd -WindowStyle hidden
}


Thank you for using komorebi!

.
.
.

"float_rules" is now "ignore_rules"

"focus_follows_mouse" is now end-of-life

End-of-life features will not receive any further bug fixes or updates; they should not be used

could it be some form of a race condition?
shall the issue be closed?

@BindraAgamjot256 commented on GitHub (Mar 3, 2025): ### edit... Upon running with the `rust_backtrace` environment variable set to full (`$env:RUST_BACKTRACE="full"`), the command worked perfectly... now output: ```pwsh Start-Process 'komorebi.exe' -WindowStyle hidden Waiting for komorebi.exe to start...Started! if (!(Get-Process whkd -ErrorAction SilentlyContinue)) { Start-Process whkd -WindowStyle hidden } Thank you for using komorebi! . . . "float_rules" is now "ignore_rules" "focus_follows_mouse" is now end-of-life End-of-life features will not receive any further bug fixes or updates; they should not be used ``` could it be some form of a race condition? shall the issue be closed?
Author
Owner

@LGUG2Z commented on GitHub (Mar 3, 2025):

In the first run, the "applications.json" file was not where it was expected to be, in tbe second run, it was. This is more of an end user environment problem than a bug so this can be closed.

komorebic fetch-asc is usually the way to go if anyone ever finds themselves with a missing applications.json file.

@LGUG2Z commented on GitHub (Mar 3, 2025): In the first run, the "applications.json" file was not where it was expected to be, in tbe second run, it was. This is more of an end user environment problem than a bug so this can be closed. `komorebic fetch-asc` is usually the way to go if anyone ever finds themselves with a missing applications.json file.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#583