Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled version doesn't show bar #608

Open
SolsticeSpectrum opened this issue Sep 2, 2024 · 3 comments
Open

Compiled version doesn't show bar #608

SolsticeSpectrum opened this issue Sep 2, 2024 · 3 comments

Comments

@SolsticeSpectrum
Copy link

I chose to abandon Homebrew since it doesn't support MacOS Big Sur anyway and some stuff compiled for hours. I switched to MacPorts which is significantly faster but installing SketchyBar from MacPorts makes it broken for some reason. It runs but there is no bar visible. So I tried compiling from source which results in same behaviour. There is no error log tho.

@Capybara121
Copy link
Contributor

Could you describe your compilation process? I've previously recompiled the project myself to fix an off by 1 error (#592), and everything works fine.

@SolsticeSpectrum
Copy link
Author

SolsticeSpectrum commented Sep 8, 2024

I followed these steps

git clone https://github.com/FelixKratz/SketchyBar.git
cd SketchyBar
make
mv bin/sketchybar /usr/local/bin
mkdir -p ~/.config/sketchybar
mv plugins ~/.config/sketchybar/
mv sketchybarrc ~/.config/sketchybar/

then I created git.felix.sketchybar.plist in ~/Library/LaunchAgents/
and pasted there what I found here #541

This setup works but when I attempt to use lua extension, it stops from displaying. I install that like this

sudo port install lua
(git clone https://github.com/FelixKratz/SbarLua.git /tmp/SbarLua && cd /tmp/SbarLua/ && make install && rm -rf /tmp/SbarLua/)

then I replace files in ~/.config/sketchybar with ones found here https://github.com/FelixKratz/SbarLua/tree/main/example

This makes the bar not show up even tho it is running
It also has no output in the terminal, just blank
There is something at the top of the screen tho
image

I can't use brew because I have old macbook and there are problems with brew, mainly extremely long compilation times of stuff like openssl

@SolsticeSpectrum
Copy link
Author

I FIXED IT: The problem was that macports installs old version of lua, I did this instead

curl -L -R -O https://www.lua.org/ftp/lua-5.4.7.tar.gz
tar zxf lua-5.4.7.tar.gz
cd lua-5.4.7
make all
sudo make install

and then ran this again

(git clone https://github.com/FelixKratz/SbarLua.git /tmp/SbarLua && cd /tmp/SbarLua/ && make install && rm -rf /tmp/SbarLua/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants