Open Jerry080801 opened 2 years ago
barhide utools
Awesome tool, @artginzburg could you also give me another example I'm running Logitech's G HUB, trying to remove the useless icon cluttering my toolbar. I can open the app using open /Applications/lghub.app
. I've tried:
MacBook-Pro:~ User$ barhide lghub
No app with this name
This is what the processes look like
barhide utools
Thank you! Extremely utilitarian tool
@ygurin for now, try using the app's bundle identifier (e.g. for Logitech G HUB Installer
, it's com.logi.ghub.installer
). Something like barhide com.logi.ghub
In the future, barhide
should be able to work with just a path to the app. Idk how did I not expect that :D
I'll also look into the search algorithm. If open -a lghub
works, then barhide lghub
should have worked too. Really strange.
Is it possible to put menubar items in Control Center?
Hi @artginzburg
If I hide one icon of the menu bar, how can I show it again?
Thx
Hi @jordikt
Just run the command again with the same arguments
I suppose I did something wrong. These are the steps I did:
1) I pasted "git clone https://github.com/artginzburg/barhide cd barhide make" directly in Terminal. A popup window said me that I had to install something like "xCode developer tools" (or something similar, I didn't note it).
2) After some minutes of downloading and installing the tools, I pasted again the previous code in terminal. Terminal returrned an error 71 of installation. This is the text from Terminal:
**Last login: Mon May 15 13:19:22 on ttys000 jordi@MacBook-MacBook-Pro-de-Jordi ~ % git clone https://github.com/artginzburg/barhide cd barhide make Cloning into 'barhide'... remote: Enumerating objects: 35, done. remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 100% (9/9), done. remote: Total 35 (delta 9), reused 9 (delta 5), pack-reused 20 Receiving objects: 100% (35/35), 9.91 KiB | 181.00 KiB/s, done. Resolving deltas: 100% (14/14), done. install barhide.sh /usr/local/bin/barhide install: /usr/local/bin/barhide: Permission denied make: * [install] Error 71 jordi@MacBook-MacBook-Pro-de-Jordi barhide %
3) After that, Terminal says that barhide doesn't exist as a command:
jordi@MacBook-MacBook-Pro-de-Jordi ~ % barhide com.bome.miditranslator.pro zsh: command not found: barhide jordi@MacBook-MacBook-Pro-de-Jordi ~ % barhide
4) If I type cd barhide and after make, it gives the same error 71
**jordi@MacBook-MacBook-Pro-de-Jordi ~ % cd barhide jordi@MacBook-MacBook-Pro-de-Jordi barhide % make install barhide.sh /usr/local/bin/barhide install: /usr/local/bin/barhide: Permission denied make: * [install] Error 71 jordi@MacBook-MacBook-Pro-de-Jordi barhide %
I am an absolute incompetent using Terminal, so... What I did wrong? How can I fix it? Thx in advance!
Seems that macOS changed something about the permissions of /usr/local/bin/
in some update, because I also can't install the script like that.
For now, it works fine with sudo make
instead of make
.
I'd also recommend to just use Homebrew (https://github.com/artginzburg/barhide#via-beer-homebrew), because it works without sudo
P.S. Are you on Apple Silicon by any chance?
Thanks, sudo make worked fine.
I am not in Apple Silicon, I am running Monterey 12.6.5 on a macbook pro retina 15' mid 2015 intel core i7.
I can hide all menu bar items, except the one I need to hide ("Bome Midi Translator Pro"). Even using the flag -f the icon is still there.
Restarting the computer makes the icon of "Bome Midi Translator Pro" to be hidden if it was shown (and shown if it was hidden).
Maybe there is a command to restart the status bar to avoid restarting the computer?
@jordikt that's a strange Java app, I had no luck just now trying.
@artginzburg @gingerbeardman
any idea of how to restart the status bar icons?
thx.
https://www.idownloadblog.com/2015/02/24/restart-frozen-menu-bar-extras-mac/
Thanks for the link. Restarting the menubar don't hide the icon, I have to restart the computer. It's weird.
MacBook-Pro:~ jerry$ barhide -hV [options] utools.app /opt/homebrew/bin/barhide: line 89: [: too many arguments No app with this name