Yabai: Issue on startup

Created on 18 Sep 2019  路  4Comments  路  Source: koekeishiya/yabai

hello noob here

how do i fix this please

yabai: could not locate config file!

help wanted question

Most helpful comment

@fuckbitchesgitmoney That (usually) means that more than one instance of yabai is running.
Try doing ps aux | grep yabai to check if yabai is already running, and kill that by running kill <PID here>.

For example, if the output is something like this:
image
you should execute kill 55004.
Then remove all of yabai's lockfiles with sudo rm /tmp/yabai* and execute yabai again.

Actually, if you're not familiar with using shells & terminals, I really wouldn't try using yabai.

All 4 comments

@fuckbitchesgitmoney As indicated in the error message, you should make a config file and mark it an executable.

For a sample setup: (not tested)

$ mkdir -p ~/.config/yabai
$ curl https://raw.githubusercontent.com/koekeishiya/yabai/master/examples/yabairc > ~/.config/yabai/yabairc
$ chmod +x ~/.config/yabai/yabairc

im an amateur at this terminal stuff im so sorry but i put in those arguments and the windows rearranged FINALLY i'd practically given up thank you so much. now it says

yabai: could not acquire lock-file!

the README says

yabai stores a lock file at /tmp/yabai_$USER.lock to keep multiple instances from launching by the same user

what should i do

@fuckbitchesgitmoney That (usually) means that more than one instance of yabai is running.
Try doing ps aux | grep yabai to check if yabai is already running, and kill that by running kill <PID here>.

For example, if the output is something like this:
image
you should execute kill 55004.
Then remove all of yabai's lockfiles with sudo rm /tmp/yabai* and execute yabai again.

Actually, if you're not familiar with using shells & terminals, I really wouldn't try using yabai.

it worked! thank u so much #stanloona

Was this page helpful?
0 / 5 - 0 ratings

Related issues

d-miketa picture d-miketa  路  3Comments

cmacrae picture cmacrae  路  4Comments

stylerw picture stylerw  路  4Comments

tsujp picture tsujp  路  3Comments

eraserhd picture eraserhd  路  4Comments