#Issues with whkd not being found my komorebic

1 messages · Page 1 of 1 (latest)

rough cairn
#

So I have tried to ponder of this issue a while, as it seems whkd is running but not working.

when I run whkd --version
whkd 0.2.10
So clearly its installed and is running but when i try using the shortcuts it doesnt work at all

#

I tried doing " Get-Process -Name whkd -ErrorAction SilentlyContinue"

#

nothing happend so I assume its not running

brave agate
#

Is your config correct?

rough cairn
#

task manager shows nothing on results when U type whkd

rough cairn
brave agate
#

And are you autostarting it with Komorebi? Try komorebic stop and then komorebic start --whkd

rough cairn
brave agate
#

Does whkd work?

rough cairn
#

I believe not

#

Not 100% how to test it

brave agate
#

Can you change workspace or anything?

#

Send your whkd config

rough cairn
#

I mean this is my current desktop I got the bsp and they work

brave agate
#

Whkd is the hotkey daemon, it has nothing to do with the layout

rough cairn
#

my current config in

brave agate
#

That is not your whkd config. It should be in user/.config/whkdrc

rough cairn
#

sry here

boreal wagonBOT
#

GG @rough cairn, you just advanced to level 1!

rough cairn
brave agate
#

So if you press alt+2 for example, does it not change the workspace for you?

rough cairn
#

nope it just types abunch of 2s

brave agate
#

Gonna have to take a look when back at my computer in a couple of minutes, but looks to be correct, strange...

rough cairn
#

well Im very thankful for your help olge

brave agate
#

Ok, run komorebic stop --whkd again and then just komorebic start, this should just start komorebi, then run whkd to start whkd in that terminal

rough cairn
brave agate
#

Ohh, I think it's something about the shell, can't quite remember. But in your whkdrc could you try to change .shell powershell to .shell pwsh

#

If I remember correctly one is for the old shell and one is for the new one and you have to install the new one manually

#

After changing the config and saving rerun whkd

rough cairn
#

still program not run after changing and restarting powershell

brave agate
#

Or wait... Maybe pwsh is the new one :/

rough cairn
#

maybe_

brave agate
#

Yeah, you seem to be using the old shell, but that should work with .shell powershell

#

But if you are ok with it, try and install the new shell and set that as the default in the terminal

rough cairn
#

sure

#

how do I set it as default?

brave agate
#

If you go to settings

#

If you press the arrow next to the tabs, do you have 2 different powershell profiles there? Like that?

rough cairn
#

Im probaly got abit lost

boreal wagonBOT
#

GG @rough cairn, you just advanced to level 2!

brave agate
#

Not windows settings, if you open Windows Terminal

#

Press the arrow and you should have settings there

rough cairn
#

yeah got it

brave agate
#

Scroll down, is there one named only Powershell there? Like the one at the top of my list?

rough cairn
brave agate
#

Noice noice

#

Now, open a tab with that shell and try whkd again

#

🤞

rough cairn
#

same

brave agate
#

Damn...

rough cairn
#

wait

#

got this result now

brave agate
#

That's the old shell

rough cairn
brave agate
#

Huh, well... Noice

rough cairn
#

i changed to this cause we got the new one now

#

but yeah it still doenst work to move the windows and stuff

brave agate
#

Did you close the terminal? As it is now it will only run while the terminal is open. You would have to do komorebi start --whkd to make it run in the background

rough cairn
brave agate
#

Oops, my bad komorebic not komorebi

rough cairn
#

same thing

brave agate
#

So wait... You are now trying to start it from the new shell and it doesn't work, when it worked previously you tried it from the old shell

#

In the shell selector, open a new tab using the old shell and run komorebic start --whkd

#

I am 100% confused as to why this is htough

#

This was the old shell:

rough cairn
#

this works in the new aswell

brave agate
#

Wait... It worked now?... I am confused haha

rough cairn
#

ye it works now 😄

#

how do I make it auto start xd

brave agate
#

Add the --whkd flag to make sure it also starts

rough cairn
#

komorebic enable-autostart --whkd

boreal wagonBOT
#

GG @rough cairn, you just advanced to level 3!

rough cairn
#

like this

brave agate
#

Yeah

#

You can just rerun that command later with more or less flags if you want to change something

rough cairn
brave agate
#

For example komorebic enable-autostart --whkd --bar if you want the bar also

#

Do you know how to add environment variables? Yours might have been messed up at some point and powershell was removed from them

#

You need to add C:\Windows\System32\WindowsPowerShell\v1.0\ to your environment variables

rough cairn
#

into path?

brave agate
#

Yeah

rough cairn
brave agate
#

Yeah, exactly

rough cairn
brave agate
#

Looks good

#

Save and restart your terminal

rough cairn
#

same issue

#

do i need to start komorebic before i apply this enable autostart?

brave agate
#

Nope, that was a typo from you haha

#

You have double -- in the command

#

enable-autostart

#

Hah! Nvm, it was a typo from ME! haha

rough cairn
#

I guess it worked

brave agate
#

If your run explorer shell:startup you should see a komorebi shortcut there

rough cairn
brave agate
#

Looks good

rough cairn
#

so I restart pc now to try it I suppose

brave agate
#

Yeah

#

It should work™

rough cairn
#

brb

#

its not looking bright

brave agate
#

Oh?

rough cairn
#

nah komorebic is not started

#

tried deletign the shortcut and gonna restart again

#

see if it works

#

and generated a new ofc

brave agate
#

Hmm... Could you go back to your environment variables and make sure that the powershell path is in the system path as well as the user path?

rough cairn
#

added it there aswell

#

doenst seem to start up

#

but the second I start powershell the bar and everything pops up

brave agate
#

Very strange... I can't give an explanation to that... If you are ok with giving it another try restart your computer and open the task manager and see if komorebi actually does get started

rough cairn
#

sure

#

this is the one that shows up on task manager

#

which is kinda weird

#

status is enabled

#

now it worked

#

I guess its just very low on the priority list

brave agate
#

The komorebic-no-console should be the one in the autostart, it's a workaround to make it so you can run it without a terminal window opening

rough cairn
#

sweet

brave agate
#

Yeah, komorebi can take a while to start sometimes

#

Especially with the funny business from windows to stagger the startup of programs

rough cairn
#

yeah 😄 well thank u very much olge

brave agate
#

Yw

rough cairn
#

you have been a real help

#

btw @brave agate where is the the komorebi.json to edit border ect

brave agate
#

In your user folder