xbar icon indicating copy to clipboard operation
xbar copied to clipboard

xbar not working on Mac OS Monterey 12.1

Open bartvanbokhoven opened this issue 2 years ago • 7 comments

After installing xbar on my Mac the app doesn't start.

bartvanbokhoven avatar Jan 06 '22 18:01 bartvanbokhoven

Works for me (v2.1.7-beta). It's been installed pre-upgrade to Monterey. System has complained about this app needing to be updated, but the app works regardless.

maksimov avatar Jan 25 '22 11:01 maksimov

I'm on a fresh installation of macOS 12.1 and trying to run xbar 2.1.7-beta installed from Homebrew.

[13:19:17 colin@macbook ~/Source/Personal/hejmo ]
$ tree /Applications/xbar.app/
/Applications/xbar.app/
└── Contents
    ├── Info.plist
    ├── MacOS
    │   └── xbar
    ├── Resources
    │   └── iconfile.icns
    └── _CodeSignature
        └── CodeResources

4 directories, 4 files
[13:19:28 colin@macbook ~/Source/Personal/hejmo ]
$ file /Applications/xbar.app/Contents/MacOS/xbar
/Applications/xbar.app/Contents/MacOS/xbar: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
/Applications/xbar.app/Contents/MacOS/xbar (for architecture x86_64):	Mach-O 64-bit executable x86_64
/Applications/xbar.app/Contents/MacOS/xbar (for architecture arm64):	Mach-O 64-bit executable arm64

Activity Monitor shows it working and running in Apple mode. There's a subprocess "xbar Networking". I see neither an icon nor a spot that's clickable in some random clicking. When I try to quit the app via Activity Monitor, it doesn't quit: I have to force quit to get it to stop.

When I ran /Applications/xbar.app/Contents/MacOS/xbar directly, I got a prompt about file permissions, which I accepted. I see this in the terminal:

xbar v2.1.7-beta
2022/01/27 13:24:12 checking for updates... (current: v2.1.7-beta)
2022/01/27 13:24:12 updates: passive true
2022/01/27 13:24:12 updates: AutoUpdate false
2022/01/27 13:24:12 update: you have the latest version

I'm not able to terminate it with ^C, even multiple invocations. I end up stopping with it with ^Z and killing the process (kill $(jobs -p)).

/Applications/xbar.app/Contents/MacOS/xbar --help produces the same output as without an option.

I recently moved from bitbar and changed some plugin metadata in this commit in my dotfiles and symlinked ln -s ~/.bitbar/work ~/Library/Application\ Support/xbar/plugins.

I'm pretty much dead in the water at this point.

colindean avatar Jan 27 '22 18:01 colindean

Is this on M1 or Intel?

leaanthony avatar Jan 27 '22 19:01 leaanthony

I'm on a shiny new M1 Max 16 inch.

$ sw_vers
ProductName:	macOS
ProductVersion:	12.1
BuildVersion:	21C52
$ uname -a
Darwin macbook 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64

colindean avatar Jan 27 '22 20:01 colindean

OK so it looks like it is running and working properly but the notch is causing it to be hidden. I just noticed this when I ⌘+Tab'd out of a fullscreen window and the menubar was below the camera notch. Lo and behold, there's my Pomodoro icon and my time logging timer. Switching out of that fullscreen app (a video in Firefox), the menubar goes back up to the top with the notch in the way. Clicking under the notch does nothing: the xbar menus aren't under it.

I guess it's time for me to look into some kind of menubar consolidator app…?

colindean avatar Jan 28 '22 19:01 colindean

@colindean A bit late - but ran into this with the keyword "notch" and "xbar"

You may want to look at two things: 1.) For your "conslidator app" - https://www.macbartender.com/

2.) As a temp solution -- if you open Applications -> click on xbar.app and cmd+i (or right-click/double-tap and go to Get Info) -> Scale to fit below built-in camera

Hopefully the developer fixes this permanently as now that all macs have a notch, this is very limiting.

ventz avatar Nov 12 '23 03:11 ventz

Thanks for the nudge! I have been using Bartender since that day without a problem.

colindean avatar Nov 12 '23 18:11 colindean