Hide from Dock - LSUIElement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 04:16 AM
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
- Labels:
-
AnyConnect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2022 11:12 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2022 09:18 AM
Please update AnyConnect client with this feature to run it without having it in the dock.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2022 11:57 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2022 05:58 PM
