7 ms·
Every time I get a new Mac, I run these commands to reduce the spacing between menu bar icons. Lets you fit at least 2x the number of items in the menu bar. ``
by corlinp 6mo ago
Every time I get a new Mac, I run these commands to reduce the spacing between menu bar icons. Lets you fit at least 2x the number of items in the menu bar.
```
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 2
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 2
```
- dwg 6mo agowhat are the default values, in case someone wants to restore them?
- hn111 6mo agoYou can use `delete` instead of `write`: defaults -currentHost delete -globalDomain NSStatusItemSpacing
- deleted 6mo ago[deleted]
- e40 6mo agoMy only gripe, it only seems to apply to the macOS items. The ones put there by apps still seem to be spaced out the same as before. The macOS ones are definitely closer.
- galkk 6mo agoThank you! Do you have anything else as useful as this? THis is perfect
- corlinp 6mo agoWell I suppose I can't miss out on the opportunity to plug my open-source menu bar app for voice-to-text in any app! Going on three years of development, believe it or not. https://github.com/corlinp/voibe https://github.com/corlinp/voibe
- potatocoffee 6mo agoThis is so much better, thank you for this.
- swiftcoder 6mo agoDude. How am I only just learning this? This needs to be plastered loudly over the internet
- richardlblair 6mo agoThis was always my biggest gripe about using a mac, the OS that "just works". I ended up a bunch of commands I had to run and a stack of apps I needed to install for it to feel usable.
- freedomben 6mo agoAnd for years and years when in discussions about Linux vs Mac, Linux was always slammed as having to be customized and "user's should never have to use the terminal" . (I agree with that, but even in 2014 I remember having to run terminal commands to tweak stuff to make it work more like I wanted to)
- richardlblair 6mo agoIronically I ended up on linux. Windows went to crap, and I figured if I have to run a bunch of scripts to make my OS usable I may as well just use linux. Honestly, I couldn't be happier. I get so much more out of my hardware and I enjoy the experience so much more.
- bigfudge 6mo agoOn a laptop? I’m interested but have never found sleep/wake and battery life to ever remotely approach osx and a Mac.
- freedomben 6mo agoMany Lenovos and Dells work pretty well. I use a frame.work laptop and it continually gets better. It's not flawless, but personally I accept that the many benefits of using Linux will come with some tradeoffs. To me it's very worth it. Great battery life and flawless sleep/wake on my macbook weren't worth the inferior (IMHO) UX of macos. If you really care about those things, there are some good resources out there (including a good community of frame.work people).
- sosborn 6mo agoTBF - It still does "just work," The fact that it doesn't completely fit into your (and my) preferences doesn't really change that, and if that's the standard, then everything will fall short of it.
- 827a 6mo ago[dead]
- HaloZero 6mo agoHmmm, is this supposed to do something on OSX 26.3? I tried setting it to 10 and it doesn't seem to do anything? Wonder if there's something new for Tahoe.
- miketery 6mo ago$ killall ControlCenter
- swiftcoder 6mo agoIf you log out/in or reboot it will take effect. Previously killing SystemUI server was enough to restart the menu bar, but that doesn't seem to do the trick anymore.
- hagendaasalpine 6mo agowith nix-darwin you can declare that config: system.defaults.NSGlobalDomain = { NSStatusItemSpacing = 2; NSStatusItemSelectionPadding = 2; };
- zhongwei2049 6mo agoBeen using this trick for a while. It's wild that this isn't exposed in System Settings somewhere. macOS basically treats third-party menu bar apps as second-class citizens and then acts surprised when users are confused.