cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2874
Views
0
Helpful
4
Replies

Hide from Dock - LSUIElement

JacobvanP
Level 1
Level 1

Hi,

Previously my AnyConnect app would run as a background app on Mac, only visible in the menu bar and not in the Dock. Now it has both a dock icon and a menu bar icon. I tried to set LSUIElement to true in info.plist (according to https://developer.apple.com/documentation/bundleresources/information_property_list/lsuielement), but this doesn't change a thing.
Is there a way to hide it from the dock again and only have it be visible in the menu bar?

 

Regards,
Jacob

4 Replies 4

TheDB
Level 1
Level 1

Bump.
I also would love to only run AnyConnect in the Menu Bar and not the Dock.
We use it only for Cisco Umbrella and there is zero reason to see it in the Dock.  The OpenDNS Umbrella client does this but I am switching over to AnyConnect due to problems with OpenDNS.

astech
Level 1
Level 1

Please update AnyConnect client with this feature to run it without having it in the dock.

TheDB
Level 1
Level 1

I found a workaround.
After install, delete the file:
/Library/LaunchAgents/com.cisco.anyconnect.gui.plist

 

The Cisco Umbrella process runs separately from the GUI. Removing that PLIST file stops it from launching on Login.

It can still be run manually if needed.

Thanks but that does not work for me.