Hide the dock icon on macOS?
Does anyone know if there is a way to hide the dock icon for Mozilla VPN when running on macOS? Maybe a terminal command? Or do we need Mozilla to update the app to include this functionality?
Everything can be done from the menubar icon and dropdown, so there's no need for the app icon to clutter by dock and app switcher (⌘-tab)
Chosen solution
Hi there, thank you for reaching out. If you would like to hide th dock icon on your MacOS you can try the following: 1) Go to your applications folder and right click (control-click) on the app you wanna hide from the dock. 2) Click on Show contents. You should now be able to see "inside" the app's files. 3) Open the Info.plist file in the Contents folder with TextEdit (right click -> "Open with...") 4) Go to the very bottom of the file and find the last two lines which should say: </dict> </plist> Now insert this before these two lines and save the file. <key>LSUIElement</key> <true/> After this the app's dock icon will not be shown anymore. Keep in mind that you will need to use the Activity Monitor or Terminal (killall <appname>) to quit the app if you close the window. If closing the window quits the app, you can press cmd + h to hide the window. This should make your app completely invisible. To make it visible again, just remove those two lines again and the app should behave like before.
I hope this helped! Otherwise please reach out to us again.
Read this answer in context 👍 0All Replies (3)
Chosen Solution
Hi there, thank you for reaching out. If you would like to hide th dock icon on your MacOS you can try the following: 1) Go to your applications folder and right click (control-click) on the app you wanna hide from the dock. 2) Click on Show contents. You should now be able to see "inside" the app's files. 3) Open the Info.plist file in the Contents folder with TextEdit (right click -> "Open with...") 4) Go to the very bottom of the file and find the last two lines which should say: </dict> </plist> Now insert this before these two lines and save the file. <key>LSUIElement</key> <true/> After this the app's dock icon will not be shown anymore. Keep in mind that you will need to use the Activity Monitor or Terminal (killall <appname>) to quit the app if you close the window. If closing the window quits the app, you can press cmd + h to hide the window. This should make your app completely invisible. To make it visible again, just remove those two lines again and the app should behave like before.
I hope this helped! Otherwise please reach out to us again.
Thanks Mags! Adding that key to the app's plist worked perfectly. The app can be quit from the menubar, so no need to use Activity Monitor or Terminal.
Hey again! That is great news, thanks for letting us know :) Always glad if we can help, please do not hesitate to contact us directly via the VPN if you are having any other issues. Have a great week.
Modified