How can I remove Skype 8's icon from the menu bar?
Question
Skype 8 does not allow to remove its icon from the menu bar in their settings anymore. How can this be done?
La solution
Since Skype 8 is an Electron app you can modify its source code. Run this command in Terminal:
LC_ALL=C sed -i '' -e "s/this._tray =/\\/\\/is._tray =/" -e "s/this._trayBaseToolTip =/return;\\/\\/yBaseToolTip =/" /Applications/Skype.app/Contents/Resources/app.asar
It will prevent the menu bar icon from being created.
Autres conseils
You could try to press and hold down your cmd key, click the icon and with your mouse button pressed down move the cursor to some part of your screen outside of the menubar. There you can drop it (release the mouse button). It should become a cloud of dust and disappear. I personally do not use Skype, but it works with every icon I have in my menubar except for notifications.
Licencié sous: CC-BY-SA avec attribution
Non affilié à apple.stackexchange